Posted in Drivers, Fedora, Hardware, System

A light on graphic cards

 

Issues with graphic cards like AMD & Nvidia has been a real pain from the beginning of times.  At least to Linux.  Their privative drivers, with more or less open source alternatives don’t work in all machines, etc.  Here I’m posting some solutions found through posts in a forum and conversations with friends.  Everything worked but not all the times or to everybody. So, if something doesn’t works, try the next suggestion and so on, until you find the solution that suits you best.  If nothing works, and before you run away from Linux Fedora, please post your issue here and I’ll try to find a solution or point you out to the best places to find it.

 

Fast tip in a Gnome fresh install

If you just installed Fedora Workstation on Nvidia laptop and screen isn’t working quite well, here’s a fast tip:

Posting a tip for new install of Fedora 23 and sluggish login screen:
Specs:
Asus Z97-AR
Intel i5-4690K
Nvidia GeForce GTX 970
16GB RAM DDR3 2400
Samsung 840 SSD

I ran into an issue as soon as the PC booted to the login screen it appeared really sluggish. Moving the mouse took forever. What I found that worked for me based on a few post out there is to edit the /etc/gdm/custom.conf and uncomment the WaylandEnable=false.
Smooth sailing for me now.

Thanks to Edward Crosby for this tip.


 

Earl Ramírez had an ASUS laptop with Nvidia Optimus technology.  He tried Bumblebee but failed to succeed. Therefore, he sent an email to the Fedora list.

I have a ASUS laptop with NVIDIA Optimus technology, therefore, I used the Fedora documentation [0] to install bumbleeble using the third party managed driver to install NVIDIA. After the installation I am no longer seeing the NVIDIA when I use ‘lspci | grep VGA’; however, when I use ‘lspci | egrep ‘VGA|3D” I can see the NVIDIA video card.
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
$ lspci | egrep ‘VGA|3D’
00:02.0 VGA compatible controller: Intel Corporation Device 191b (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Also I no longer see the vgaswitcheroo under /sys/kernel/debug/. When I try to boot with the kernel that NVIDIA was build on; the laptop locks up just before the GUI and you will hear the fans blowing and the only way around it is to power the laptop down. I have tried booting into that kernel with different kernel parameters; E.g. nomodeset rd.driver.blacklist=nouveau and even i915.preliminary_hw_support=1 and all options and combinations fails.
However when I boot from the kernel that NVIDIA was not compiled on I can the the get a display that says “oops something went wrong, please try again” and there is an option to log out, I can also switch to another virtual console and have full access to the OS. I get the same behaviour even if I use nomodeset; however, if I use i915.preliminary_hw_support=1 I get the appropriate resolution.
Can anyone shed some light on how to get the GUI, with bumblebee or even the Intel graphic drivers?

 

I skip the boring details to jump into the suggested solutions.

Check the packages installed.  You should have these ones at least:

primus-1.1.03282015-2.fc23.x86_64
bumblebee-nvidia-352.63-2.fc23.x86_64
bbswitch-dkms-0.8.0-2.fc23.x86_64
bumblebee-nonfree-release-1.2-1.noarch
VirtualGL-2.4-5.fc23.i686
bumblebee-release-1.2-1.noarch
primus-1.1.03282015-2.fc23.i686
VirtualGL-2.4-5.fc23.x86_64
bumblebee-3.2.1-9.fc23.x86_64
Check the kernel.  From 4.3 and after, this kernel (in Fedora at least) comes with full skylake  i915 support (so don’t do preliminary_hw_support on that).
Be sure what is Nvidia really doing.  If Nvidia GLX libraries are loaded, they will trash your Intel stuff.
Check you’re not using the proprietary drivers at the same time.  It’s one thing or another but not both at time.  You must choose one, try, and if it doesn’t work discard it to try the next one, whether blacklisting it or deleting it.

A simple line in GRUB may save you work and time.  Try adding nouveau.modeset=0 and rd.driver.blacklist=nouveau  in the  GRUB_CMDLINE_LINUX. 

 I would like to finish this article mentioning that my laptop  (Dell Latitude E6500, with Gallium 0.4 on NV98)  worked out of the box with X when I installed Fedora 24 and flawless with Wayland after upgrading to 25, both Workstation.
 This is all by now, I will post more next week.
Thanks for reading!
Advertisements

Author:

Aviation, Aircraft & Flying. History. Programming. Writing stories. Creating beautiful images. Interacting with people.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s