Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiled package of igvtg-xen or patches to make it work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
marietto
n00b
n00b


Joined: 24 Aug 2020
Posts: 7

PostPosted: Mon Aug 24, 2020 8:53 pm    Post subject: compiled package of igvtg-xen or patches to make it work Reply with quote

Hello.

I would like to pass the integrated gpu from the host os to the windows 10 guest os with xen. This is because xen works great for me,better than qemu-kvm for my specific needs and because I have only two graphic cards. The nvidia rtx 2080 ti that I have already passed to the guest,and the intel UHD 630,that can be duplicated from the host to the guest so that it can be used in both places without interruptions. I'm trying to Build Qemu & Xen for XenGT on Ubuntu 20.04 following this tutorial :

https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide#332-build-qemu--xen-for-xengt

because I want to share the integrated GPU with a xen VM.

The main hardware components of my PC are the following :

CPU I9-9900k

Intel Corporation UHD Graphics 630 (Desktop 9 Series) (rev 02)

IVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)

The compilation gave no errors until this point :

root@ziomario-z390aoruspro:/etc/xen/igvtg-xen# make xen tools

......

make -C xenstore install
make[4]: ingresso nella directory «/etc/xen/igvtg-xen/tools/xenstore»
sed "s! $PWD/! !" .xs_tdb_dump.o.d >.xs_tdb_dump.o.d2.tmp && mv -f .xs_tdb_dump.o.d2.tmp .xs_tdb_dump.o.d2
sed "s! $PWD/! !" .xs_lib.o.d >.xs_lib.o.d2.tmp && mv -f .xs_lib.o.d2.tmp .xs_lib.o.d2
sed "s! $PWD/! !" .utils.o.d >.utils.o.d2.tmp && mv -f .utils.o.d2.tmp .utils.o.d2
sed "s! $PWD/! !" .xs.o.d >.xs.o.d2.tmp && mv -f .xs.o.d2.tmp .xs.o.d2
sed "s! $PWD/! !" .xs.opic.d >.xs.opic.d2.tmp && mv -f .xs.opic.d2.tmp .xs.opic.d2
sed "s! $PWD/! !" .xenstore_control.o.d >.xenstore_control.o.d2.tmp && mv -f .xenstore_control.o.d2.tmp .xenstore_control.o.d2
sed "s! $PWD/! !" .xenstore_client.o.d >.xenstore_client.o.d2.tmp && mv -f .xenstore_client.o.d2.tmp .xenstore_client.o.d2
sed "s! $PWD/! !" .talloc.o.d >.talloc.o.d2.tmp && mv -f .talloc.o.d2.tmp .talloc.o.d2
sed "s! $PWD/! !" .xs_lib.opic.d >.xs_lib.opic.d2.tmp && mv -f .xs_lib.opic.d2.tmp .xs_lib.opic.d2
sed "s! $PWD/! !" .tdb.o.d >.tdb.o.d2.tmp && mv -f .tdb.o.d2.tmp .tdb.o.d2
ln -sf libxenstore.so.3.0 libxenstore.so
gcc xs_tdb_dump.o utils.o tdb.o talloc.o -o xs_tdb_dump
/usr/bin/ld: utils.o:(.data.rel.local+0x0): multiple definition of `xprintf'; xs_tdb_dump.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:95: xs_tdb_dump] Errore 1
make[4]: uscita dalla directory «/etc/xen/igvtg-xen/tools/xenstore»
make[3]: *** [/etc/xen/igvtg-xen/tools/../tools/Rules.mk:246: subdir-install-xenstore] Errore 2
make[3]: uscita dalla directory «/etc/xen/igvtg-xen/tools»
make[2]: *** [/etc/xen/igvtg-xen/tools/../tools/Rules.mk:241: subdirs-install] Errore 2
make[2]: uscita dalla directory «/etc/xen/igvtg-xen/tools»
make[1]: *** [Makefile:74: install] Errore 2
make[1]: uscita dalla directory «/etc/xen/igvtg-xen/tools»
make: *** [Makefile:127: install-tools] Errore 2

So,since I'm stuck here and I'm not able to find someone who is able to fix that error,I would like to know if for gentoo exists the pre compiled package of igvtg-xen and the proper patches to make it work. if yes,I'm ready to start learning gentoo. thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46725
Location: 56N 3W

PostPosted: Mon Aug 24, 2020 9:37 pm    Post subject: Reply with quote

marietto,

Welcome to Gentoo ... maybe.

Gentoo provides very few compiled packages. The few that exist are mainly provided for users on older or weaker hardware.

You misunderstand Gentoo. Its not a distro like you are used to. Its a toolkit that you use to design and build your own distro.
Gentoo is the portage package manager and the ::gentoo ebuild repository. Everything else is upstream.

The repository tells the package manager what source files are required and what the dependencies are to install a package.
It then fetches all the sources and builds all the required packages in the right order with all the options you select.

Gentoo has well over a million ways (literally) to build LibreOffice. Ubuntu gives you one as a prebuilt binary.

Getting back to igvtg-xen, there is no precompiled binary and I don't see an ebuild either.

You may get help here, even though you are not a Gentoo user yet. Helpers will want to see the full build log, in English.
Please build the package with -j1, to make the log easy to read.
The log must be posted to a pastebin site as it will be too big for a post.

There may be nothing wrong with the code that requires patching, you may be using the wrong versions of build tools or incorrect compiler options.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46725
Location: 56N 3W

PostPosted: Mon Aug 24, 2020 9:39 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

Unsupported Software is a warning to Gentoo users that solutions to problems found here may not work in Gentoo.
It does not mean that you will not get support.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
marietto
n00b
n00b


Joined: 24 Aug 2020
Posts: 7

PostPosted: Tue Aug 25, 2020 8:57 am    Post subject: Reply with quote

I see that people are happy with qemu-kvm and they don't care about xen. I'm using qemu-kvm also. But for what I'm trying to do now,qemu-kvm does not work well. Infact,I would like to use two kinects 2 at the same time,on the same PC. I created two virtual machines with qemu and kvm and I realized that the kinect 2 always lose the USB 3 connection in one of them. I did the same with xen and I realized that both the USB 3 connections are stable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum