[問題]rebuild xserver後, 以自編的nvidia無法啟動x-windows

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

[問題]rebuild xserver後, 以自編的nvidia無法啟動x-windows

文章nulz » 週五 4月 30, 2004 10:44 pm

今天用apt-build rebuild了 xserver, 中途沒有發生錯誤
重新開機後無法進入gnome, error msg大概是
代碼: 選擇全部
nvidia_drv.o is unresolved

我想說nvidia_drv是nvidia-glx連的東西, 於是再用apt-build把他抓下來rebuild
rebuild+install後重開機, 出現不一樣的error msg(init 5):
代碼: 選擇全部
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.

Fatal server error:
no screens found

打startx後出現的error msg:
代碼: 選擇全部
XXIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1 (Debian (static) 4.3.0-7 20040430045132 root@system.mt)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.6-rc2 i686 [ELF]
Build Date: 30 April 2004
   Before reporting problems, check http://www.XFree86.Org/
   to make sure that you have the latest version.
OS Kernel: Linux version 2.6.6-rc2 (root@mt) (gcc version 3.3.3 (Debian 20040401)) #1 Fri Apr 30 20:42:21 CST 2004 T
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/XFree86.0.log", Time: Fri Apr 30 22:22:55 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(EE) No devices detected.

Fatal server error:
no screens found

這是我的XF86Config-4:
代碼: 選擇全部
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#

# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
#   RgbPath    "/usr/X11R6/lib/X11/rgb"

#   FontPath   "unix/:7100"         # local font server
   FontPath   "unix/:7110"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/TrueType"
#   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
#   FontPath   "/usr/lib/X11/fonts/CID"
#   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#   FontPath   "/usr/lib/X11/fonts/Type1"
   FontPath   "/usr/lib/X11/fonts/Speedo/:unscaled"
#   FontPath   "/usr/lib/X11/fonts/100dpi"
#   FontPath   "/usr/lib/X11/fonts/75dpi"
   FontPath   "/usr/lib/X11/fonts/misc/:unscaled"
EndSection

Section "Module"
#        Load    "xtt"
   Load   "xfs-xtt"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
#   Load   "extmod"
   SubSection "extmod"
      Option "omit xfree86-dga"
   EndSubSection
#   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "speedo"
#   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xfree86"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
#   Option      "SendCoreEvents"   "true"
#   Option      "Device"      "/dev/psaux"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
   Option      "Resolution"      "3000"
   Option          "Buttons"               "7"
EndSection

#Section "InputDevice"
#   Identifier   "Generic Mouse"
#   Driver      "mouse"
#   Option      "SendCoreEvents"   "true"
#   Option      "Device"      "/dev/input/mice"
#   Option      "Protocol"      "ImPS/2"
#   Option      "Emulate3Buttons"   "true"
#   Option      "ZAxisMapping"      "4 5"
#EndSection

Section "Device"
   Identifier   "nVidia GeForce Ti 4200"
   Driver      "nvidia"
   BusID      "PCI:01:00:00"
   VideoRam   65536

   ################################################
   
   Option "NvAGP" "1"          # Default: 3
   Option "NoLogo" "1"          # Default: 0
   Option "NoFlip" "1"          # Default: 0

   Option "SWCursor" "0"
   Option "HWCursor" "1"
   Option "CursorShadow" "1"       # Default: 0
   Option "CursorShadowAlpha" "64"     # Default: 64
   Option "CursorShadowXOffset" "4"    # Default: 4
   Option "CursorShadowYOffset" "2"    # Default: 2

   Option "NoBandWidthTest" "1"       # Default: 0

   Option "MultisampleCompatibility" "1"
      # Default: a singlemultisample
         # buffer is shared between the front and back buffers.

   Option "NoPowerConnectorCheck" "1"
      # Default: the power connector test is performed.

   ##########################################

EndSection

Section "Monitor"
   Identifier   "Mitac T15EX"
   HorizSync   45-60 # default: 28-50
   VertRefresh   60-75
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "nVidia GeForce Ti 4200"
   Monitor      "Mitac T15EX"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
#   InputDevice   "Generic Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection


XF86Config-4沒有動到, 與之前正常時一樣

不過我有試一下, 把顯示卡區段的Driver "nvidia"改成"nv"就可以進gnome了, 改回nvidia就不行

我的debian是testing, kernel是2.6.6-rc2, nvidia-kernel是用apt-get抓下來compile的, 在rebuild xserver之前都正常地工作

請大大們罩一下, 我快瘋了 :(
感謝 :)
nulz
 

re:[問題]rebuild xserver後, 以自編的nvidia無法啟動x-windows

文章doxgen » 週六 5月 01, 2004 2:36 pm

how about reinstall your nvidia-kernel package?
or reinstall NVIDIA-Linux-x86-1.0-xxxx.run installer?
doxgen
可愛的小學生
可愛的小學生
 
文章: 27
註冊時間: 週一 10月 13, 2003 1:56 pm
來自: Shanghai

re:[問題]rebuild xserver後, 以自編的nvidia無法啟動x-windows

文章訪客 » 週六 5月 01, 2004 2:58 pm

如果你是指重新compile nvidia-kernel-source,我也試過了,還是不行
:)
訪客
 


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客