LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Issue with video drivers (https://www.linuxquestions.org/questions/linux-games-33/issue-with-video-drivers-4175684674/)

Mberg18 11-04-2020 01:06 AM

Issue with video drivers
 
Hi All,

I'm a fairly new linux user but I'm already learning lots. I have Lubuntu 20.04 installed on an old laptop which works great for basic tasks and even some games. I've been trying to load one particular game but I get the following errors:

libGL error: MESA-LOADER: failed to open r600 (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open r600 (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/i386-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Got Doublebuffered Visual!
glX-Version 1.4
X Error of failed request: GLXBadContext
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 47
Current serial number in output stream: 46

I have searched many forums and tried a few things like installing MESA Utils. Glxgears works totally fine and I have no issues with my integrated graphics card (Radeon HD 7500G I believe) with other applications.

Any ideas from the wizards out there? I have reached my limit with copying random bits of text into the terminal and seeing what happens, so any help is really appreciated!

mrmazda 11-04-2020 11:28 PM

Please provide inxi input/output wrapped in code tags:
Code:

inxi -GSIMay
Inxi provides information about hardware and software helpful to those trying to help with video issues. Likely you have an old 3.0.x version and will need to update or install inxi from upstream ('inxi -U' if your version doesn't have the U switch disabled) for the ay switch to be supported. Old inxi versions (more than a few months) are missing a lot that the latest releases support. Inxi is an information gathering and formatting script.

Mberg18 11-05-2020 02:23 AM

Thanks for the reply! I wasn't aware of inxi, but it seems very handy! This is what I get:

Code:

elliott@elliott-pc:~$ inxi -GSIMay
Error 10: Unsupported value: 0 for option: y
Check -h for correct parameters.
elliott@elliott-pc:~$ inxi -GSIMa
System:    Host: elliott-pc Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
          parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=859582c1-839b-48c3-b380-a35b3f9da8f4 ro quiet
          splash vt.handoff=7
          Desktop: LXQt 0.14.1 info: lxqt-panel wm: Openbox 3.6.1 dm: SDDM Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
Machine:  Type: Laptop System: SAMSUNG product: 535U3C v: P07RAG serial: <superuser/root required> Chassis: type: 9
          serial: <superuser/root required>
          Mobo: SAMSUNG model: SAMSUNG_NP1234567890 v: SEC_SW_REVISION_1234567890ABCD serial: <superuser/root required>
          BIOS: American Megatrends v: P07RAG.N53.130403.LEO date: 04/03/2013
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7500G] vendor: Samsung Co driver: radeon v: kernel
          bus ID: 00:01.0 chip ID: 1002:990a
          Display: x11 server: X.Org 1.20.8 driver: radeon FAILED: ati unloaded: fbdev,modesetting,vesa
          resolution: 1366x768~60Hz
          OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 5.4.0-52-generic LLVM 11.0.0) v: 4.3 Mesa 20.2.1 - kisak-mesa PPA
          compat-v: 3.1 direct render: Yes
Info:      Processes: 199 Uptime: 55m Memory: 7.25 GiB used: 1.19 GiB (16.4%) Init: systemd v: 245 runlevel: 5 Compilers:
          gcc: 9.3.0 alt: 8/9 Shell: bash v: 5.0.17 running in: qterminal inxi: 3.0.38


Quote:

Originally Posted by mrmazda (Post 6181964)
Please provide inxi input/output wrapped in code tags:
Code:

inxi -GSIMay
Inxi provides information about hardware and software helpful to those trying to help with video issues. Likely you have an old 3.0.x version and will need to update or install inxi from upstream ('inxi -U' if your version doesn't have the U switch disabled) for the ay switch to be supported. Old inxi versions (more than a few months) are missing a lot that the latest releases support. Inxi is an information gathering and formatting script.


mrmazda 11-06-2020 11:36 AM

I got so caught up in suggesting upgrade of inxi I forgot to request Xorg.0.log. Its traditional location is in /var/log/, but on some installations can be found in ~/.local/share/xorg/. Please either use the pastebinit command to upload it and paste the resulting URL here, or goto https://pastebin.com/ or https://paste.ubuntu.com/ or other equivalent text file sharing site to upload it.

Then, remove the Radeon DDX driver:
Code:

sudo apt purge xserver-xorg-video-ati xserver-xorg-video-radeon
Some background on this process is described in this primer. Once this is done, next X startup will be running on the upstream default DDX driver instead of the Radeon. If this helps, you should be done. If it doesn't, please upload the new Xorg.0.log and report back.

mrmazda 11-06-2020 03:32 PM

I wonder if yours could be related to an issue reported against openSUSE? Not every "stable" update is as stable as developers want you to believe.

ondoho 11-06-2020 03:52 PM

Quote:

Originally Posted by Mberg18 (Post 6181602)
swrast

Isn't that a Windows thing?

Mberg18 11-07-2020 12:51 PM

Radeon DDX driver removed
 
Thanks for the suggestion. It definitely removed the radeon bits, but still the same symptom when I try running the game. The first log file and the second log file might tell you more than they were able to tell me.


Quote:

Originally Posted by mrmazda (Post 6182519)
I got so caught up in suggesting upgrade of inxi I forgot to request Xorg.0.log. Its traditional location is in /var/log/, but on some installations can be found in ~/.local/share/xorg/. Please either use the pastebinit command to upload it and paste the resulting URL here, or goto https://pastebin.com/ or https://paste.ubuntu.com/ or other equivalent text file sharing site to upload it.

Then, remove the Radeon DDX driver:
Code:

sudo apt purge xserver-xorg-video-ati xserver-xorg-video-radeon
Some background on this process is described in this primer. Once this is done, next X startup will be running on the upstream default DDX driver instead of the Radeon. If this helps, you should be done. If it doesn't, please upload the new Xorg.0.log and report back.


mrmazda 11-09-2020 02:56 AM

I recognize nothing in those logs indicating any problem of consequence. The only thing I can think to suggest is to find wherever users of that game hang out and ask there.

obobskivich 11-10-2020 12:29 AM

What game are you trying to run specifically? Is this a native linux game or are you trying to run something in emulation?


All times are GMT -5. The time now is 01:38 PM.