Mac mini PPC X.org 1.3.0 (Ubuntu gutsy) and Evesham Alqemi S LCD TV

Stuart Langridge sil at kryogenix.org
Wed Jan 23 10:58:30 PST 2008


(sorry, Alex, forgot to cc list)

> > OK, just tried that. I get the same effect with the cvt-created
> > modeline as I did before with the non-cvt 1280x720 mode; the
> > right-hand part of the screen is oddly corrupted. (It looks to me as
> > if the "1280x720" is only taking up the left-hand 75% of the screen,
> > and the right-hand 25% is just uninitialised in some way, or similar?)
>
> do any other modes work?  720x480, 1280x768, 1366x768?  Does switching
> VTs help in this case as well?

No other modes work using HDMI. 640x480 works fine; 1280x720 (whether
using a cvt-created modeline or not) gives the
"right-hand-25%-of-screen-corrupted" effect as above; all other modes
flicker for about two seconds and then the screen goes black.
Switching VTs doesn't help.

>when you use the VGA port the driver is not able to detect any
>monitors attached so it fails.  Your adapter must block your monitor's
>edid.  If you grab ati git master, it will back to a default output if
>nothing is connected.  You might also try Option "TVDACLoadDetect"
>true"

I'll try that option and report back. (I'm scared of compiling X. Call
me a wimp. :))

>> Ah, sorry. When X starts, the screen is entirely black/blank. A VT
>> switch makes X appear.
> Weird.  Can you dump the regs before and after switching the VT using
> radeontool (http://gitweb.freedesktop.org/?p=users/airlied/radeontool.git;a=summary)?
>
> (as root)
> ./radeontool regmatch '*' > before.regs
> switch VT
> (as root) ./radeontool regmatch '*' > after.regs

Done. Both files are available at
http://kryogenix.org/random/alqemi-s/#radeontool-hdmi and here's a
diff between the two (I don't know which is more useful). (This
process was a lot easier after I noticed your link to radeontool above
rather than trying to use a program of the same name packaged for
Ubuntu :)) I'm hoping you're now going to say something like "add
'radeontool --set-broken-register A=5' to your X startup and it'll fix
it"!

aquarius at tv:~/radeontool/radeontool$ diff before.regs after.regs
22,23c22,23
< AUX3_SC_BOTTOM (1690) 0x00005353
< AUX3_SC_LEFT (1684)   0x00000453
---
> AUX3_SC_BOTTOM (1690) 0x00000404
> AUX3_SC_LEFT (1684)   0x00000404
70c70
< CRTC_CRNT_FRAME (0214)        0x00031c33
---
> CRTC_CRNT_FRAME (0214)        0x000323b3
75c75
< CRTC2_GEN_CNTL (03f8) 0x34800200
---
> CRTC2_GEN_CNTL (03f8) 0x04000200
87c87
< CRTC_STATUS (005c)    0x00000003
---
> CRTC_STATUS (005c)    0x00000006
92c92
< CRTC_VLINE_CRNT_VLINE (0210)  0x01fc0000
---
> CRTC_VLINE_CRNT_VLINE (0210)  0x01410000
110c110
< DAC_CNTL (0058)       0xff00a102
---
> DAC_CNTL (0058)       0xff002102
113,114c113,114
< DAC_MACRO_CNTL (0d04) 0x00070806
< TV_DAC_CNTL (088c)    0x07570140
---
> DAC_MACRO_CNTL (0d04) 0x00000806
> TV_DAC_CNTL (088c)    0x07570100
168c168
< FLUSH_1 (1704)        0x00000001
---
> FLUSH_1 (1704)        0x00000000
184c184
< FP_GEN_CNTL (0284)    0x00030048
---
> FP_GEN_CNTL (0284)    0x000300cd
220c220
< GUI_SCRATCH_REG1 (15e4)       0x00000081
---
> GUI_SCRATCH_REG1 (15e4)       0x0000001d
226c226
< HOST_DATA0 (17c0)     0x00efebe7
---
> HOST_DATA0 (17c0)     0x00b1a598
255c255
< MDGPIO_Y_REG (01b4)   0x0b000000
---
> MDGPIO_Y_REG (01b4)   0x074b24b2
262c262
< MEM_STR_CNTL (0150)   0x01e1f837
---
> MEM_STR_CNTL (0150)   0x01e1f833
337c337
< SC_BOTTOM (164c)      0x00000017
---
> SC_BOTTOM (164c)      0x00000019
340,342c340,342
< SC_LEFT (1640)        0x00000155
< SC_RIGHT (1644)       0x00000156
< SC_TOP (1648) 0x00000001
---
> SC_LEFT (1640)        0x0000016b
> SC_RIGHT (1644)       0x00000280
> SC_TOP (1648) 0x00000018
357c357
< SRC_X (1414)  0x00000162
---
> SRC_X (1414)  0x00000000
359c359
< SRC_Y (1418)  0x00000001
---
> SRC_Y (1418)  0x00000507
409c409
< RB3D_COLOROFFSET (1c40)       0x98882000
---
> RB3D_COLOROFFSET (1c40)       0x988ae000
429c429
< TV_MASTER_CNTL (0800) 0x0000060b
---
> TV_MASTER_CNTL (0800) 0x000a0653

Hope that helps!

sil



More information about the xorg mailing list