You are not logged in.

#1 2009-11-02 00:04:38

oTarUX
Member
From: Argentina
Registered: 2009-10-29
Posts: 33

[SOLVED] can't start X with radeon driver

I have an old ati radeon 9200 pro pci (it has a dvi and a vga output) and can't start X if I use the radeon driver. First tried enabling kms as the wiki suggests but it' didn't work, I've ended up with a black screen (like a power saving signal send to the monitor) and the system hangs. Then I disabled kms at grub and it boots, but only in multiuser console mode. If I try to startx without a xorg.conf I get to a black screen and the system hangs. The only way I can get a desktop is using the vesa driver in xorg.conf. I've tried some options for the radeon module in the xorg.conf and in /etc/modprobe.d/radeon.conf and result is the same, black screen and system hangs. Looking at the logs doesn't help either 'cause there are no errors that I can find. I think I've red every post in this forum with the word radeon and googled a lot but couldn't find anything that did the trick.

cat /etc/X11/xorg.conf

Section "Device"
Identifier  "Card0"
Driver      "vesa"
VendorName  "ATI Technologies Inc"
BoardName   "RV280 [Radeon 9200 PRO]"
BusID       "PCI:0:15:0
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth     24
Modes    "1024x768" "800x600" "640x480"
EndSubSection
EndSection

cat /var/log/Xorg.0.log* | grep "(WW)";cat /var/log/Xorg.0.log* | grep "(EE)"

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xd7ffd000 is: 0xd7ffd000
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

cat /var/log/Xorg.0.* | grep drm;cat /var/log/Xorg.0.* | grep dri

(II) [KMS] drm report modesetting isn't supported.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:0f.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:0f.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:0f.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:0f.0
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEON(0): [drm] framebuffer handle = 0xd0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [drm] register handle = 0x2ca00000
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 11
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
X.Org XInput driver : 7.0
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) VESA: driver for VESA chipsets: vesa
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so
ABI class: X.Org XInput driver, version 7.0
X.Org XInput driver : 7.0
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
(II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.31.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [dri] Visual configs initialized

cat /var/log/messages.log | grep drm

Nov  1 19:51:28 saberx kernel: [drm] Initialized drm 1.1.0 20060810
Nov  1 19:51:28 saberx kernel: [drm] VGACON disable radeon kernel modesetting.
Nov  1 19:51:28 saberx kernel: [drm] Initialized radeon 1.31.0 20080528 for 0000:00:0f.0 on minor 0

Last edited by oTarUX (2009-11-04 17:07:54)


Circa mea pectora multa sunt suspiria
De tua pulchritudine, que me ledunt misere.
Tui lucent oculi sicut solis radii,
Sicut splendor fulguris, qui lucem donat tenebris.

Offline

#2 2009-11-02 12:08:40

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED] can't start X with radeon driver

Which xorg-server are you using - still 1.6, or already 1.7?


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2009-11-02 12:39:56

oTarUX
Member
From: Argentina
Registered: 2009-10-29
Posts: 33

Re: [SOLVED] can't start X with radeon driver

pacman -Q xorg-server
xorg-server 1.7.1-1

pacman -Q xf86-video-ati
xf86-video-ati 6.12.99.git20091014-1

pacman -Q libdrm
libdrm 2.4.15-1

pacman -Q at-dri
ati-dri 7.6-2

I've installed only xf86-video-ati and xf86-video-vesa, no testing repos. There's no need for any other video driver right?. My first tought was that it had something to do with the driver messing up agp and pci but I tried different things like adding a "radeon.agpmode=-1" to grub, "options radeon agpmode=-1" in /etc/modprobe.d/radeon.conf and/or /etc/modprobe.d/modprobe.conf and "Option "BusType" "PCI" in xorg.conf.
I'm using a 17'' Samsung SyncMaster 753DFX and the card was working less than a week ago in frugalware current, disabling kms (same box).
Any ideas?


Circa mea pectora multa sunt suspiria
De tua pulchritudine, que me ledunt misere.
Tui lucent oculi sicut solis radii,
Sicut splendor fulguris, qui lucem donat tenebris.

Offline

#4 2009-11-03 18:45:27

oTarUX
Member
From: Argentina
Registered: 2009-10-29
Posts: 33

Re: [SOLVED] can't start X with radeon driver

It's solved. Apparently the X -configure wasn't enough 'coz y mixed it with http://launchpadlibrarian.net/7850377/xorg.conf and added a few more lines and it worked. This is way too far from being an answer, it was just a lucky shot. It's unbelievable than rather needin' no xorg.conf at all or X -configure I had to add more and more. I'll post the file right here and then I'm going to try to strip it down and post it again. I hope someone finds this useful.

cat /etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option           "AIGLX" "true"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath       "/usr/share/fonts/misc"
    FontPath       "/usr/share/fonts/100dpi:unscaled"
    FontPath       "/usr/share/fonts/75dpi:unscaled"
    FontPath       "/usr/share/fonts/TTF"
    FontPath       "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "bitmap"
    Load  "dbe"
    Load  "ddc"
    Load  "dri"
    Load  "dri2"
    Load  "drm"
    Load  "extmod"
    Load  "freetype"
    Load  "glx"
    Load  "i2c"
    Load  "int10"
    Load  "radeon"
    Load  "record"
    Load  "v4l"
    Load  "vbe"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option      "XkbLayout" "es"
    Option      "XkbModel" "pc105"
    Option      "XkbRules" "xorg"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option     "CorePointer"
    Option     "Device" "/dev/input/mice"
    Option     "Protocol" "auto"
    Option     "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    DisplaySize   320   240
    Identifier       "Monitor0"
    VendorName "SAM"
    ModelName   "SyncMaster"
    HorizSync      30.0 - 71.0
    VertRefresh   50.0 - 160.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV280 [Radeon 9200 PRO]"
    BusID       "PCI:0:15:0"
    Option      "AccelDFS" "true"
    Option      "AccelMethod" "EXA"
    Option      "BusType" "PCI"
    Option      "ColorTiling" "on"
    Option      "DRI" "true"
    Option      "EnablePageFlip" "true"
    Option      "RenderAccel" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200"
    EndSubSection
EndSection

Section "DRI"
    Mode      0666
EndSection

Section "Extensions"
    Option    "Composite" "Enable"
EndSection


Circa mea pectora multa sunt suspiria
De tua pulchritudine, que me ledunt misere.
Tui lucent oculi sicut solis radii,
Sicut splendor fulguris, qui lucem donat tenebris.

Offline

Board footer

Powered by FluxBB