Page 1 of 1
Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 11:30
by sej7278
I'm trying to get 3D acceleration to work on Fedora 14 (or 13, or Ubuntu 9.10) and whilst glxgears works, Compiz doesn't detect 3D hardware. This is 3.2.10 PUEL and 4.0.0 OSE from SVN.
I don't think I've ever seen working 3D so was just wondering if like 2D its not supposed to work under Linux guests, but there's just no warning message?
Are there weird fudges other than installing guest additions and enabling the option that you have to do to get 3D to work?
Are we ever going to see accelerated 2D, or is there some fundamental reason why that will never work?
I've used 2D/3D on Win7 guests, its not great performance-wise (you won't be playing Crysis anytime soon) but it lets you enable Aero at least.
Re: Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 13:27
by loukingjr
sej7278 wrote:I'm trying to get 3D acceleration to work on Fedora 14 (or 13, or Ubuntu 9.10) and whilst glxgears works, Compiz doesn't detect 3D hardware. This is 3.2.10 PUEL and 4.0.0 OSE from SVN.
I don't think I've ever seen working 3D so was just wondering if like 2D its not supposed to work under Linux guests, but there's just no warning message?
Are there weird fudges other than installing guest additions and enabling the option that you have to do to get 3D to work?
Are we ever going to see accelerated 2D, or is there some fundamental reason why that will never work?
I've used 2D/3D on Win7 guests, its not great performance-wise (you won't be playing Crysis anytime soon) but it lets you enable Aero at least.
For what it's worth. Compiz does work in Ubuntu 10.10 on a Mac host. 1 out of 50 isn't too bad.

Re: Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 15:33
by sej7278
loukingjr wrote:For what it's worth. Compiz does work in Ubuntu 10.10 on a Mac host. 1 out of 50 isn't too bad.

looking at the other threads, that's about the only thing that works on 10.10 under virtualbox then!
so how do we get it to work on fedora i wonder.....?
Re: Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 20:47
by loukingjr
sej7278 wrote:loukingjr wrote:For what it's worth. Compiz does work in Ubuntu 10.10 on a Mac host. 1 out of 50 isn't too bad.

looking at the other threads, that's about the only thing that works on 10.10 under virtualbox then!
so how do we get it to work on fedora i wonder.....?
well, I asked about Fedora 14 and was told to be patient. I assume that means they are working on a fix.
Re: Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 21:08
by Perryg
Ubuntu-10.10 guest works with Compiz in PUEL-3.2.10 (see screen shot) I will try F-14 as soon as I get finished running a compile.

- U1010-Compiz-VB3.2.10.jpg (119.63 KiB) Viewed 3787 times
Re: Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 21:22
by fixedwheel
sej7278 wrote:I'm trying to get 3D acceleration to work on Fedora 14 (or 13, or Ubuntu 9.10) and whilst glxgears works, Compiz doesn't detect 3D hardware.
Compiz is running here (host: Debian Squeeze, 3.2.10 PUEL) on Fedora 13, Ubuntu 10.04 9.10 (did not yet install newest Fedora and Ubuntu) - as well as OpenGL Screensavers on Ubuntu. When someone gives me a hint what package to install for OpenGL screensaver on Fedora i can try this too.
What graphic hardware do you use?
Re: Is 3D suppposed to work on Linux guests?
Posted: 5. Nov 2010, 21:55
by fixedwheel
after installing and removing (they messed up the Gnome default screensaver) some OpenGL screensaver packages on Fedora 13 things are gone worse: doesn't detect 3D hardware ... Compiz won't run anymore.
extremetuxracer runs on Ubuntu
(except for the mouse is not working)
Re: Is 3D suppposed to work on Linux guests?
Posted: 6. Nov 2010, 00:29
by loukingjr
Compiz works great in Ubuntu 10.10 and since this morning, Linux Mint 10rc...
Ubuntu 10.10 is actually the first time I've seen Compiz at work. And I've installed 30-40 guests.
Ever wonder how much time people spend spinning desktop cubes and wobbling windows?

Re: Is 3D suppposed to work on Linux guests?
Posted: 6. Nov 2010, 02:14
by Perryg
Ok Fedora 14 seems to not like something if you try to activate effects. I am thinking about posting a ticket to bugtracker but from what I see it is in Fedora.
The crash happens in a Fedora module. Anyway I will post more here when I have it all together.
Code: Select all
[New Thread 2067]
Core was generated by `desktop-effects'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000781101 in ?? ()
Thread 1 (Thread 2067):
#0 0x0000000000781101 in ?? ()
No symbol table info available.
#1 0x0000000400000001 in ?? ()
No symbol table info available.
#2 0x00007f1ba92e0830 in ?? ()
No symbol table info available.
#3 0x00007f1ba92e4f81 in ?? ()
No symbol table info available.
#4 0x0000000023204945 in ?? ()
No symbol table info available.
#5 0x000000000216e800 in ?? ()
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
From To Syms Read Shared Object Library
0x00007fefd79a3b10 0x00007fefd79bfdb8 Yes /usr/lib64/libgconf-2.so.4
0x00007fefd77442e0 0x00007fefd77700d8 Yes /usr/lib64/libGL.so.1
0x00007fefd7513390 0x00007fefd751e0e8 Yes /usr/lib64/libglade-2.0.so.0
0x00007fefd6ef9d90 0x00007fefd71a2968 Yes /usr/lib64/libgtk-x11-2.0.so.0
0x00007fefd6b699a0 0x00007fefd6c47728 Yes /usr/lib64/libxml2.so.2
0x00007fefd689cfd0 0x00007fefd69004c8 Yes /usr/lib64/libgdk-x11-2.0.so.0
0x00007fefd66676b0 0x00007fefd66731d8 Yes /usr/lib64/libatk-1.0.so.0
0x00007fefd63736d0 0x00007fefd64119c8 Yes /lib64/libgio-2.0.so.0
0x00007fefd6128410 0x00007fefd61439c8 Yes /usr/lib64/libpangoft2-1.0.so.0
0x00007fefd5f059b0 0x00007fefd5f198b8 Yes /usr/lib64/libgdk_pixbuf-2.0.so.0
0x00007fefd5cf8980 0x00007fefd5cfd4a8 Yes /usr/lib64/libpangocairo-1.0.so.0
0x00007fefd5a52f20 0x00007fefd5accd08 Yes /usr/lib64/libcairo.so.2
0x00007fefd580be20 0x00007fefd582a538 Yes /usr/lib64/libpango-1.0.so.0
0x00007fefd5574730 0x00007fefd55d62e8 Yes /usr/lib64/libfreetype.so.6
0x00007fefd5337c80 0x00007fefd5351ec8 Yes /usr/lib64/libfontconfig.so.1
0x00007fefd50ed850 0x00007fefd511e2c8 Yes /lib64/libgobject-2.0.so.0
0x00007fefd4ee1fe0 0x00007fefd4ee2f48 Yes /lib64/libgmodule-2.0.so.0
0x00007fefd4cde560 0x00007fefd4cdf9c8 Yes /lib64/libgthread-2.0.so.0
0x00007fefd4ad6190 0x00007fefd4ad97c8 Yes /lib64/librt.so.1
0x00007fefd47e35b0 0x00007fefd4870de8 Yes /lib64/libglib-2.0.so.0
0x00007fefd45cbb40 0x00007fefd45cc918 Yes /usr/lib64/libXcomposite.so.1
0x00007fefd43c7370 0x00007fefd43ca188 Yes /usr/lib64/libXfixes.so.3
0x00007fefd40a4f20 0x00007fefd4132ef8 Yes /usr/lib64/libX11.so.6
0x00007fefd3e6f680 0x00007fefd3e7b048 Yes /lib64/libpthread.so.0
0x00007fefd3ae4b60 0x00007fefd3c0f91c Yes /lib64/libc.so.6
0x00007fefd387da70 0x00007fefd38a18e8 Yes /usr/lib64/libORBit-2.so.0
0x00007fefd3647460 0x00007fefd3652488 Yes /usr/lib64/libXext.so.6
0x00007fefd3442a90 0x00007fefd3443648 Yes /usr/lib64/libXdamage.so.1
0x00007fefd323de30 0x00007fefd3240d08 Yes /usr/lib64/libXxf86vm.so.1
0x00007fefd3034f90 0x00007fefd3039a78 Yes /usr/lib64/libdrm.so.2
0x00007fefd2e2ede0 0x00007fefd2e2f988 Yes /lib64/libdl.so.2
0x00007fefd2b7ed40 0x00007fefd2bea336 Yes /usr/lib64/libstdc++.so.6
0x00007fefd28a5ef0 0x00007fefd28e67a8 Yes /lib64/libm.so.6
0x00007fefd268f8f0 0x00007fefd269f2b8 Yes /lib64/libgcc_s.so.1
0x00007fefd2477e70 0x00007fefd2484678 Yes /lib64/libz.so.1
0x00007fefd226d8c0 0x00007fefd2273f48 Yes /usr/lib64/libXrender.so.1
0x00007fefd206aa20 0x00007fefd206b508 Yes /usr/lib64/libXinerama.so.1
0x00007fefd1e5cee0 0x00007fefd1e679e8 Yes /usr/lib64/libXi.so.6
0x00007fefd1c54720 0x00007fefd1c59828 Yes /usr/lib64/libXrandr.so.2
0x00007fefd1a4b880 0x00007fefd1a50688 Yes /usr/lib64/libXcursor.so.1
0x00007fefd18318c0 0x00007fefd1841498 Yes /lib64/libresolv.so.2
0x00007fefd1614640 0x00007fefd1624758 Yes /lib64/libselinux.so.1
0x00007fefd13ed830 0x00007fefd14077a8 Yes /usr/lib64/libpng12.so.0
0x00007fefd118f270 0x00007fefd11da788 Yes /usr/lib64/libpixman-1.so.0
0x00007fefd0f63b70 0x00007fefd0f7ca08 Yes /lib64/libexpat.so.1
0x00007fefd7bd2b10 0x00007fefd7bead84 Yes /lib64/ld-linux-x86-64.so.2
0x00007fefd0d4d660 0x00007fefd0d58df8 Yes /usr/lib64/libxcb.so.1
0x00007fefd0b42dd0 0x00007fefd0b43b68 Yes /usr/lib64/libXau.so.6
0x00007fefcaaa60d0 0x00007fefcaaad358 Yes /lib64/libnss_files.so.2
0x00007fefca87cbc0 0x00007fefca89e818 Yes /usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so
0x00007fefca677690 0x00007fefca677e88 Yes /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so
0x00007fefca45d040 0x00007fefca46d788 Yes /usr/lib64/libdbus-glib-1.so.2
0x00007fefca2166d0 0x00007fefca23fdd8 Yes /lib64/libdbus-1.so.3
0x00007fefca00bfc0 0x00007fefca00deb8 Yes /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
0x00007fefc9e07c70 0x00007fefc9e09088 Yes /usr/lib64/libcanberra-gtk.so.0
0x00007fefc9bf9280 0x00007fefc9c02388 Yes /usr/lib64/libcanberra.so.0
0x00007fefc99f0fa0 0x00007fefc99f4f88 Yes /usr/lib64/libvorbisfile.so.3
0x00007fefc97c6700 0x00007fefc97dd158 Yes /usr/lib64/libvorbis.so.0
0x00007fefc95bf8a0 0x00007fefc95c1bb8 Yes /usr/lib64/libogg.so.0
0x00007fefc93b1e30 0x00007fefc93b9ca8 Yes /usr/lib64/libtdb.so.1
0x00007fefc91a9360 0x00007fefc91ad748 Yes /usr/lib64/libltdl.so.7
0x00007fefd7c61e30 0x00007fefd7c90958 Yes (*) /usr/lib64/dri/vboxvideo_dri.so
0x00007fefc90830d0 0x00007fefc9095388 Yes (*) /usr/lib64/VBoxOGLcrutil.so
0x00007fefc8e0fd90 0x00007fefc8f122c8 Yes (*) /usr/lib64/VBoxOGLpackspu.so
0x00007fefc8ce26e0 0x00007fefc8ce7e18 Yes (*) /usr/lib64/VBoxOGLerrorspu.so
0x00007fefc85a6920 0x00007fefc8617838 Yes (*) /usr/lib64/VBoxOGLfeedbackspu.so
0x00007fefc848e660 0x00007fefc84928a8 Yes (*) /usr/lib64/VBoxOGLpassthroughspu.so
0x00007fefc7ed9c20 0x00007fefc802b7e8 Yes /usr/lib64/dri/swrast_dri.so
0x00007fefc7cae870 0x00007fefc7cb4a18 Yes /usr/lib64/libtalloc.so.2
(*): Shared library is missing debugging information.
$1 = 0x0
$2 = 0x0
rax 0x69e1 27105
rbx 0x21cd800 35444736
rcx 0x0 0
rdx 0x7fefd3e651d8 140668028998104
rsi 0x0 0
rdi 0x7fefd3e65180 140668028998016
rbp 0x216e800 0x216e800
rsp 0x7fff0ce3abd8 0x7fff0ce3abd8
r8 0x1 1
r9 0x8e 142
r10 0x1 1
r11 0x1 1
r12 0x7fff0ce3abc8 140733409635272
r13 0x7fefd7748771 140668088649585
r14 0x8 8
r15 0x0 0
rip 0x781101 0x781101
eflags 0x10216 [ PF AF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
No function contains program counter for selected frame.
Re: Is 3D suppposed to work on Linux guests?
Posted: 6. Nov 2010, 02:49
by loukingjr
I don't suppose while you are at it you would look into why Sabayon 5.4 and any PCLinuxOS with Compiz won't work either?
Re: Is 3D suppposed to work on Linux guests?
Posted: 6. Nov 2010, 03:38
by Perryg
loukingjr wrote:I don't suppose while you are at it you would look into why Sabayon 5.4 and any PCLinuxOS with Compiz won't work either?
Sure but it is on the list and we know about those. Really I will be getting to them as soon as I can.
Re: Is 3D suppposed to work on Linux guests?
Posted: 6. Nov 2010, 04:41
by loukingjr
Perryg wrote:loukingjr wrote:I don't suppose while you are at it you would look into why Sabayon 5.4 and any PCLinuxOS with Compiz won't work either?
Sure but it is on the list and we know about those. Really I will be getting to them as soon as I can.
ok, thanks. I don't mean to be a pest but sometimes it's hard to tell if it's some incompatibility or I screwed something up.
