LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Cannot start X with ATi Radeon X300 on Slackware 10.1 (http://www.linuxquestions.org/questions/linux-hardware-18/cannot-start-x-with-ati-radeon-x300-on-slackware-10-1-a-342601/)

belga 07-12-2005 05:59 PM

Cannot start X with ATi Radeon X300 on Slackware 10.1
 
I'm trying to get a Dell OptiPlex GX280 (P4 3.2/1GB RAM/160GB HD) to work with the video card in the subject. I managed to start X using the radeon driver included in X.org 6.8.2, but things were running a little slow... So I decided to install the binary driver from ATi.

Now X doesn't start, it's just a black screen with no mouse pointer and everything is frozen: Ctrl+Alt+Bkspc does nothing, Ctrl+Alt+Del makes one long beep and then nothing (?!); the only thing to do is to power the system off.

I see no errors in the X.org log, the only odd thing is a message about agpgart in the system bootup.

I'm running Slackware 10.1 upgraded to current, with kernel 2.4.29.

Here is the relevant info:

- lspci output
Code:

englebip@pauling:~$ /sbin/lspci
00:00.0 Host bridge: Intel Corp.: Unknown device 2580 (rev 04)
00:01.0 PCI bridge: Intel Corp.: Unknown device 2581 (rev 04)
00:1c.0 PCI bridge: Intel Corp. I/O Controller Hub PCI Express Port 0 (rev 03)
00:1c.1 PCI bridge: Intel Corp. I/O Controller Hub PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.1 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.2 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.3 USB Controller: Intel Corp. I/O Controller Hub USB (rev 03)
00:1d.7 USB Controller: Intel Corp. I/O Controller Hub USB2 (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corp. I/O Controller Hub Audio (rev 03)
00:1f.0 ISA bridge: Intel Corp. I/O Controller Hub LPC (rev 03)
00:1f.2 IDE interface: Intel Corp. I/O Controller Hub SATA cc=ide (rev 03)
00:1f.3 SMBus: Intel Corp. I/O Controller Hub SMBus (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5b60
01:00.1 Display controller: ATI Technologies Inc: Unknown device 5b70
02:00.0 Ethernet controller: Broadcom Corporation: Unknown device 1677 (rev 01)

- uname -r output
Code:

englebip@pauling:~$ uname -r
2.4.29

- /var/log/Xorg.0.log
Code:

englebip@pauling:~$ cat /var/log/Xorg.0.log | grep -e WW     
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local".
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/Speedo".
(WW) Open APM failed (/dev/apm_bios) (No such device)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): Cannot read colourmap from VGA.  Will restore with default
(WW) fglrx(0): [drm] using DRM defaults (QS_ID=99000000)

Code:

englebip@pauling:~$ tail /var/log/Xorg.0.log           
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Solid Lines
        Dashed Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                30 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete

- dmesg agp message
Code:

englebip@pauling:~$ dmesg | grep agp                       
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel(R) 915G, but could not find the secondary device. Assuming a non-integrated video card.
agpgart: no supported devices found.

-/etc/X11/xorg.conf
Code:

englebip@pauling:~$ cat /etc/X11/xorg.conf | grep -e '^[^#]'
Section "dri"
    Mode 0666
EndSection
Section "Module"
    Load        "dbe"  # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"  # libglx.a
    Load        "dri"  # libdri.a
EndSection
Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath  "/usr/X11R6/lib/X11/fonts/local"
    FontPath  "/usr/X11R6/lib/X11/fonts/misc"
    FontPath  "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath  "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"  "xorg"
    Option "XkbModel"  "pc101"
    Option "XkbLayout"  "us"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"  "ImPS/2"
    Option "ZAxisMapping"  "4 5"
    Option "Device"    "/dev/mouse"
EndSection
Section "Monitor"
    Identifier  "Monitor0"
    HorizSync  30-81
    VertRefresh 56-76
    Option "DPMS"
EndSection
Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName  "Unknown"
    Driver      "vga"
EndSection
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    #Option                              "NoDDC"
    Option "no_accel"                  "no"
    Option "no_dri"                    "no"
    Option "mtrr"                      "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option "DesktopSetup"              "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                "off"
    Option "HSync2"                    "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
    Option "NoTV"                      "yes"   
    Option "TVStandard"                "NTSC-M"   
    Option "TVHSizeAdj"                "0"   
    Option "TVVSizeAdj"                "0"   
    Option "TVHPosAdj"                  "0"   
    Option "TVVPosAdj"                  "0"   
    Option "TVHStartAdj"                "0"   
    Option "TVColorAdj"                "0"   
    Option "GammaCorrectionI"          "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"              "0x00000000"
    Option "VideoOverlay"              "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                "off"
    Option "PseudoColorVisuals"        "off"
    Option "Stereo"                    "off"
    Option "StereoSyncEnable"          "1"
    Option "FSAAEnable"                "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"          "no"
    Option "FSAACustomizeMSPos"        "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                "0"
    Option "BlockSignalsOnLock"        "on"
    Option "UseInternalAGPGART"        "no"
    Option "ForceGenericCPU"            "no"
    Option "KernelModuleParm"          "agplock=0" # AGP locked user pages: disabled
    BusID "PCI:1:0:0"    # vendor=1002, device=5b60
    Screen 0
EndSection
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor    "Monitor0"
    DefaultDepth 24
    #Option "backingstore"
    Subsection "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Any help will be appreciated.

vibrokatana 07-14-2005 01:15 PM

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

looks like you didnt change the xorg config to reflect the new driver, the ati website should have the correct settings to use, you may have broken the vga driver in installing the ati binary, all you should have to do it change the Driver ""

vibrokatana 07-14-2005 01:18 PM

on second thought try removing the first device line, it looks like xorg is confused by the two device entries and is trying to load 2 video card drivers on one, ati probably inserted the lines, and they probably mentioned something about deleting the lines in the readme


All times are GMT -5. The time now is 07:40 PM.