You are not logged in.

#1 2011-12-27 16:56:04

archnewby
Member
Registered: 2011-10-19
Posts: 29

New nvidia card not recognized

Hello, everyone. I need some help as today i have upgraded my onboard nvidia nforce630i gpu to a pci-e nvidia 8400gs by pny. I plugged the vga cable into the new card, booted up and gdm disnt start, when i booted i got error, cannot open didplay sesikn lasted 0.86959489695 seconds or something along those lines. I have been using the nvidia drivers instead of nouveau and i plan to continue doing so with my new card. I trid nvidia-xconfig, which was sucessful but upon a reboot i still cant start xorg. When i try startx i get:

Using config file /etc/X11/xorg.conf
Using config directory /etc/X11/xorg.conf.d
FATAL: Error inserting nvidia (/lib/modules/3.1.5-1-ARCH/extramodules/nvidia.ko.gz): No such device
(EE) Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:        system's kernel log for addition error messages.
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
No screens found

Ect ect ect, i had to type it out so there is alot missing/it might be a little wrong. lspci: (im not typing it all out but the part which tells me about the new card)

02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400GS] (rev a2)

Please can anyone help me with this? Id really appreciate it thanks big_smile

Offline

#2 2011-12-27 17:20:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: New nvidia card not recognized

Can you post xorg log & kernel log? Does /lib/modules/3.1.5-1-ARCH/extramodules/nvidia.ko.gz exist?
You can copy this stuff, no need to type it in. Also, check out https://wiki.archlinux.org/index.php/Pastebin_Clients

Offline

#3 2011-12-27 17:32:53

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

nvidia.ko.gz exists, yes. Here is my xorg.conf.d # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 290.10 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Wed Nov 16 20:32:22 PST 2011

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

Section "Files" EndSection

Section "InputDevice"

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

Section "InputDevice"

# generated from default Identifier "Keyboard0" Driver "kbd" EndSection

Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option "DPMS" EndSection

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection

Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection, sorry, how do i post my xorg and kernel log? Thanks for the pastebin link by the way

Offline

#4 2011-12-27 17:36:03

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

and heres my /var/log/Xorg.0.log http://codepad.org/qrw6genp

Offline

#5 2011-12-27 17:36:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: New nvidia card not recognized

When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.


[karol@black ~]$ wgetpaste -h
Usage: /usr/bin/wgetpaste [options] [file[s]]
...

[karol@black ~]$ wgetpaste /var/log/kernel.log
Your paste can be seen here: http://paste.pocoo.org/show/526492/

Even if you install some other tool it should be similar in use.

Offline

#6 2011-12-27 17:38:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: New nvidia card not recognized

archnewby wrote:

and heres my /var/log/Xorg.0.log http://codepad.org/qrw6genp

We're using xorg-server 1.11.3-1 now, seems you're using an older version - why?

Last edited by karol (2011-12-27 17:39:18)

Offline

#7 2011-12-27 17:38:35

Gusar
Member
Registered: 2009-08-25
Posts: 3,606

Re: New nvidia card not recognized

Which documentation told you to run nvidia-xconfig? Kill that documentation with fire!! And then remove your xorg.conf.

If it still doesn't work, check with lsmod if the nvidia module is loaded. If not, load it with "modprobe nvidia" as root. Then run dmesg and post here the output.

Offline

#8 2011-12-27 17:40:51

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Ok thanks for the code tip, illuse that in the furute, but here is my kernel log. http://codepad.org/oiheoan3

Offline

#9 2011-12-27 17:43:26

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Ok ill try all that. Heres the documentation... https://wiki.archlinux.org/index.php/Nvidia#Configuring

Offline

#10 2011-12-27 17:51:20

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

I removed xorg.conf and now it seems to be trying to load nouveau. On startx i get

 Failed to load module "nouveau" (module does not exist, 0)
No drivers available 

I did use nouveau in the past and there are some files with nouveau i the name in xorg.conf.d. ill try that other stuff you said.

Offline

#11 2011-12-27 17:54:09

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: New nvidia card not recognized

ls -l /dev/nvidia0

i guess the device doesn't exist, am I right?

your nvidia messages from dmesg look pretty weird as well.
Dec 25 18:36:55 localhost kernel: [12319.972134] nvidia 0000:00:10.0: restoring config space at offset 0xc (was 0xfeac0000, writing 0x0)

your card really works?

Last edited by wonder (2011-12-27 17:55:39)


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2011-12-27 17:54:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,700
Website

Re: New nvidia card not recognized

Right, your /etc/X11 should not contain any files.  Have you blacklisted nouveau?  The official nvidia package should do this for you:

$ cat /etc/modprobe.d/nouveau_blacklist.conf 
blacklist nouveau

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#13 2011-12-27 17:55:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: New nvidia card not recognized

Nouveau is used by default, you have to blacklist it if you want to use nvidia drivers. If you have nvidia drivers installed, nouveau should be properly blacklisted.


Edit: I would still like to know if your system is up to date. Maybe you need a fresh mirrorlist http://www.archlinux.org/mirrorlist/

Last edited by karol (2011-12-27 17:57:57)

Offline

#14 2011-12-27 17:57:43

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Sorry karol i didnt know i was using an older vsion, ill try upgrading it. Only just saw your post. Also here is output for lsmod http://codepad.org/wrhegoag and modprobe nvidia gives me

 FATAL: Error inserting nvidia (/lib/modules/3.1.5-1-aRCH/extramodules/nvidia.ko.gz): No such device 

Offline

#15 2011-12-27 18:00:24

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Well ive done pacman -S xorg-server and there was an update, and also pacman -S nvidia nvidia-utils. Startx still is ryinf to load nouveau so it probably isnt blacklisted

Offline

#16 2011-12-27 18:03:48

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

In my xorg.conf.d there is 30-nouveau.conf ans 20-nouveau.conf is this a problem?

Offline

#17 2011-12-27 18:04:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,700
Website

Re: New nvidia card not recognized

@op - have you rebooted since updating your kernel?  Do you have the 'nvidia' package installed?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#18 2011-12-27 18:04:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: New nvidia card not recognized

archnewby wrote:

In my xorg.conf.d there is 30-nouveau.conf ans 20-nouveau.conf is this a problem?

Yes, these files might be a part of the problem, depends what's in them :-)
Move them to your ~, reinstall nvidia and reboot.

Offline

#19 2011-12-27 18:05:07

Gusar
Member
Registered: 2009-08-25
Posts: 3,606

Re: New nvidia card not recognized

X will always try to load nouveau. Failing that, it'll try nv and then nvidia. It's the normal mode of operation. But your problem starts before that, with kernel modules. Once you solve that, X will work.

Does lsmod show nouveau loaded? That's the only reason I can think of why nvidia would fail loading.

Offline

#20 2011-12-27 18:06:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: New nvidia card not recognized

Gusar wrote:

Does lsmod show nouveau loaded? That's the only reason I can think of why nvidia would fail loading.

No, it's not loaded: https://bbs.archlinux.org/viewtopic.php … 6#p1033336

Offline

#21 2011-12-27 18:11:43

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Wow, removed those files, reinstalled nvidia and i have gui! Although when the res is too big and gdm is dodgy, the panel is beige instead of black and when i log in it says failed to load session "gnome" with a logout button sad

Offline

#22 2011-12-27 18:15:17

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Although i also have mate and kde installed, which work. Does this mean that 3D graphics accelerarion is not working? Forgive me im kind of a noob, as you can already teel big_smile

Offline

#23 2011-12-27 18:35:57

archnewby
Member
Registered: 2011-10-19
Posts: 29

Re: New nvidia card not recognized

Btw gnome-session gives gnome-session-is-accelerated: no hardware 3D support, but there clearlynis cause it supports opengl2

Offline

Board footer

Powered by FluxBB