Firstly, before I explain my problem, I have referred to the question previously asked on Ask.Fedora about the libGL error, which can be seen here.
I have been trying to play the game "FTL - Faster Than Light", and I have been running into problems where the graphics perform extraordinarily poorly, and the sound keeps turning into a strange buzzing sound. Upon looking further, I noticed that my Terminal outputted the following message during the game's launch.
libGL error: failed to load driver: swrast libGL error: Try again with LIBGL_DEBUG=verbose for more details.
After doing some further research, it would appear that this issue has affected multiple people on numerous distributions of Linux, all with different solutions. Below, I have provided as much information as I can to help diagnose my specific issue.
This also seems to be similar to Bug 971437 on the Red Hat bug tracker
When getting libGL debug info on glxinfo:
$ LIBGL_DEBUG=verbose glxinfo | grep direct libGL: screen 0 does not appear to be DRI2 capable libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so libGL: Can't open configuration file /home/jflory/.drirc: No such file or directory. libGL: Can't open configuration file /home/jflory/.drirc: No such file or directory. direct rendering: Yes
I have a feeling there is some sort of issue with my graphics card, because I am VERY new to Linux and I'm unsure about what I may need to properly be able to run games. Below, I have some of the numerous packages I have tried to install during this process.
$ cat /etc/ld.so.conf.d/nvidia-lib64.conf cat: /etc/ld.so.conf.d/nvidia-lib64.conf: No such file or directory $ cat /etc/ld.so.conf.d/nvidia-lib.conf cat: /etc/ld.so.conf.d/nvidia-lib.conf: No such file or directory $ sudo yum install mesa-libglapi Loaded plugins: langpacks, refresh-packagekit Package mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 already installed and latest version Nothing to do $ sudo yum install xorg-x11-drv-nvidia-libs.i686 Loaded plugins: langpacks, refresh-packagekit No package xorg-x11-drv-nvidia-libs.i686 available. Error: Nothing to do
I have installed a few more things across the course of the night, but none of them seemed to have done any good, so I don't think they are relevant.
If any more information is needed, please let me know and I will provide. As a reminder, I am very new to Linux in general and I am still learning, so I am not the most familiar with all the different UNIX operations I am able to do.
Here's a quick rundown of my system specs:
$ uname -a Linux localhost.localdomain 3.12.5-302.fc20.x86_64 #1 SMP Tue Dec 17 20:42:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ grep "model name" /proc/cpuinfo model name : Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz
sudo yum install mesa-dri-drivers and it appeared it is already installed on my system.
$ sudo yum install mesa-dri-drivers Loaded plugins: langpacks, refresh-packagekit Dropbox | 951 B 00:00 google-chrome | 951 B 00:00 updates/20/x86_64/metalink | 18 kB 00:00 updates | 4.6 kB 00:00 updates/20/x86_64/primary_db | 3.0 MB 00:06 updates/20/x86_64/updateinfo FAILED ftp://mirror.nexicom.net/pub/fedora/linux/updates/20/x86_64/repodata/updateinfo.xml.gz: [Errno 14] curl#56 - "response reading failed" Trying other mirror. (1/2): updates/20/x86_64/updateinfo | 309 kB 00:01 (2/2): updates/20/x86_64/pkgtags | 755 kB 00:23 Package mesa-dri-drivers-9.2.5-1.20131220.fc20.x86_64 already installed and latest version Nothing to do
lspci -vvv -s 00:02.0, my output was the following:
# lspci -vvv -s 00:02.0 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Toshiba America Info Systems Device fa20 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 16 Region 0: Memory at c8000000 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at c0000000 (64-bit, prefetchable) [size=128M] Region 4: I/O ports at 4000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities:  MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP-