View previous topic :: View next topic |
Author |
Message |
Phancy Physicist Apprentice
Joined: 10 Apr 2005 Posts: 193
|
Posted: Tue Aug 16, 2005 12:13 am Post subject: problem: nVidia on AMD64 *SOLVED* |
|
|
I am very frusturated right now. Three days ago xorg and nvidia worked perfectly, then I
Code: |
emerge sync
emerge --newuse --update --deep world
emerge -v depclean
revdep-rebuild
|
but it still worked then i
Code: |
emerge nvidia-kernel nvidia-glx nvidia-settings
|
and that is wan the problems started. First i got
Code: |
EE) NVIDIA(0): Failed to initialize the NVIDIA module!
|
I read some people saying that
Code: |
emerge -e system
emerge -e world
|
might help. it didn't
I tried the nvidia install but I tried to install to modules/2.6.11-gentoo-r6/
but I deleted that because i'm using 2.6.12-gentoo-r6
so I tried to reinstall
Code: |
emerge nvidia-kernel nvidia-glx nvidia-settings
|
and now it says
Code: |
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
|
the important parts of my /etc/X11/xorg.conf
Code: | Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extensi$
EndSubSection
# This loads the font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"
EndSectionSection "Device"
Identifier "nVidia GeForce 9800TX OC"
Driver "nvidia"
# Option "RenderAccel" "true"
# Option "AllowGLXWithComposite" "true"
# Option "UseEdidFreqs" "true"
# Option "HWCursor" "1"
# Option "CursorShadow" "true"
# Option "CursorShadowAlpha" "100"
# Option "CursorShadowXOffset" "4"
# Option "CursorShadowYOffset" "2"
#VideoRam 262144
# Insert Clocks lines here if appropriate
EndSection
|
some more info
Code: |
# lsmod
Module Size Used by
nvidia 4052796 0
snd_seq_midi 7552 0
snd_emu10k1_synth 7232 0
snd_emux_synth 37056 1 snd_emu10k1_synth
snd_seq_virmidi 6528 1 snd_emux_synth
snd_seq_midi_emul 7872 1 snd_emux_synth
snd_pcm_oss 50912 0
snd_mixer_oss 16320 1 snd_pcm_oss
snd_seq_oss 34368 0
snd_seq_midi_event 7232 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 55616 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_emu10k1 86564 1 snd_emu10k1_synth
snd_rawmidi 23392 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq_device 8080 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 88216 1 snd_emu10k1
snd_pcm 87880 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_timer 22216 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 9160 2 snd_emu10k1,snd_pcm
snd_util_mem 4032 2 snd_emux_synth,snd_emu10k1
snd_hwdep 8800 2 snd_emux_synth,snd_emu10k1
snd 51272 13 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
0000:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
0000:00:0c.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
0000:00:0c.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
0000:00:0c.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1)
cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6: kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.
# For example:
# 3c59x
nvidia
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -fomit-frame-pointer -pipe -march=k8 -mmmx -m3dnow -msse -msse2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-3dfx 3dnow a52 aac acpi alsa apache2 avi bash-completion bcmath
cdr cjk crypt divx4linux doc dvb dvd dvdr dvdread examples ffmpeg fftw exif
flash freetype freewnn gd gif glut -gnome gtk gtk2 gstreamer imagemagick
imlib ipv6 java javascript jpeg -kde ming mmx mmx2 motif mozilla mp3
mpeg multilib nocd nptl nvidia ogg oggvorbis openal opengl oss -pcmcia
pdflib png posix -qt quicktime readline scanner spell sse sse2 sse3 ssl stroke threads truetype unicode usb utf8 v4l video_cards_nvidia -voodoo3 win32codecs X Xaw3d xml xml2 xmms xvid amd64"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com ftp://gentoo.llarian.net/pub/gentoo"
ALSA_CARDS="emu10k1"
ALSA_TOOLS="as10k1 ac3dec"
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
|
Here is the beauty of the whole thing. Changing "nvidia" to "nv" in /etc/X11/xorg.conf works but of course i get no opengl or hardward aceleration.
I am completely at a loss on how to fix this. Anyone have any suggesttions.
Last edited by Phancy Physicist on Tue Aug 16, 2005 7:29 am; edited 1 time in total |
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Aug 16, 2005 4:55 am Post subject: |
|
|
Did you compile your kernel from the sources that are linked to /usr/src/linux? This is necessary for the nvidia stuff to be built correctly. |
|
Back to top |
|
|
mizery de aria Guru
Joined: 07 Dec 2003 Posts: 309
|
Posted: Tue Aug 16, 2005 5:55 am Post subject: |
|
|
what version of nvidia-kernel did you emerge?
I noticed that at times when I had issues with the nvidia-kernel driver, merely reemerging a lower version resolved the issue. I'm actually having a problem myself with upgrading to a newer kernel and using the latest nvidia-kernel drivers. I'm going to try older versions hopefully to resolve the issue.
kernel: linux-2.6.11-hardened-r15
any suggestions what nvidia-kernel version to use? _________________ Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings. |
|
Back to top |
|
|
Phancy Physicist Apprentice
Joined: 10 Apr 2005 Posts: 193
|
Posted: Tue Aug 16, 2005 7:04 am Post subject: |
|
|
I was going to try going back to kernel 2.6.11 but I already delete it and it is gone from portage
I tried 2.6.12-gentoo-r8 but no good. I'm sure that /usr/src/linux pointed to the right kernel everytime
Code: |
card and version info
cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-6629 Wed Nov 3 11:
43:48 PST 2004
GCC version: gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.
7)
cat /proc/driver/nvidia/agp/status
Status: Disabled
cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: PCI device 1106:0282
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x
Registers: 0x1f000a1a:0x00000000
cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0xff000e1b:0x00000000
cat /proc/driver/nvidia/cards/0
Model: GeForce 6800 GT
IRQ: 193
Video BIOS: ??.??.??.??.??
Card Type: AGP
|
I'm going to try downgrading the nVidia drivers. |
|
Back to top |
|
|
Phancy Physicist Apprentice
Joined: 10 Apr 2005 Posts: 193
|
Posted: Tue Aug 16, 2005 7:28 am Post subject: Solution |
|
|
Sometimes we play it safe too much. I was too worried about fixing what I broke then to think to replace what was broken.
The fix is
Code: |
ACCEPT_KEYWORDS="~amd64" emerge nvidia-kernel nvidia-glx nvidia-settings
|
I have, as I think many of us have, forgoten that the native 64-bit is still underdevlopment. The problem wasn't settings or conf files or installation.
The simple fact is that the "safe 64-bit drivers" where incompatable with the 2.6.12 kernel. You need to got to the unstable branch for this problem.
I was seriously beating my head of my desk trying to figure this out. DUH![/code] I have had a little problem with my sound lately so I think i am going "unstable" to try and fix that too.
wish me luck.
-PP
P.S. some testing stats
Code: |
glxgears
81863 frames in 5.0 seconds = 16372.600 FPS
87397 frames in 5.0 seconds = 17479.400 FPS
85866 frames in 5.0 seconds = 17173.199 FPS
88435 frames in 5.0 seconds = 17687.000 FPS
84657 frames in 5.0 seconds = 16931.400 FPS
glxinfo | grep direct
direct rendering: Yes
|
|
|
Back to top |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Tue Aug 16, 2005 9:55 am Post subject: Re: Solution |
|
|
Phancy Physicist wrote: | Code: |
glxgears
81863 frames in 5.0 seconds = 16372.600 FPS
87397 frames in 5.0 seconds = 17479.400 FPS
85866 frames in 5.0 seconds = 17173.199 FPS
88435 frames in 5.0 seconds = 17687.000 FPS
84657 frames in 5.0 seconds = 16931.400 FPS |
|
Nice scores ! I do not get that much with my Gigabyte 6800U, probably due to the BFG's OCing . |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|