LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2018, 01:09 AM   #1
djwolf
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Rep: Reputation: Disabled
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.

Last edited by djwolf; 06-24-2018 at 02:11 AM. Reason: Solved - Un-install Process
 
Old 06-14-2018, 06:44 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
would be nice to check the logs.
 
Old 06-14-2018, 11:55 AM   #3
bjrosen
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-14-2018, 12:08 PM   #4
bjrosen
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
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.
 
Old 06-16-2018, 09:52 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Is your hardware 32 or 64-bit?
 
Old 06-16-2018, 10:00 PM   #6
djwolf
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
would be nice to check the logs.
What logs should I be checking?
 
Old 06-16-2018, 10:02 PM   #7
djwolf
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
Is your hardware 32 or 64-bit?
64-bit but I have installed the necessary 32-bit libraries.
 
Old 06-17-2018, 12:31 AM   #8
djwolf
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
-Updated original post with solution
 
Old 06-24-2018, 02:12 AM   #9
djwolf
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
-updated original post with uninstall instructions for completion
 
  


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
Error running steam in Virtualbox debian guest: “libGL error: failed to load driver: swrast” jrtayloriv Linux - Software 0 04-03-2018 03:44 PM
nvidia optimus: failed to load driver: swrast (primus fatal error) orestisfra Linux - Laptop and Netbook 10 01-26-2017 07:22 PM
amd catalyst 13.12 - libGL error failed to load driver swrast Dr.Thodt Slackware 1 01-25-2014 01:35 AM
[SOLVED] Missing libGL.so.1 after changing Graphiccard - Fehlenede libGL.so.1 Bibliothek Basti890 Ubuntu 8 03-12-2013 07:30 AM
libGL error dvm SUSE / openSUSE 0 05-31-2005 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 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
Open Source Consulting | Domain Registration