* Re: [gentoo-amd64] Xorg with nvidia driver problems
@ 2005-10-28 4:00 Dmitri Pogosyan
2005-10-28 17:42 ` [gentoo-amd64] Xorg with nvidia driver problems (CURED) sean
0 siblings, 1 reply; 10+ messages in thread
From: Dmitri Pogosyan @ 2005-10-28 4:00 UTC (permalink / raw
To: gentoo-amd64
Trust me this time :)
You don't have nvidia devices
/dev/nvidia0
/dev/nvidiactl
unofrtunately they are not created automatically withthe new kernel
(although some reports vary), and you have to do it manually.
There is a lot of discussion on that in gentoo forums.
Some nvidia-kernel packages contain /sbin/NVmakedevices.sh
script to run, if not you can do it by hand
cd /dev
mknod nvidia0 c 195 0
mknod nvidiactl 195 255
and then set ownership to root:video nad permissions to 666 or 660
Unfortunately, you will loose them on reboot unless you run udev with
RC_DEVICE_TARBALL="no"
if so you can create like /etc/init.d/nvidia and put it in boot level.
> I followed the instructions to get the nvidia driver working on my
> system here, but obviously since I am writing, it is giving me problems.
> Information below, and thanks in advance for the help.
> Sean
>
> Here is the error when I try to start with the 'nvidia' driver.
> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
> (EE) NVIDIA(0): *** Aborting ***
> (II) UnloadModule: "nvidia"
> (EE) Screen(s) found, but none have a usable configuration.
>
> Fatal server error:
> no screens found
>
> The module appears to be loaded as shown below.
> tardis sean # /sbin/lsmod
> Module Size Used by
> nvidia 4054396 0
> snd_intel8x0 33856 2
> snd_ac97_codec 90712 1 snd_intel8x0
> snd_seq 55776 1
> snd_seq_device 8972 0
> snd_pcm_oss 52128 0
> snd_pcm 89608 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
> snd_timer 23816 2 snd_seq,snd_pcm
> snd_page_alloc 11728 2 snd_intel8x0,snd_pcm
> snd_mixer_oss 18176 1 snd_pcm_oss
> snd 52552 13
>
snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
> soundcore 10144 1 snd
> s2io 39692 0
> tardis sean #
>
> tardis sean # modinfo nvidia
> license: NVIDIA
> alias: char-major-195-*
> parmtype: silence_nvidia_output:int
> parmtype: NVreg_RmLogonRC:int
> parmtype: NVreg_VideoEnhancement:int
> parmtype: NVreg_DevicesConnected:int
> parmtype: NVreg_FlatPanelMode:int
> parmtype: NVreg_ResmanDebugLevel:int
> parmtype: NVreg_Mobile:int
> parmtype: NVreg_SoftEDIDs:int
> parmtype: NVreg_EnableAGPFW:int
> parmtype: NVreg_EnableAGPSBA:int
> parmtype: NVreg_NvAGP:int
> parmtype: NVreg_ReqAGPRate:int
> parmtype: NVreg_EnableALiAGP:int
> parmtype: NVreg_EnableVia4x:int
> parmtype: NVreg_VideoMemoryTypeOverride:int
> alias: pci:v000010DEd*sv*sd*bc03sc00i00*
> depends:
> vermagic: 2.6.13-gentoo-r3 SMP gcc-3.4
>
> tardis sean # uname -a
> Linux tardis 2.6.13-gentoo-r3 #4 SMP Thu Oct 27 14:26:00 EDT 2005 x86_64
> AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux
>
> xorg config
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath "/usr/lib64/X11/rgb"
> ModulePath "/usr/lib64/modules"
> FontPath "/usr/share/fonts/misc/"
> FontPath "/usr/share/fonts/TTF/"
> FontPath "/usr/share/fonts/Type1/"
> FontPath "/usr/share/fonts/CID/"
> FontPath "/usr/share/fonts/75dpi/"
> FontPath "/usr/share/fonts/100dpi/"
> EndSection
>
> Section "Module"
> Load "extmod"
> Load "dri"
> Load "dbe"
> Load "record"
> Load "xtrap"
> Load "glx"
> Load "type1"
> Load "freetype"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/input/mouse0"
> Option "Zaxismapping" "4 5"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "Monitor Vendor"
> ModelName "Monitor Model"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "SWcursor" # [<bool>]
> #Option "HWcursor" # [<bool>]
> #Option "NoAccel" # [<bool>]
> #Option "ShadowFB" # [<bool>]
> #Option "UseFBDev" # [<bool>]
> #Option "Rotate" # [<str>]
> #Option "VideoKey" # <i>
> #Option "FlatPanel" # [<bool>]
> #Option "FPDither" # [<bool>]
> #Option "CrtcNumber" # <i>
> #Option "FPScale" # [<bool>]
> #Option "FPTweak" # <i>
> Identifier "Card 0"
> # Driver "nvidia"
> Driver "nv"
> VendorName "nVidia Corporation"
> BoardName "Unknown Board"
> BusID "PCI:5:0:0"
> VideoRam 256000
> Option "NvAGP" "1" # use nvidias agp - 1 , agpgart -2,
> agpgart,nvagp -3
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> # DefaultDepth 16
> DefaultDepth 24
> SubSection "Display"
> Viewport 0 0
> Depth 24
> # Depth 16
> Modes "1280x1024" "1024x768"
> EndSubSection
> EndSection
>
> --
> gentoo-amd64@gentoo.org mailing list
--
Dmitri Pogosyan Department of Physics
Associate Professor University of Alberta
tel 1-780-492-2150 412 Avadh Bhatia Physics Labs
fax 1-780-492-0714 Edmonton, AB, T6G 2J1, CANADA
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-amd64] Xorg with nvidia driver problems
@ 2005-10-28 1:12 sean
2005-10-28 2:09 ` Nuitari
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: sean @ 2005-10-28 1:12 UTC (permalink / raw
To: gentoo-amd64
I followed the instructions to get the nvidia driver working on my
system here, but obviously since I am writing, it is giving me problems.
Information below, and thanks in advance for the help.
Sean
Here is the error when I try to start with the 'nvidia' driver.
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
The module appears to be loaded as shown below.
tardis sean # /sbin/lsmod
Module Size Used by
nvidia 4054396 0
snd_intel8x0 33856 2
snd_ac97_codec 90712 1 snd_intel8x0
snd_seq 55776 1
snd_seq_device 8972 0
snd_pcm_oss 52128 0
snd_pcm 89608 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 23816 2 snd_seq,snd_pcm
snd_page_alloc 11728 2 snd_intel8x0,snd_pcm
snd_mixer_oss 18176 1 snd_pcm_oss
snd 52552 13
snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 10144 1 snd
s2io 39692 0
tardis sean #
tardis sean # modinfo nvidia
license: NVIDIA
alias: char-major-195-*
parmtype: silence_nvidia_output:int
parmtype: NVreg_RmLogonRC:int
parmtype: NVreg_VideoEnhancement:int
parmtype: NVreg_DevicesConnected:int
parmtype: NVreg_FlatPanelMode:int
parmtype: NVreg_ResmanDebugLevel:int
parmtype: NVreg_Mobile:int
parmtype: NVreg_SoftEDIDs:int
parmtype: NVreg_EnableAGPFW:int
parmtype: NVreg_EnableAGPSBA:int
parmtype: NVreg_NvAGP:int
parmtype: NVreg_ReqAGPRate:int
parmtype: NVreg_EnableALiAGP:int
parmtype: NVreg_EnableVia4x:int
parmtype: NVreg_VideoMemoryTypeOverride:int
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
vermagic: 2.6.13-gentoo-r3 SMP gcc-3.4
tardis sean # uname -a
Linux tardis 2.6.13-gentoo-r3 #4 SMP Thu Oct 27 14:26:00 EDT 2005 x86_64
AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux
xorg config
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib64/X11/rgb"
ModulePath "/usr/lib64/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "Zaxismapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
Identifier "Card 0"
# Driver "nvidia"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:5:0:0"
VideoRam 256000
Option "NvAGP" "1" # use nvidias agp - 1 , agpgart -2,
agpgart,nvagp -3
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# DefaultDepth 16
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
# Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Xorg with nvidia driver problems
2005-10-28 1:12 [gentoo-amd64] Xorg with nvidia driver problems sean
@ 2005-10-28 2:09 ` Nuitari
2005-10-28 11:52 ` sean
2005-10-28 2:11 ` Bob Young
2005-10-28 2:54 ` Hemmann, Volker Armin
2 siblings, 1 reply; 10+ messages in thread
From: Nuitari @ 2005-10-28 2:09 UTC (permalink / raw
To: gentoo-amd64
> # Driver "nvidia"
> Driver "nv"
You need to use nvidia and not nv in your xorg.conf
Also you should check /var/log/Xorg.0.log and dmesg for more clues
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Xorg with nvidia driver problems
2005-10-28 2:09 ` Nuitari
@ 2005-10-28 11:52 ` sean
0 siblings, 0 replies; 10+ messages in thread
From: sean @ 2005-10-28 11:52 UTC (permalink / raw
To: gentoo-amd64
Nuitari wrote:
>> # Driver "nvidia"
>> Driver "nv"
>
>
> You need to use nvidia and not nv in your xorg.conf
> Also you should check /var/log/Xorg.0.log and dmesg for more clues
If I use the nvidia driver I am unable to start X.
It is commented out here so that I can get X up and running, and be able
to do things in X, such as email.
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [gentoo-amd64] Xorg with nvidia driver problems
2005-10-28 1:12 [gentoo-amd64] Xorg with nvidia driver problems sean
2005-10-28 2:09 ` Nuitari
@ 2005-10-28 2:11 ` Bob Young
2005-10-28 2:54 ` Hemmann, Volker Armin
2 siblings, 0 replies; 10+ messages in thread
From: Bob Young @ 2005-10-28 2:11 UTC (permalink / raw
To: gentoo-amd64
-----Original Message-----
From: sean [mailto:rsh.lists@comcast.net]
Sent: Thursday, October 27, 2005 6:13 PM
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] Xorg with nvidia driver problems
I followed the instructions to get the nvidia driver working on my
system here, but obviously since I am writing, it is giving me problems.
Information below, and thanks in advance for the help.
Sean
Here is the error when I try to start with the 'nvidia' driver.
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
tardis sean # uname -a
Linux tardis 2.6.13-gentoo-r3 #4 SMP Thu Oct 27 14:26:00 EDT 2005 x86_64
AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux
It's a problem between the 2.6.13 kernel's changes to udev and the nvidia
kernel module.
Thread from another user who experienced the problem.
http://www.usenetlinux.com/archive/topic.php/t-495527.html
The bug on it posted in Gentoo bugzilla:
http://bugs.gentoo.org/show_bug.cgi?id=104369
More info:
http://www.gentoo.org/doc/en/udev-guide.xml
For me, updating the nvidia kernel and glx modules to more recent, though
masked as unstable, versions resolved the problem. There are other work
arounds and solutions in the above links.
HTH,
Bob Young
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Xorg with nvidia driver problems
2005-10-28 1:12 [gentoo-amd64] Xorg with nvidia driver problems sean
2005-10-28 2:09 ` Nuitari
2005-10-28 2:11 ` Bob Young
@ 2005-10-28 2:54 ` Hemmann, Volker Armin
2005-10-28 11:57 ` sean
2005-10-28 17:43 ` sean
2 siblings, 2 replies; 10+ messages in thread
From: Hemmann, Volker Armin @ 2005-10-28 2:54 UTC (permalink / raw
To: gentoo-amd64
On Friday 28 October 2005 03:12, sean wrote:
> I followed the instructions to get the nvidia driver working on my
> system here, but obviously since I am writing, it is giving me problems.
> Information below, and thanks in advance for the help.
> Sean
read the README!
you obviously did not read it!
>
> Section "Module"
> Load "extmod"
> Load "dri"
remove dri - it is in the readme, so remove it.
> Load "dbe"
> Load "record"
> Load "xtrap"
are you sure you need xtrap and record? If not you can safely remove them.
> Load "glx"
> Load "type1"
> Load "freetype"
> EndSection
you could also load 'ddc' which will make modelines superflous.
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "SWcursor" # [<bool>]
> #Option "HWcursor" # [<bool>]
> #Option "NoAccel" # [<bool>]
> #Option "ShadowFB" # [<bool>]
> #Option "UseFBDev" # [<bool>]
> #Option "Rotate" # [<str>]
> #Option "VideoKey" # <i>
> #Option "FlatPanel" # [<bool>]
> #Option "FPDither" # [<bool>]
> #Option "CrtcNumber" # <i>
> #Option "FPScale" # [<bool>]
> #Option "FPTweak" # <i>
> Identifier "Card 0"
> # Driver "nvidia"
> Driver "nv"
remove the 'nv' that is plainly wrong - and also explained in the README,
several Desktop and nvidia guides, howtos and wikis. Which you all did not
read.
> VendorName "nVidia Corporation"
> BoardName "Unknown Board"
> BusID "PCI:5:0:0"
this is not needed, remove&retry - it may hurt you
> VideoRam 256000
this is absolutly not needed.
> Option "NvAGP" "1" # use nvidias agp - 1 , agpgart -2,
> agpgart,nvagp -3
I really hope, that this newline came from the mail-application we are using.
After you made the changes.
/etc/init.d/xdm zap
rmmod nvidia
/etc/init.d/xdm start
does it complain?
if yes:
/etc/init.d/xdm zap
modprobe nvidia
/etc/init.d/xdm start
add nvidia to autoload.
oh, and here is my very working xorg.conf:
cat /etc/X11/xorg.conf
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
Load "extmod"
Load "type1"
Load "speedo"
Load "freetype"
# Load "xtt"
Load "glx"
Load "v4l"
Load "ddc"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
# FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/freefont/"
ModulePath "/usr/lib/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "de"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "ibm"
HorizSync 31.5-96
VertRefresh 50-85
Option "dpms"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "5200"
Driver "nvidia"
#VideoRam 131072
# Insert Clocks lines here if appropriate
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "backingstore" "true"
# Option "XaaNoOffscreenPixmaps" "true"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "5200"
Monitor "ibm"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x960" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x960" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x960" "1024x768" "800x600" "640x480" "640x400"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-10-29 9:43 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 4:00 [gentoo-amd64] Xorg with nvidia driver problems Dmitri Pogosyan
2005-10-28 17:42 ` [gentoo-amd64] Xorg with nvidia driver problems (CURED) sean
-- strict thread matches above, loose matches on Subject: below --
2005-10-28 1:12 [gentoo-amd64] Xorg with nvidia driver problems sean
2005-10-28 2:09 ` Nuitari
2005-10-28 11:52 ` sean
2005-10-28 2:11 ` Bob Young
2005-10-28 2:54 ` Hemmann, Volker Armin
2005-10-28 11:57 ` sean
2005-10-29 9:42 ` Cory Wiltshire
2005-10-28 17:43 ` sean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox