Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with X in virtualbox [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
huva
n00b
n00b


Joined: 23 Oct 2016
Posts: 11

PostPosted: Sun Jun 18, 2017 2:16 am    Post subject: Problems with X in virtualbox [SOLVED] Reply with quote

Hi all,

Hoping someone can lend me a hand on getting my virtual gentoo machine back to normal. I am running into issues when trying to play back video with mpv. Error as follows:

Code:
(+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=eng (*) (opus)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[vo/opengl/x11] X11 error: BadValue (integer parameter out of range for operation)
[vo/opengl/x11] Type: 0, display: 0x7f1cc8005440, resourceid: 0, serial: 45
[vo/opengl/x11] Error code: 2, request code: 99, minor code: 3
[vo/opengl/x11] X11 error: GLXBadContext
[vo/opengl/x11] Type: 0, display: 0x7f1cc8005440, resourceid: 1800003, serial: 46
[vo/opengl/x11] Error code: a7, request code: 99, minor code: 5
[vo/opengl/x11] X11 error: 0
[vo/opengl/x11] Type: 0, display: 0x7f1cc8005440, resourceid: 0, serial: 46
[vo/opengl/x11] Error code: 0, request code: 99, minor code: 1a
[vo/opengl] Could not set GLX context!



Error when I run glxgears:

Code:
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  35
  Current serial number in output stream:  37


I didn't do anything specific with X. I just remember attempting to install the Padre IDE, it had failed and didn't attempt to install it again after that. And then started noticing X issues as noted above a short while later, probably not related but figured to mention it. So far my troubleshooting steps have involved upgrading xf86 packages to later/latest versions and previous ones with same results along with earlier/later releases of the virtual box software on win10. The problems seems to be consistent across any combo of things I have been trying.

Below is what I have installed at the moment:
Win10: VirtualBox 5.1.22

Gentoo:
x11-drivers/xf86-video-virtualbox-5.0.32
x11-drivers/xf86-input-evdev-2.10.5
x11-drivers/xf86-input-synaptics-1.9.0
x11-drivers/xf86-video-intel-2.99.917_p20170313


If any guidance, it would be appreciated. Thanks.

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by huva on Tue Jun 20, 2017 4:47 am; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6308
Location: /usr/lib64/lv2

PostPosted: Sun Jun 18, 2017 7:32 pm    Post subject: Reply with quote

I don't know if this will help you, but I install virtualbox-guest-additions on my guests to make sure everything works well.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
huva
n00b
n00b


Joined: 23 Oct 2016
Posts: 11

PostPosted: Mon Jun 19, 2017 7:40 pm    Post subject: Reply with quote

Hi,

I do already have that installed.

Thanks for the suggestion.
Back to top
View user's profile Send private message
huva
n00b
n00b


Joined: 23 Oct 2016
Posts: 11

PostPosted: Mon Jun 19, 2017 7:44 pm    Post subject: Reply with quote

Just to add I can bring up other GUI apps fine and play a youtube video using chrome. For now I will try to rebuild mpv.
Back to top
View user's profile Send private message
huva
n00b
n00b


Joined: 23 Oct 2016
Posts: 11

PostPosted: Tue Jun 20, 2017 4:47 am    Post subject: Reply with quote

I'm back in business finally, found I needed to rebuild libstdc++.so.6


Code:

revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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