Geforce graphics drivers

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

smbostan
Baby Hen
Posts: 9
Joined: Thu Feb 12, 2015 5:05

Re: Geforce graphics drivers

Post by smbostan » Fri Feb 13, 2015 17:11

Hello,

As a Geforce GT 220M user, my computer also crashed after the latest update. I masked the new 346.35 Nvidia Drivers and installed 340.76, but I still have a similar problem: I cannot access GUI. Everything else seems to be working fine though.

modprobe nvidia returns this error:

Code: Select all

nvidia: 'VIDEOGID' invalid argument for parameter 'NVreg_DeviceFileGID'
modprobe: ERROR: could not insert 'nvidia' : invalid argument 
I am having this problem with kernel 3.10, 3.15 and 3.18. I reinstalled the whole system (that's what a newbie do =)) but when update the system I get this error.

I'd appreciate any suggestions.

smbostan
Baby Hen
Posts: 9
Joined: Thu Feb 12, 2015 5:05

Re: Geforce graphics drivers

Post by smbostan » Fri Feb 13, 2015 18:31

After commenting out

Code: Select all

NVreg_DeviceFileGID=VIDEOGID
option from /etc/modprobe.d/nvidia.conf, I am able to access GUI. I'm still wondering why this error occured but things seem to be working fine now.


Edit:

I uncommented out this again:

Code: Select all

NVreg_DeviceFileGID=VIDEOGID
and changed it to :

Code: Select all

NVreg_DeviceFileGID=33
Which made my GUI more stable.
Last edited by smbostan on Thu Mar 05, 2015 1:45, edited 1 time in total.

Stupot
Sagely Hen
Posts: 1819
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Geforce graphics drivers

Post by Stupot » Sun Feb 22, 2015 0:42

I just ran into this whole issue. I had to switch down to the 340 drivers and I also had to remove NVreg_DeviceFileGID=VIDEOGID from /etc/modprobe.d/nvidia.conf, but now I'm back up and running.

joost
Sagely Hen
Posts: 2819
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: Geforce graphics drivers

Post by joost » Thu Mar 05, 2015 14:47

Same here using:

Code: Select all

sabayon joost # lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
Using driver version 346.35 -> infinite loop noting I could do to stop it.
I booted my system with gentoo=nox and modprobe.blacklist=nvidia and downgraded to driver version 340.76

Using driver version 340.76 -> Blank screen. Looking in Xorg logs and dmesg I got hints about unable to load the kernel module. hint : VIDEOGID

To resolve this I also removed NVreg_DeviceFileGID=VIDEOGID from /etc/modprobe.d/nvidia.conf

:roll:
My blog | Mastodon | Please support Sabayon: Become a Patron

Stupot
Sagely Hen
Posts: 1819
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Geforce graphics drivers

Post by Stupot » Wed Mar 11, 2015 5:23

If you simply remove NVreg_DeviceFileGID=VIDEOGID from /etc/modprobe.d/nvidia.conf, you will be breaking direct rendering for your users (but not root). This means games running in steam won't be using direct rendering which is quite bad.

The solution is to set it correctly.

Get your video GID from this:

Code: Select all

$ getent group  video sys | cut -d: -f3
Mine was 27. I then put NVreg_DeviceFileGID=27 in /etc/modprobe.d/nvidia.conf and direct rendering works again for users.

Everybody who ran into this issue should do this.
Last edited by Stupot on Tue Apr 28, 2015 15:22, edited 1 time in total.

joost
Sagely Hen
Posts: 2819
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: Geforce graphics drivers

Post by joost » Fri Mar 13, 2015 0:45

Stupot, I think you just solved the case here.

https://github.com/Sabayon/sabayon-dist ... 5b8b42d1b1
My blog | Mastodon | Please support Sabayon: Become a Patron

Post Reply