LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
 
Search this Thread
Old 11-20-2013, 01:04 PM   #1
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,403

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
3D Acceleration with Slackware 14.1 as a Linux guest.


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.
Attached Thumbnails
Click image for larger version

Name:	steam_virtualbox.jpg
Views:	52
Size:	19.2 KB
ID:	14024  

Last edited by dugan; 11-20-2013 at 07:01 PM.
 
Old 11-21-2013, 06:28 AM   #2
tty13
Member
 
Registered: Aug 2006
Distribution: Slackware64-current
Posts: 39

Rep: Reputation: 5
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
 
Old 11-21-2013, 07:01 AM   #3
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 4,508
Blog Entries: 15

Rep: Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388
Nice find.
 
Old 11-22-2013, 12:34 PM   #4
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,398

Rep: Reputation: 185Reputation: 185
I just did this - works fine!
 
Old 11-22-2013, 02:21 PM   #5
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,403

Original Poster
Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
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.

Last edited by dugan; 11-22-2013 at 02:22 PM.
 
Old 03-16-2014, 03:10 PM   #6
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,403

Original Poster
Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Quote:
Originally Posted by dugan View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VirtualBox guest additions for init 3 Slackware guest? kikinovak Slackware 2 06-04-2013 10:36 AM
Slackware guest on Linux-Vserver: patch & install script roberto967 Linux - Virtualization and Cloud 3 05-22-2013 11:29 PM
[SOLVED] Slackware 64-bit Host, Slackware 32-bit Guest, No VirutalBox Guest Additions? tronayne Slackware 4 03-24-2011 01:08 PM
USB Debugging Win host to Slackware Linux guest aneroid Linux - Virtualization and Cloud 0 12-27-2010 10:47 PM
Which virtualization software for using 3D support/acceleration on guest os attes Linux - Kernel 1 06-03-2010 03:23 PM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration