You are not logged in.

#1 2011-08-30 15:01:57

Le Limule
Member
Registered: 2011-08-19
Posts: 11

[SOLVED] bad resolution - no other resolution - radeon 9000 Pro

hello,

(english isn't my native language)
i had a graphic problem; the resolution was fixed at 1280x1024, whatever the monitor i tried (i have a 17" CRT and a 1440x900 LCD). xrandr shows only this resolution. when i tested another resolution (with xrandr, after adding a new resolution (cvt, newmode, ...)) it said "Configure crtc 0 failed" (whatever the monitor was) and nothing changed.

context: radeon 9000 Pro (RV250) - i use the VGA output, Linux ctkarch 3.0-ARCH #1 SMP PREEMPT.

at last i found the solution:
the short answer: put the driver "radeon" for _all_ the 3 outputs of the card!


now the story:

at the beginning X didn't start; it tried to start but it failed. i created xorg.conf with X -configure. the xorg.conf shows 3 device sections (1 for each output i think (VGA, S-Video, DVI)). and 1 driver for each device section (radeon, fbdev, vesa). at this time i didn't pay attention to that.
after the creation of xorg.conf, X started. but with the resolution pb i talked upper.

this is what seems relevant to me:

xorg.conf generated by X -configure:
http://pastebin.archlinux.fr/433722


[root@ctkarch arch]# lspci -vvv
...
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01) (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited RV250 If [Radeon 9000 "Atlantis"]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 9000 [size=256]
	Region 2: Memory at f5000000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at f4000000 [disabled] [size=128K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: radeon
	Kernel modules: radeonfb, radeon

01:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon 9000] (Secondary) (rev 01)
	Subsystem: PC Partner Limited Device 7193
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: Memory at e8000000 (32-bit, prefetchable) [disabled] [size=128M]
	Region 1: Memory at f5010000 (32-bit, non-prefetchable) [disabled] [size=64K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

...


[arch@ctkarch ~]$ cat /var/log/Xorg.0.log|grep -i fbdev
[    15.198] (II) LoadModule: "fbdev"
[    15.198] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    15.348] (II) Module fbdev: vendor="X.Org Foundation"
[    15.354] (II) FBDEV: driver for framebuffer: fbdev
[    15.379] (II) Loading sub module "fbdevhw"
[    15.379] (II) LoadModule: "fbdevhw"
[    15.379] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    15.389] (II) Module fbdevhw: vendor="X.Org Foundation"
[    15.389] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    15.389] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    15.389] (**) FBDEV(0): claimed PCI slot 1@0:0:0
[    15.389] (II) FBDEV(0): using default device
[    15.389] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    15.389] (==) FBDEV(0): RGB weight 888
[    15.389] (==) FBDEV(0): Default visual is TrueColor
[    15.389] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    15.389] (II) FBDEV(0): hardware: radeondrmfb (video memory: 5120kB)
[    15.389] (II) FBDEV(0): checking modes against framebuffer device...
[    15.389] (II) FBDEV(0): checking modes against monitor...
[    15.389] (--) FBDEV(0): Virtual size is 1280x1024 (pitch 1280)
[    15.389] (**) FBDEV(0):  Built-in mode "current"
[    15.389] (==) FBDEV(0): DPI set to (96, 96)
[    15.394] (**) FBDEV(0): using shadow framebuffer
[    15.428] (==) FBDEV(0): Backing store disabled
[    15.429] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument

...

[arch@ctkarch ~]$ cat /var/log/Xorg.0.log|grep -i vesa
[    15.220] (II) LoadModule: "vesa"
[    15.220] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    15.226] (II) Module vesa: vendor="X.Org Foundation"
[    15.227] (II) VESA: driver for VESA chipsets: vesa
[    15.261] (WW) Falling back to old probe method for vesa
[    15.272] (II) UnloadModule: "vesa"
[    15.272] (II) Unloading vesa
[arch@ctkarch ~]$
[arch@ctkarch ~]$ cat /var/log/Xorg.0.log|grep -i radeon
[    15.261] (II) FBDEV(0): hardware: radeondrmfb (video memory: 5120kB)
[arch@ctkarch ~]$

i didn't understand why it loads fbdev and vesa, and not "radeon". finally i notice fbdev and vesa in the 2nd and 3rd device sections of xorg.conf. so i change them for "radeon"... and everything works, default resolution is good, resolution change is ok, no more fbdev and vesa in the logs...


but it seems strange to me that Xorg don't detect automaticaly the correct config to use.

Offline

Board footer

Powered by FluxBB