[ltp] ATI Radeon and external monitor troubles

Marcel Merkel linux-thinkpad@linux-thinkpad.org
Sat, 18 Aug 2007 14:43:39 +0200


Hi,

I'm struggling to get my external monitor on my t42 to work (laptop lcd
1024x7168) . I'm using debian unstable with the open source radeon
driver.

Clone mode is running fine if I plug in the monitor on the vga port
before booting linux. However if I start X first it doesn't work. I'm
fair to the system and shut down X then plug in the vga cord and start X
again. As far as I understand the monitor gets a signal but it doesn't
show anything, already tried a beamer and another monitor same results.

The xorg.log shows tons of lines like the following:

(II) RADEON(0): Not using default mode "1024x768" (bad mode
clock/interlace/doublescan)

and finally

(WW) RADEON(0): Mode pool is empty
(EE) RADEON(0): No valid modes found
(EE) RADEON(0): No valid mode found for CRTC2, disabling MergedFB
(II) RADEON(0): Total of 0 CRTC2 modes found for MergedFB------------ 

which I guess is my problem. I already tried to set the refresh rate and
stuff manually in device section but i had no luck with it (beside the
default values are fine, I checked it with the monitor specs) 

You can find my xorg.conf and XOrg.0.logs at
http://www.m-merkel.de/atiTroubles/ I also added a "working" Xorg.0.log
log file (plugin vga cable before booting linux). The differences are
very slim:

diff Xorg.0.log Xorg.good 
14c14
< (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 18 13:48:35 2007
---
> (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 18 13:57:27 2007
56c56
< (--) using VT number 7
---
> (++) using VT number 7
557c557
< (++) RADEON(0): "-dpi 100" given in command line, assuming
"ConstantDPI" set
---
> (++) RADEON(0): "-dpi 96" given in command line, assuming
"ConstantDPI" set
568c568,570
< drmOpenDevice: open result is 7, (OK)
---
> drmOpenDevice: open result is -1, (No such device or address)
> drmOpenDevice: open result is -1, (No such device or address)
> drmOpenDevice: Open failed
817c819
< (++) RADEON(0): DPI set to (100, 100)
---
> (++) RADEON(0): DPI set to (96, 96)
920,921c922,923
< (II) RADEON(0): [drm] added 8192 byte SAREA at 0xf8b99000
< (II) RADEON(0): [drm] mapped SAREA 0xf8b99000 to 0xb7b99000
---
> (II) RADEON(0): [drm] added 8192 byte SAREA at 0xf8b9e000
> (II) RADEON(0): [drm] mapped SAREA 0xf8b9e000 to 0xb7b64000
927c929
< (II) RADEON(0): [agp] Ring mapped at 0xb7a0c000
---
> (II) RADEON(0): [agp] Ring mapped at 0xb79d7000
929c931
< (II) RADEON(0): [agp] Ring read ptr mapped at 0xb7f11000
---
> (II) RADEON(0): [agp] Ring read ptr mapped at 0xb7edc000
931c933
< (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb5735000
---
> (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb5700000
933c935
< (II) RADEON(0): [agp] GART Texture map mapped at 0xb5255000
---
> (II) RADEON(0): [agp] GART Texture map mapped at 0xb5220000
1098a1101
> (**) RADEON(0): RADEONDisplayPowerManagementSet(0,0x0)

I also compared the registers with the radeontool they were exactly the
same:

RADEON_DAC_CNTL 00000002
RADEON_DAC_CNTL2        00000000
RADEON_TV_DAC_CNTL      00000000
RADEON_DISP_OUTPUT_CNTL 10000002
RADEON_CONFIG_MEMSIZE   02000000
RADEON_AUX_SC_CNTL      00000000
RADEON_CRTC_EXT_CNTL    00008000
RADEON_CRTC_GEN_CNTL    03200600
RADEON_CRTC2_GEN_CNTL   00000000
RADEON_DEVICE_ID        00004c57
RADEON_DISP_MISC_CNTL   5b300600
RADEON_GPIO_MONID       00000000
RADEON_GPIO_MONIDB      00000300
RADEON_GPIO_CRT2_DDC    00000300
RADEON_GPIO_DVI_DDC     00000300
RADEON_GPIO_VGA_DDC     00000300
RADEON_LVDS_GEN_CNTL    000dffa1
RADEON_FP_GEN_CNTL      00000000


Any pointers what I could do ? 



Cheers

Marcel