LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LibGL Error On Fedora 28 (swrast) - SOLVED (https://www.linuxquestions.org/questions/linux-software-2/libgl-error-on-fedora-28-swrast-solved-4175631923/)

djwolf 06-14-2018 01:09 AM

LibGL Error On Fedora 28 (swrast) - SOLVED
 
I'm having an issue running RuneScape from flatpak on my Fedora 28 machine. It starts and then crashes almost immediately. I've looked into the LIBGL_DEBUG info and this is what I get:

Code:

libGL: OpenDriver: trying /lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /lib/dri/swrast_dri.so
libGL: Can't open configuration file /home/djwolf/.drirc: No such file or directory.
libGL: Can't open configuration file /home/djwolf/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

I have tried installing 32-bit packages from different repositories but nothing seems to work. It's also worth noting that I installed the NVidia drivers from their website directly and used the regular installer from the runlevel3. I didn't get this from rpmfusion and these are the newest version of the drivers. I reinstalled both RuneScape and the NVidia drivers multiple times. I also ensured that NVidia installed the 32-bit libraries during the installation.

This is what comes up when I run rpm -qa | egrep 'nvidia|xorg' | sort:
Code:

abrt-addon-xorg-2.10.10-1.fc28.x86_64
dkms-nvidia-396.24-1.fc28.x86_64
nvidia-driver-396.24-1.fc28.x86_64
nvidia-driver-libs-396.24-1.fc28.i686
nvidia-driver-libs-396.24-1.fc28.x86_64
nvidia-libXNVCtrl-396.24-1.fc28.x86_64
nvidia-settings-396.24-1.fc28.x86_64
xorg-x11-drv-ati-18.0.1-1.fc28.x86_64
xorg-x11-drv-evdev-2.10.6-1.fc28.x86_64
xorg-x11-drv-fbdev-0.4.3-29.fc28.x86_64
xorg-x11-drv-intel-2.99.917-32.20171025.fc28.x86_64
xorg-x11-drv-libinput-0.27.1-2.fc28.x86_64
xorg-x11-drv-openchrome-0.6.0-4.fc28.x86_64
xorg-x11-drv-qxl-0.1.5-6.fc28.x86_64
xorg-x11-drv-vesa-2.4.0-2.fc28.x86_64
xorg-x11-drv-vmware-13.2.1-5.fc28.x86_64
xorg-x11-drv-wacom-0.36.1-2.fc28.x86_64
xorg-x11-drv-wacom-serial-support-0.36.1-2.fc28.x86_64
xorg-x11-fonts-Type1-7.5-19.fc28.noarch
xorg-x11-font-utils-7.5-38.fc28.x86_64
xorg-x11-server-common-1.19.6-8.fc28.x86_64
xorg-x11-server-utils-7.7-24.fc28.x86_64
xorg-x11-server-Xorg-1.19.6-8.fc28.x86_64
xorg-x11-server-Xwayland-1.19.6-8.fc28.x86_64
xorg-x11-utils-7.5-28.fc28.x86_64
xorg-x11-xauth-1.0.9-11.fc28.x86_64
xorg-x11-xinit-1.3.4-18.fc28.x86_64
xorg-x11-xkb-utils-7.7-25.fc28.x86_64

Here's the rundown for the specs:
Code:

uname -r
4.16.14-300.fc28.x86_64

Code:

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)

Code:

lspci -vn | grep VGA
01:00.0 0300: 10de:11c0 (rev a1) (prog-if 00 [VGA controller])


I also tried adding this to the kernel command line and it did nothing:
Code:

i915.modeset=1
Google has failed me and I'm at a complete loss so if anyone has any info, I would really appreciate it.

Thanks - djwolf


UPDATE-SOLVED: The issue had nothing to do with the Nvidia drivers at all. The issue was the version of the NXT client that was being provided by Flatpak. I followed this reddit tutorial to install the officially supported client made for Ubuntu on Fedora: https://www.reddit.com/r/runescape/c..._on_fedora_25/

There's only a few problems with that reddit tutorial that I will address right here. The first issue is that the tutorial points to a "data.tar.gz", when it's actually a "data.tar.xz". Also the webkitgtk package isn't in the repos for some reason, but I tried launching the client without this package and it worked just fine, there's actually no need for it. Next, when the tutorial points to a "ln -s /lib64/libGLEW.so.1.13" you should replace that with the version YOU have installed. Finally, at the very end, when it points to a "wget" and an "ar x" command, you will need to replace the "2.2.2" with the current version of the NXT client which can be found right here under recent client updates: https://www.runescape.com/download

UPDATE-UNINSTALL INSTRUCTIONS: I wanted to update this for completion. I've recently decided to grab a new hard drive and I now have a windows drive specifically for gaming. Unfortunately, because of the way the RS-Launcher was installed in this instance, uninstalling it isn't as easy as just removing a package. In order to uninstall this, you will need to find that data.tar.xz file used to create the data in the first place. Run this tar command on that file:
Code:

tar -tvf data.tar.xz
This will give you all of the contents that the application needed to run. You will need to go through and delete the files and directories associated with that tar file.
IMPORTANT: DO NOT DELETE THE DIRECTORIES UNLESS THEY HAVE "RUNESCAPE" IN THE NAME. DELETING ANOTHER DIRECTORY MAY CAUSE SYSTEM DAMAGE!
Once you're done removing all the files and directories associated with RS, you can safely delete the "data.tar.xz" file.

Thank you so much to the people that helped me through this.

pan64 06-14-2018 06:44 AM

would be nice to check the logs.

bjrosen 06-14-2018 11:55 AM

I've been having the same problem with Quartus Pro 18.0

quartus: /usr/local/tools/Quartus_pro_18.0/quartus/linux64/liblzma.so.5: no version information available (required by /usr/lib64/libsystemd.so.0)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Has anyone figured out where to get this driver on Fedora 28, everything was fine with Fedora 27.

bjrosen 06-14-2018 12:08 PM

I've submitted a bug to Fedora.

https://bugzilla.redhat.com/show_bug.cgi?id=1591424

Please add your information to the bug, that will help to encourage them to solve it.

AwesomeMachine 06-16-2018 09:52 AM

Is your hardware 32 or 64-bit?

djwolf 06-16-2018 10:00 PM

Quote:

Originally Posted by pan64 (Post 5867505)
would be nice to check the logs.

What logs should I be checking?

djwolf 06-16-2018 10:02 PM

Quote:

Originally Posted by AwesomeMachine (Post 5868303)
Is your hardware 32 or 64-bit?

64-bit but I have installed the necessary 32-bit libraries.

djwolf 06-17-2018 12:31 AM

-Updated original post with solution

djwolf 06-24-2018 02:12 AM

-updated original post with uninstall instructions for completion


All times are GMT -5. The time now is 07:08 PM.