LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02:04 PM   #1
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,002

Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
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 Images
File Type: jpg steam_virtualbox.jpg (19.2 KB, 52 views)

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

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, 08:01 AM   #3
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,849
Blog Entries: 15

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

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

Original Poster
Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
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 03:22 PM.
 
Old 03-16-2014, 04:10 PM   #6
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,002

Original Poster
Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
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 11:36 AM
Slackware guest on Linux-Vserver: patch & install script roberto967 Linux - Virtualization and Cloud 3 05-23-2013 12:29 AM
[SOLVED] Slackware 64-bit Host, Slackware 32-bit Guest, No VirutalBox Guest Additions? tronayne Slackware 4 03-24-2011 02:08 PM
USB Debugging Win host to Slackware Linux guest aneroid Linux - Virtualization and Cloud 0 12-27-2010 11:47 PM
Which virtualization software for using 3D support/acceleration on guest os attes Linux - Kernel 1 06-03-2010 04:23 PM


All times are GMT -5. The time now is 11:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration