LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X crashes after installing nvidia driver - fedora 11 (https://www.linuxquestions.org/questions/linux-software-2/x-crashes-after-installing-nvidia-driver-fedora-11-a-736077/)

tosszafer 06-27-2009 03:01 PM

X crashes after installing nvidia driver - fedora 11
 
2 Attachment(s)
Hi,

I m struggling with a nvidia problem about 16 hours. I think I tried all ways that I know.

Card : NVIDIA GeForce2 Integrated.

When loaded "nvidia" official drivers (splashes nvidia logo at start up), it crashes and as I see, refresh rate is 50 (You can check the screenshot)

After changing "nvidia" to "nv", everything works fine except GLX support :(

I tried many options in xorg.conf. But couldn't reach the satisfied results.(Windoze uses it as 1440x900, but I couldn't see more that 1280x960 in fedora 11).

I can see 3 different drivers loaded, (nouveau -Whatta-, nv and nvidia).

You can find the xorg.conf in attachment too.

Any help will be appreciated,

Thanks in advance,

Kiboney 06-28-2009 08:06 AM

To start with, what is your monitor model?
Does it say that you are above 50? Vertical or horizontal?

Cheers

fpmurphy 06-28-2009 08:38 AM

On Fedora 11 the default nVidia driver is nouveau not nv.

If you have all three drivers loaded you have a major problem with your configuration as you should have only one of these drivers loaded.

Unless there is a very specific reason for using nVidia's driver, you probably not use it as it is problematic. Better to download the nvidia driver from rpmfusion. Here are some posts of mine which cover the issues in more detail.

http://blog.fpmurphy.com/2009/06/fed...w-support.html
http://blog.fpmurphy.com/2009/03/fed...hics-card.html

tosszafer 06-28-2009 11:20 AM

hi,

first, thanks a lot the replies to both.

Kiboney, monitor is Samsung SyncMaster 933NW. monitor's menu says it could support for 1440x900 at 60 Hz. It gaves this warning when I reached unintentionally 1600X1200 resolution. And also it's not totally listed in FEdora default monitor list. There is only a model like 931 but not the same.

And fpmurphy, I did that you mention in your post and now here is the result of "dmesg | grep nv"
Quote:

dmesg | grep nv
ftrace: converting mcount calls to 0f 1f 44 00 00
agpgart-nvidia 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
rtc0: alarms up to one year, y3k, 242 bytes nvram
nvidia: module license 'NVIDIA' taints kernel.
nvidia 0000:02:00.0: PCI INT A -> Link[LNKE] -> GSI 19 (level, high) -> IRQ 19
ata1: nv_mode_filter: 0x3f39f&0x3f01f->0x3f01f, BIOS=0x3f000 (0xc600c000) ACPI=0x3f01f (20:4294967295:0x13)
ata2: nv_mode_filter: 0x739f&0x701f->0x701f, BIOS=0x7000 (0xc600c000) ACPI=0x701f (60:4294967295:0x13)
phy0 -> rt2500usb_init_eeprom: Error - Invalid RT chipset detected.
and "lsmod"
Quote:

Module Size Used by
vfat 8620 1
fat 41008 1 vfat
fuse 49748 2
bridge 41488 0
stp 1944 1 bridge
llc 4780 2 bridge,stp
bnep 10888 2
sco 9356 2
l2cap 18884 3 bnep
bluetooth 44776 5 bnep,sco,l2cap
sunrpc 152364 1
ip6t_REJECT 3160 2
nf_conntrack_ipv6 11368 2
ip6table_filter 3136 1
ip6_tables 10728 1 ip6table_filter
ipv6 232364 26 ip6t_REJECT,nf_conntrack_ipv6
dm_multipath 13512 0
uinput 6496 0
ppdev 6296 0
arc4 1584 2
ecb 2452 2
rt73usb 20396 0
crc_itu_t 1580 1 rt73usb
rt2500usb 16780 0
snd_intel8x0 27440 3
snd_ac97_codec 91752 1 snd_intel8x0
rt2x00usb 8796 2 rt73usb,rt2500usb
rt2x00lib 31964 3 rt73usb,rt2500usb,rt2x00usb
ac97_bus 1400 1 snd_ac97_codec
snd_pcm 62556 3 snd_intel8x0,snd_ac97_codec
snd_timer 17896 1 snd_pcm
mac80211 164608 2 rt2x00usb,rt2x00lib
snd 49044 9 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
parport_pc 22060 0
soundcore 5404 1 snd
tulip 42544 0
ns558 4068 0
i2c_amd756 4972 0
cfg80211 30656 2 rt2x00lib,mac80211
snd_page_alloc 7572 2 snd_intel8x0,snd_pcm
pcspkr 2156 0
parport 28548 2 ppdev,parport_pc
gameport 9712 2 ns558
ata_generic 4264 0
pata_acpi 3624 0
pata_amd 9788 5
nvidia 4698372 0
i2c_core 18016 2 i2c_amd756,nvidia
Seems still the same. And I got this error for glxinfo :
Quote:

glxinfo: error while loading shared libraries: /usr/lib/libGL.so.1: cannot restore segment prot after reloc: Permission denied
No more nouveau things. much clear, but any idea what is still missing ?

Cheers,

John VV 06-28-2009 01:07 PM

for a gforce 2 card or built in chip ( man that is VERY old if built in ) i have a gforce2 card - from 2001
you will need to use the 96.11.run form nvidia or the kmod-nvidia.96xx.rpm

the rpm from rpmforge if easer to install .
have you read the how to / help page for the nvidia driver from fedora ?
"F11, F10 & F9 Nvidia driver guides"
http://forums.fedoraforum.org/showthread.php?t=204752

tosszafer 06-28-2009 02:34 PM

2 Attachment(s)
Hi John VV,

I loaded nvidia drives in this way before. an got the splash screen of nvidia and then a refreshing problem. (you can see the gorgeous effects in screenshot :) )

When I changed driver value in xorg.conf from "nvidia" to "nv" it works fine except no splash screen and resolution (I got 1280x960). But I know that monitor supports 1440x900.

On display configuration panel, now I got 3 drivers for my card.
-nouveau : it is still there although I did mkinitrd and PAT parameter at boot.
- nv
- nvidia (Causes refreshing problem and sometimes crushes)

It becomes a real pain, huh ? :)

Cheers,

John VV 06-28-2009 08:43 PM

what dose your xorg.conf look like
this is mine for 1024x786 -- the MAX for a gforce 2 -- and still have a fast system . ( 800x600 IS faster )
1280x960 is doable but there is a noticeable system slowdown .1600x1200 is VERY slow .

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Mon Feb 23 15:43:26 PST 2009


Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules/extensions"
    ModulePath      "/usr/lib/xorg/modules/drivers"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
    Identifier    "Keyboard0"
    Driver        "kbd"
    Option        "XkbLayout" "us"
    Option        "XkbModel" "pc105"
EndSection

Section "Monitor"
  # created by KGamma
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Unknown"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Gamma          1.15
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Videocard0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce2 MX/MX 400"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "UseEvents" "False"
    Option        "RenderAccel" "True"
    Option        "AllowGLXWithComposite" "True"
    Option        "AddARGBGLXVisuals" "true"
  Option        "metamodes" "1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    Option        "NVAGP" "3"
    SubSection    "Display"
        Viewport    0 0
        Depth      24
        Modes      "1600x1200" "1600x1024" "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "1024x768" "800x600" "800x600" "640x480" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option        "Composite" "Enable"
    #Option "RENDER" "Enable"
EndSection

the screen size is the red - my max is set to " 1024x768 +0+0 "

tosszafer 06-29-2009 12:44 PM

2 Attachment(s)
Hi John VV;

After reloading "nvidia" drivers, (somehow) I could run "nvidia-settings" panel and set my resolution to 1440x900 and 60 Hz and I got very very clear screen. That should make me happy, right ? Of course not.

Refreshing problem is still going on (Please check the screenshot in attachment)

Here is the my last xorg.conf and screen shot. Only I turned it to "nv" in order to write this message :)

Thanks for your help !

John VV 06-29-2009 12:53 PM

you might want to read through the nvidia README for the 96.11 driver
http://www.nvidia.com/object/linux_d..._96.43.11.html
http://us.download.nvidia.com/XFree8...DME/README.txt

for options on setting up a gf 2 integrated chip

tosszafer 06-29-2009 03:35 PM

John VV,

I read the logs and then I found this clue in logs : cat /var/log/Xorg.0.log.old

Quote:

(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(II) NVIDIA(0): Initialized GART.
(EE) NVIDIA(0): Error recovery failed.
(EE) NVIDIA(0): *** Aborting ***
and I found this in forums : people is discussing over 2 years this problem and seems no hope :(

rylan76 06-30-2009 05:17 AM

Hmm is that an onboard display chip (on your motherboard?)

Why not just install a new Nvidia graphics card? It'll most likely solve all your problems, and more recent Linux drivers work like a charm with recent Nvidia products. It won't even be so expensive if you just want 2D performance to go well, and you go for an entry level card.

tosszafer 06-30-2009 05:59 AM

hi rylan76,

Yes, It's an onboard graphic card. And you say go and buy a new AGP card :) yes, that's the fastest/easiest solution. But first I want to try all software-based solution. I don't have no hurry :)

Last night I read something about BIOS upgrades that can solve this problem. But couldn't find time to check it.

I will post the results asap here.

Thanks,

rylan76 06-30-2009 07:11 AM

Yikes you got a point there - you might have trouble finding a new AGP card. Second hand ones should still be around though...


All times are GMT -5. The time now is 04:46 AM.