LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   3D Acceleration with Slackware 14.1 as a Linux guest. (http://www.linuxquestions.org/questions/slackware-14/3d-acceleration-with-slackware-14-1-as-a-linux-guest-4175485283/)

dugan 11-20-2013 02:04 PM

3D Acceleration with Slackware 14.1 as a Linux guest.
 
1 Attachment(s)
If you're running Slackware 14.1 (or pretty much any other up-to-date distribution) as a VirtualBox guest, you need to create a symlink in order to get 3D acceleration working.

Code:

mkdir -p /usr/lib/dri
cd /usr/lib/dri
ln -s /usr/lib/xorg/modules/dri/swrast_dri.so

(I assume that if you were using 64-bit slackware, you would put the symlink in /usr/lib64 and not /usr/lib).

This workaround was described on their forum way back in 2009:

https://forums.virtualbox.org/viewto...tart=15#p71528

You could test it with glxinfo (the vendor string should say Chromium), but it's more fun to test it with Steam. ;)

tty13 11-21-2013 07:28 AM

I had to do similar things for my multilib system ie.
Code:

rm -r /usr/lib/dri
ln -s /usr/lib64/xorg/modules/dri /usr/lib/dri


ReaperX7 11-21-2013 08:01 AM

Nice find.

mlangdn 11-22-2013 01:34 PM

I just did this - works fine!

dugan 11-22-2013 03:21 PM

I also had to add "VBoxClient --display" to my X autostart file (in my case, ~/.config/openbox/autostart) to avoid having weird resolution issues where, say, resizing the VirtualBox window would stop resizing the guest's X display.

dugan 03-16-2014 04:10 PM

Quote:

Originally Posted by dugan (Post 5069076)
I also had to add "VBoxClient --display" to my X autostart file (in my case, ~/.config/openbox/autostart) to avoid having weird resolution issues where, say, resizing the VirtualBox window would stop resizing the guest's X display.

I can't edit this post anymore, but I've found that it's better to add VBoxClient-all to rc.local.


All times are GMT -5. The time now is 06:38 AM.