[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xserver didn't start



Brenden T. wrote:

Kent West wrote:

markspace wrote:

Hi all, I have a new debian install on a machine with a Geforce 2 video card. After the install was complete, the Xserver refused to start, so I have no gui. I'm not sure where to start debugging this.

Look at the messages displayed on console.
Look in the log file (/var/log/XFree86.0.log).
Run startx manually, and pipe the error output to a file, and then look at the file ("startx 2 > startx.errorlog", "less startx.errorlog").


The log file I think is most useful. It looks like it's looking for a PCI device with a 1:0:0 signature. (I remember now being asked this question during installation. Who the heck knows what the PCI signatures are of their cards? What was the install module write thinking asking people this?)

I need to switch this to an AGP port, not PCI. So far web searches haven't been very productive (lots of hits for Debian+agp+xfree86, none relavent). Anyone got a pointer?

(II) LoadModule: "nv"
(II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o
(II) Module nv: vendor="The XFree86 Project"
   compiled for 4.3.0.1, module version = 1.0.1
   Module class: XFree86 Video Driver
   ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
   compiled for 4.3.0.1, module version = 1.0.0
   Module class: XFree86 XInput Driver
   ABI class: XFree86 XInput driver, version 0.4
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2, Vanta,
 <<SNIPPED LOTS>>
(II) Primary Device is: PCI 01:00:0
(WW) NV: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) No devices detected.

Fatal server error:
no screens found




On x86 PCs, the BusID of the video card can usually be left blank (unless you have multiple video cards). You can reset this by removing the BusID line from "/etc/X11/XF86Config", but I would not suggest that (but go ahead and look at the file, to start getting familiar with it), as it will break debconf's ability to modify this file on future upgrades. Instead, use "dpkg-reconfigure xserver-xfree86" to be asked several questions about your video setup, including the BusID of the video card, at which time you either want to leave it blank or fill in the correct info.

You can get the BusID of the video card with the "lspci" command. Even though it's an AGP card, it'll show up in the PCI listing. Here's mine:

westk[@westk03]:/home/westk> lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] 0000:00:09.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
0000:00:0b.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 0000:00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 30) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RL/VR AGP


Notice I have two video controllers; an ATI Rage 128 at BusID 1:0:0 (which is an AGP card), and an S3 Virge at 00:0b:0 (which is a PCI card). Notice that these numbers are in hex, but the XF86Config-4 file expects them in decimal. Here's the corresponding sections of my XF86Config-4 file:

Section "Device"
        Identifier      "ATI Rage 128"
        Driver          "ati"
        BusID           "PCI:01:0:0"
EndSection

Section "Device"
        Identifier      "Diamond Stealth 64 S3"
        Driver          "s3virge"
        BusID           "PCI:0:11:0"
EndSection

--
Kent




Reply to: