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: swrastlibGL 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 trackerWhen getting libGL debug info on glxinfo:$ LIBGL_DEBUG=verbose glxinfo | grep directlibGL: screen 0 does not appear to be DRI2 capablelibGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.solibGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.solibGL: 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: YesI 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.confcat: /etc/ld.so.conf.d/nvidia-lib64.conf: No such file or directory$ cat /etc/ld.so.conf.d/nvidia-lib.confcat: /etc/ld.so.conf.d/nvidia-lib.conf: No such file or directory$ sudo yum install mesa-libglapiLoaded plugins: langpacks, refresh-packagekitPackage mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 already installed and latest versionNothing to do$ sudo yum install xorg-x11-drv-nvidia-libs.i686Loaded plugins: langpacks, refresh-packagekitNo package xorg-x11-drv-nvidia-libs.i686 available.Error: Nothing to doI 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 -aLinux 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/cpuinfomodel name      : Intel(R) Core(TM) i3-3120M CPU @ 2.50GHzEdit #1I ran sudo yum install mesa-dri-drivers and it appeared it is already installed on my system. $ sudo yum install mesa-dri-driversLoaded plugins: langpacks, refresh-packagekitDropbox                                            |  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 failedTrying 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 versionNothing to doEdit #2After executing lspci -vvv -s 00:02.0, my output was the following:# lspci -vvv -s 00:02.000: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: [90] 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-
Issues with libGL on Fedora 20 - unable to load driver swrast?
linux;fedora;drivers;graphics
Original answer provided on Ask Fedora (source)Original commentAlso, please try adding i915.modeset=1 to kernel command line when booting (you should edit Fedora line in grub and add it to the end of linux/linux16/linuxefi line in the boot config, and then press F10), and then run glxinfo when booted.Also, I'd like to know what do you see when you boot Fedora? The Fedora logo which is being filled with white color, or 3 simple bars at the bottom of screen?UpdateAs can be seen in your last glxinfo output after adding i915.modeset=1 to kernel boot command line, your graphics driver has been loaded and is working successfully. Previously, it did not load at all and you were using a generic driver.However, this is actually a bug. Kernel should have been loading i915 driver automatically. Please report a bug about this issue with sufficient data at: https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora If you don't, I can do it myself but they might need some data that I cannot provide. Thanks!Update 2To change kernel command line permanently, you can:If you don't want to run grun2-mkconfig to generate new configuration file, you should edit /boot/grub2/grub.cfg and add the command line option (the format is exactly like what you see when you edit boot entry on boot) to the Fedora menu entry items.Even if you go with the above solution, you might some day run grub2-mkconfig -o /boot/grub2/grub.cfg to create a new configuration file (which will completely overwrite /boot/grub2/grub.cfg so your changes to it will be lost). Therefore, I'd suggest to also edit /etc/default/grub and add i915.modeset=1 at the end of GRUB_CMDLINE_LINUX= line (but before the closing ); so that it'll become something like this:GRUB_CMDLINE_LINUX=vconsole.font=latarcyrheb-sun16 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rhgb quiet i915.modeset=1