I installed sucessfully xorg-7.0, but when I press startx the computer says: [16:18:57]|[root@tobi-rechner]|~$ startx hostname: Unknown host X Window System Version 7.0.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 7.0 Build Operating System:Linux 2.6.14.4 i686 Current Operating System: Linux tobi-rechner 2.6.14.4 #1 SMP PREEMPT Sat Dec 24 04:27:05 CET 2005 i686 Build Date: 25 December 2005 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 25 16:19:27 2005 (==) Using config file: "/etc/X11/xorg.conf" dlopen: /usr/lib/xorg/modules/drivers/nv_drv.so: undefined symbol: xf86CreateCursorInfoRec (EE) Failed to load /usr/lib/xorg/modules/drivers/nv_drv.so (EE) Failed to load module "nv" (loader failed, 7) (EE) No drivers available. Fatal server error: no screens found XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Here's my xorg.conf: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (root@tobi-rechner) Sa Dez 24 16:35:15 CET 2005 # /.../ # SaX generated XFree86 config file # Created on: 2004-01-18. # # Version: 4.7 # Contact: Marcus Schaefer <sax@suse.de>, 2002 # # Automatically generated by [ISaX] (4.7) # PLEASE DO NOT EDIT THIS FILE! # #Section "Extensions" # Option "Composite" "Enable" #EndSection Section "ServerLayout" Identifier "Layout[all]" Screen "Screen[0]" 0 0 InputDevice "Keyboard" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" Option "Clone" "off" Option "Xinerama" "off" EndSection Section "Files" InputDevices "/dev/ttyS0" InputDevices "/dev/ttyS1" InputDevices "/dev/ttyS2" InputDevices "/dev/ttyS3" InputDevices "/dev/ttyS4" InputDevices "/dev/ttyS5" InputDevices "/dev/ttyS6" InputDevices "/dev/ttyS7" InputDevices "/dev/ttyS8" InputDevices "/dev/psaux" InputDevices "/dev/logibm" InputDevices "/dev/sunmouse" InputDevices "/dev/atibm" InputDevices "/dev/amigamouse" InputDevices "/dev/atarimouse" InputDevices "/dev/inportbm" InputDevices "/dev/gpmdata" InputDevices "/dev/mouse" InputDevices "/dev/usbmouse" InputDevices "/dev/adbmouse" InputDevices "/dev/input/mice" InputDevices "/dev/input/event0" InputDevices "/dev/pointer0" InputDevices "/dev/pointer1" InputDevices "/dev/pointer2" InputDevices "/dev/pointer3" FontPath "/usr/share/fonts/libdockapp-fonts" FontPath "/usr/share/fonts/misc:unscaled" FontPath "/usr/share/fonts/local" FontPath "/usr/share/fonts/75dpi:unscaled" FontPath "/usr/share/fonts/100dpi:unscaled" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/URW" FontPath "/usr/share/fonts/Speedo" FontPath "/usr/share/fonts/PEX" FontPath "/usr/share/fonts/cyrillic" FontPath "/usr/share/fonts/latin2/misc:unscaled" FontPath "/usr/share/fonts/latin2/75dpi:unscaled" FontPath "/usr/share/fonts/latin2/100dpi:unscaled" FontPath "/usr/share/fonts/latin2/Type1" FontPath "/usr/share/fonts/latin7/75dpi:unscaled" FontPath "/usr/share/fonts/baekmuk:unscaled" FontPath "/usr/share/fonts/japanese:unscaled" FontPath "/usr/share/fonts/kwintv" FontPath "/usr/share/fonts/truetype" FontPath "/usr/share/fonts/uni:unscaled" FontPath "/usr/share/fonts/CID" FontPath "/usr/share/fonts/ucs/misc:unscaled" FontPath "/usr/share/fonts/ucs/75dpi:unscaled" FontPath "/usr/share/fonts/ucs/100dpi:unscaled" FontPath "/usr/share/fonts/hellas/misc:unscaled" FontPath "/usr/share/fonts/hellas/75dpi:unscaled" FontPath "/usr/share/fonts/hellas/100dpi:unscaled" FontPath "/usr/share/fonts/hellas/Type1" FontPath "/usr/share/fonts/misc/sgi:unscaled" FontPath "/usr/share/fonts/xtest" EndSection Section "Module" Load "extmod" # Load "speedo" Load "glx" Load "freetype" # Load "nvidia" Load "type1" # Load "v4l" Load "dbe" # Load "ex" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" EndSection Section "InputDevice" Identifier "Keyboard" Driver "kbd" Option "MapName" "Standard Keyboard [ pc105 ]" # Option "Protocol" "Standard" Option "XkbLayout" "de" Option "XkbModel" "pc105" Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "Mouse[1]" Driver "mouse" Option "ButtonNumber" "5" Option "Device" "/dev/psaux" Option "Name" "Autodetection" Option "Protocol" "imps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "Modes" Identifier "Modes[0]" ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync # Modeline "1024x768" 122.39 1024 1064 1240 1368 768 768 783 802 # Modeline "1024x768" 61.19 1024 1040 1216 1400 768 768 775 802 # Modeline "1024x768" 71.39 1024 1040 1216 1400 768 768 776 802 # ---> Modeline "1024x768" 81.59 1024 1040 1216 1400 768 768 777 802 # Modeline "1024x768" 91.79 1024 1040 1216 1400 768 768 778 802 # Modeline "1024x768" 101.99 1024 1040 1216 1400 768 768 779 802 # Modeline "1024x768" 112.19 1024 1040 1216 1400 768 768 781 802 # Modeline "1024x768" 122.39 1024 1040 1216 1400 768 768 783 802 # Modeline "1024x768" 132.59 1024 1040 1216 1400 768 768 789 802 # Modeline "1024x768" 142.79 1024 1040 1216 1400 768 768 789 802 EndSection Section "Monitor" Identifier "Monitor [0]" ModelName "IIYAMA Vision Master Pro 510" UseModes "Modes[0]" DisplaySize 400 300 HorizSync 31.0 - 82.0 VertRefresh 30.0 - 60.0 EndSection Section "Device" Identifier "Device[0]" Driver "nv" Option "HWCursor" "0" VendorName "NVidia" BoardName "GeForce2 Ti" Screen 0 EndSection Section "Screen" Identifier "Screen[0]" Device "Device[0]" Monitor "Monitor[0]" DefaultDepth 24 Option "HWCursor" "0" Option "EnablePageFlip" "True" # Option "AllowGLXWithComposite" "true" Option "RenderAccel" "true" # Option "UseFBDev" "on" SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" EndSubSection EndSection And xorg.0.log: (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.6629 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension GLX (II) LoadModule: "freetype" (II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 7.0.0, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font FreeType (II) LoadModule: "type1" (II) Loading /usr/lib/xorg/modules/fonts/libtype1.so (II) Module type1: vendor="X.Org Foundation" compiled for 7.0.0, module version = 1.0.2 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Type1 (II) LoadModule: "dbe" (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 7.0.0, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.2 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "nv" (II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so dlopen: /usr/lib/xorg/modules/drivers/nv_drv.so: undefined symbol: xf86CreateCursorInfoRec (EE) Failed to load /usr/lib/xorg/modules/drivers/nv_drv.so (II) UnloadModule: "nv" (EE) Failed to load module "nv" (loader failed, 7) (II) LoadModule: "kbd" (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 7.0.0, module version = 1.0.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.5 (II) LoadModule: "mouse" (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 7.0.0, module version = 1.0.3 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.5 (EE) No drivers available. Fatal server error: no screens found
Probably has to do with: (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules/extensions/libglx.so (II) Module glx: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.6629 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.1 Drop the Load "glx" line and try again.
Doesn't help. Same error. I even tried to change the Opengl Interface. No improvement.
Maybe it's because video drivers are loaded before mouse and keyboard modules? It's just my suggestion
Adding Load "ramdac" in module section should fix this unresolved symbols problem. I'm curious why xorg doesn't load this module automaticly
Now it's a new error message: dlopen: /usr/lib/xorg/modules/nv_drv.so: undefined symbol: vgaHWInit Can you help me? Thanks, Tobi
Did you build xorg-server and the drivers with a hardened gcc?
No. But its gcc 3.4.4 Tobi
this is definitely the -z now problem.
Tobias: 'emerge info' please.
[00:29:58]|[tobi@tobi-rechner]|~$ emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15.1 i686) ================================================================= System uname: 2.6.15.1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d/local.start /etc/fstab /etc/init.d/keymaps /etc/modules.autoload.d/kernel-2.6 /etc/rc.conf /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow 3dnowext X aac aalib alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr crypt css cups curl divx4linux dvb dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gpm gtk gtk2 idn imagemagick imlib java jpeg jpeg2k junit kde lcms ldap libg++ libwww lirc live mad mhash mikmod mmx mmxext mng motif mp3 mpeg msn nas ncurses network nls nsplugin ntpl nvidia offensive ogg oggvorbis opengl osd oss pam pcre pdflib perl png python qt quicktime readline real rtc samba sdl sensord slang spell sse ssl svga tcltk tcpd thread tiff truetype truetype-fonts type1-fonts udev usb vcd visualization vorbis win32codecs wmf xine xml xml2 xmms xosd xprint xv xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
Could you attach (not paste, please) your log with the new failure?
(In reply to comment #11) > Could you attach (not paste, please) your log with the new failure? > Hi, the problem is, that I can't build everything new due I have to learn, but everything except: dlopen: /usr/lib/xorg/modules/nv_drv.so: undefined symbol: vgaHWInit looks very fine if I remember corectly. This message occurs after xorg tried to load nv. Hope that will help you.
Unfortunately I'm still not sure what's going on. I'll mark this NEEDINFO until we do get more information on it. If you want to try something overnight, 'emerge -e world' couldn't hurt.
Created attachment 79100 [details] startx error log
Created attachment 79101 [details] X -configure error log
Ya, I really don't see anything suspicious. Try (at the very least) doing 'emerge -e xorg-x11'. That should at least get the build consistant.
(In reply to comment #16) > Ya, I really don't see anything suspicious. > > Try (at the very least) doing 'emerge -e xorg-x11'. That should at least get > the build consistant. > Do I need this? I removed the xorg-x11-6.9....version, then emerged xorg-x11 with all its dependencies (90 packages) After that I should remerge all these packages? Okay, I*ll give it a try.
Did you follow http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml when removing 6.9?
emerge -e xorg-x11 tooks 5 hours with no new result. Yes, i followed this howto. But there weren't really new things: 1) emerge -C xorg-x11 virtual/x11 2) delete symlink if it isn't pointing to ../usr (which it is) It must have something to do with my grafic card, because my laptop ist using xorg7 without problems. Tobi
Graphics card shouldn't cause this problem. Is there any reason you don't want to use the nVidia binary drivers?
(In reply to comment #20) > Graphics card shouldn't cause this problem. > > Is there any reason you don't want to use the nVidia binary drivers? > Binary drivers? I use nv, from xf86-video-nv, because nvidia-kernel isn't working. He can't find the module, beceause the path has changed. In fact it is not important to me which drivers I use. But it should work some day... Thanks Tobi
*** Bug 127369 has been marked as a duplicate of this bug. ***
Still a problem with 1.0.2.0? Reopen when you reply.
(In reply to comment #23) > Still a problem with 1.0.2.0? Reopen when you reply. > Yes still the same Problem with: x11-base/xorg-server-1.0.2-r1 x11-drivers/xf86-video-nv-1.0.1.5 dlopen: /usr/lib/xorg/modules/nv_drv.so: undefined symbol: vgaHWInit thats the error message Thank you
Please update your gcc to 3.4.6, then update xorg-server to -r3 and recompile the nv driver. Again, reopen when you reply.
Works for me. See Xorg.0.log-nv-works.txt for output showing it working.
Created attachment 84010 [details] Xorg.0.log showing working with 1.0.2
(In reply to comment #25) > Please update your gcc to 3.4.6, then update xorg-server to -r3 and recompile > the nv driver. Again, reopen when you reply. > Still the same. No improvement. Any idea? Is it because of my GeForce2 Titanium? Tobi
USE Flag +dri helped