Graphic card not supported by new nvidia drivers.[Solved]

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

Post Reply
MikeB23930
Baby Hen
Posts: 3
Joined: Mon Oct 22, 2012 15:35

Graphic card not supported by new nvidia drivers.[Solved]

Post by MikeB23930 » Mon Dec 17, 2012 3:20

:?: I am unable to upgrade to recent packages since the 3.10 nvidia driver that will replace the current nvidia driver installed in my system does not support my old graphics card. I'm guessing that one of the open source drivers would support my card, but when I tried to switch drivers I simply got a black screen. Can some one please tell me how to switch to one of the open source drivers? Please explain in excruciating detail since otherwise I will probably not understand any better than I understood the information about masking I read online.

Thanks for the help.

Mike
Last edited by MikeB23930 on Mon Dec 17, 2012 18:56, edited 1 time in total.

Ryuno-Ki
Old Dear Hen
Posts: 494
Joined: Mon Feb 27, 2012 22:15
Location: Southern Germany
Contact:

Re: Help--Graphic card not supported by new nvidia drivers.

Post by Ryuno-Ki » Mon Dec 17, 2012 6:48

Hello,
I stumbled upon the same problem and found a solution for the nvidia-drivers here. You just have to modify the version.
So follow the steps below (modified quote of the mentioned source):
batvink wrote:wrote:
Open your favourite konsole/terminal as root, and enter:

Code: Select all

equo remove nvidia-drivers --ask
It should remove the current installed nvidia-driver plus dependencies. (check that...)
Then:

Code: Select all

equo install nvidia-drivers-304.64#$(uname -r) --ask
(also check that the right drivers plus dependencies getting installed, according to the command.)
If everything went well, the new (right) drivers are installed.

Now, when upgrading the System, it probably also wants to upgrade your nvidia-driver,
which you don't want., so you have to mask all future nvidia-drivers it may want to upgrade to...
Enter (while still running the terminal) as root:

Code: Select all

nano -w /etc/entropy/packages/package.mask
Scroll to the end of the list, and enter the following:

Code: Select all

>=x11-drivers/nvidia-drivers-310.19
>=media-video/nvidia-settings-310.19
>=x11-drivers/nvidia-userspace-310.19
Save the file by pressing (CTRL+O) and leave the nano-editor by pressing (CTRL+X).

Next, edit xorg:

Code: Select all

nano -w /etc/X11/xorg.conf
search under: section "device" if the driver is nvidia:

Code: Select all

Section "Device"

    Identifier  "SabayonVga0"
    Driver      "nvidia"
    #BusID    "PCI:01:00"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    # UseEvents is causing segmentation faults with
    # NVIDIA 6xxx, 7xxx and >=275.xx.xx drivers
#    #Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
If not, correct it, save, and close the editor.
Restart X:

Code: Select all

/etc/init.d/xdm restart
It closes all programs, the session, and brings you back to login.
Now you should login properly with a working X.
For checking:
My package.mask

Code: Select all

# package.mask example file
#
# In this file you can specify atoms, one per line, that you would mask.
# Masking a package (atom) means that you will deny Entropy to pull in a package even if it's marked as "NOT experimental".

# LINE CONSTRUCTION:
# <atom>
# See examples below

# EXAMPLES:
# >=media-libs/foo-1.2.3
# media-libs/foo
# <media-libs/foo-1.2.3
# media-libs/foo:1
# >=media-libs/foo-1.2.3#2.6.23-sabayon-r1
# 
# :1 means package with SLOT="1"
# #2.6.23-sabayon-r1 means package with kernel tag = 2.6.23-sabayon-r1
>=x11-drivers/nvidia-drivers-310.19
>=media-video/nvidia-settings-310.19
>=x11-drivers/nvidia-userspace-310.19
Enjoy!
German Wiki translator ◆ Want to contribute on the wiki? Ask the Bureaucrats!
Please, mark solved threads ◆ Posts unread and unansweredPackage requests

MikeB23930
Baby Hen
Posts: 3
Joined: Mon Oct 22, 2012 15:35

Re: Help--Graphic card not supported by new nvidia drivers.

Post by MikeB23930 » Mon Dec 17, 2012 18:47

Thanks, Ryuno-Ki. Worked like a charm with one very small exception at the end. The command

/etc/init.d/xdm restart


brought me back to a command line login screen. I then logged in as root and executed a system restart with

shutdown -r now

and now all is fine.

Thanks so much for your help.

Mike

Ryuno-Ki
Old Dear Hen
Posts: 494
Joined: Mon Feb 27, 2012 22:15
Location: Southern Germany
Contact:

Re: Help--Graphic card not supported by new nvidia drivers.

Post by Ryuno-Ki » Mon Dec 17, 2012 18:57

German Wiki translator ◆ Want to contribute on the wiki? Ask the Bureaucrats!
Please, mark solved threads ◆ Posts unread and unansweredPackage requests

Post Reply