Fwd: Avivo problems

Felipe Contreras felipe.contreras at gmail.com
Tue Sep 4 09:02:05 PDT 2007


---------- Forwarded message ----------
From: Felipe Contreras <felipe.contreras at gmail.com>
Date: Sep 4, 2007 6:51 PM
Subject: Avivo problems
To: Jerome Glisse <glisse at freedesktop.org>
Cc: xorg-devel at freedesktop.org


Hi,

I have been trying to use avivo with my external LCD with no luck. I
just get a black screen.

I'm attaching what avivotool gets with fglrx and avivo. When I try to
set the registers to the same values the value actually set is
different:

sudo ./avivotool regset AVIVO_CRTC2_CNTL 0x00010101
OLD: AVIVO_CRTC2_CNTL (6880)    0x00000101 (257)
NEW: AVIVO_CRTC2_CNTL (6880)    0x00000101 (257)

I followed Glisse's recommendation to change the dac src register
(AVIVO_DAC2_CRTC_SOURCE).

It's weird that fglrx set it to 1 and it works but I have to set it to
0. So with 0 I can see something, but the mode is different and it's
wiggling all the time.

Any ideas?


-- 
Felipe Contreras
-------------- next part --------------
Avivo engine:
AVIVO_ENGINE_STATUS	0100c000

Memory controller:
MC00	00000000
MC01	dbffd800
MC02	003f0000
MC03	00000000
AVIVO_MC_MEMORY_MAP	00000000
MC05	00000140
MC06	00065432
MC07	00000066
MC08	0000000f
MC09	03000000
MC0a	20000000
MC0b	00000000
MC0c	22222222
MC0d	00000000
MC0e	00210800
MC0f	0c004208
MC10	00000000
MC11	00000000
MC12	00000000
MC13	00000000
MC14	00000000
MC15	00000000
MC16	00000000
MC17	00000000
MC18	00000000

CRTC1:
AVIVO_CRTC1_CNTL	00010101
	Enable:	1
	Mystery bit #1:	1
	Mystery bit #2:	1
AVIVO_CRTC1_MODE	00000000
	Text mode:	0
AVIVO_CRTC1_H_TOTAL	1687 (decimal)
AVIVO_CRTC1_H_BLANK	00f00668
	Total - Pulse start + disp:	            1640
	Total - disp:	             240
AVIVO_CRTC1_H_SYNC_WID	00700000
	Sync width:	     112
AVIVO_CRTC1_H_SYNC_POL	00000001
	Polarity:	1
AVIVO_CRTC1_V_TOTAL	1065 (decimal)
AVIVO_CRTC1_V_BLANK	000f0429
	Total - Pulse start + disp:	            1065
	Total - disp:	              15
AVIVO_CRTC1_V_SYNC_WID	00030000
	Sync width:	       3
AVIVO_CRTC1_V_SYNC_POL	00000001
	Polarity:	1
AVIVO_CRTC1_SCAN_ENABLE	00000001
AVIVO_CRTC1_FB_FORMAT	00000002
	Format:	   2
AVIVO_CRTC1_FB_LOCATION	d8000000
AVIVO_CRTC1_FB_END	d888b800
AVIVO_CRTC1_PITCH	1792 (decimal)
AVIVO_CRTC1_X_LENGTH	1600 (decimal)
AVIVO_CRTC1_Y_LENGTH	1600 (decimal)
AVIVO_CRTC1_EXPANSION_CNTL	00000001
	Enable:	1
AVIVO_CRTC1_EXPANSION_SOURCE	0578041a
	Height:	            1400
	Width:	            1050
AVIVO_CRTC1_OFFSET_START	00000000
	x:	               0
	y:	               0
AVIVO_CRTC1_OFFSET_END	04f8039a
	x:	            1272
	y:	             922

CRTC2:
AVIVO_CRTC2_CNTL	00000101
	Enable:	1
	Mystery bit #1:	1
	Mystery bit #2:	0
AVIVO_CRTC2_MODE	00000001
	Text mode:	0
AVIVO_CRTC2_H_TOTAL	2159 (decimal)
AVIVO_CRTC2_H_BLANK	01f00830
	Total - Pulse start + disp:	            2096
	Total - disp:	             496
AVIVO_CRTC2_H_SYNC_WID	00c00000
	Sync width:	     192
AVIVO_CRTC2_H_SYNC_POL	00000000
	Polarity:	0
AVIVO_CRTC2_V_TOTAL	1249 (decimal)
AVIVO_CRTC2_V_BLANK	003104e1
	Total - Pulse start + disp:	            1249
	Total - disp:	              49
AVIVO_CRTC2_V_SYNC_WID	00030000
	Sync width:	       3
AVIVO_CRTC2_V_SYNC_POL	00000000
	Polarity:	0
AVIVO_CRTC2_SCAN_ENABLE	00000001
AVIVO_CRTC2_FB_FORMAT	00000002
	Format:	   2
AVIVO_CRTC2_FB_LOCATION	d8000000
AVIVO_CRTC2_FB_END	d89c4000
AVIVO_CRTC2_PITCH	1792 (decimal)
AVIVO_CRTC2_X_LENGTH	1600 (decimal)
AVIVO_CRTC2_Y_LENGTH	1600 (decimal)

DAC1:
AVIVO_DAC1_CNTL	00000001
AVIVO_DAC1_MYSTERY1	00000000
AVIVO_DAC1_MYSTERY2	00000000

DAC2 disabled

TMDS1 disabled (not present)

TMDS2:
AVIVO_TMDS2_CNTL	01001001
	Enable:	1
AVIVO_TMDS_STATUS	00000000
	TMDS2 connected:	0
AVIVO_TMDS2_CLOCK_ENABLE	00000000
AVIVO_TMDS2_CLOCK_CNTL	00001e1e
AVIVO_TMDS2_MYSTERY1	d1010000
AVIVO_TMDS2_MYSTERY2	00000001
AVIVO_TMDS2_MYSTERY3	00630011

LVDS disabled

Cursor 1 disabled
-------------- next part --------------
Avivo engine:
AVIVO_ENGINE_STATUS	0100c000

Memory controller:
MC00	00000000
MC01	c3ffc000
MC02	003f0000
MC03	00000000
AVIVO_MC_MEMORY_MAP	00000000
MC05	00000140
MC06	00065432
MC07	00000066
MC08	0000000f
MC09	03000000
MC0a	20000000
MC0b	00000000
MC0c	22222222
MC0d	00000000
MC0e	00210800
MC0f	0c004208
MC10	00000000
MC11	00000000
MC12	00000000
MC13	00000000
MC14	00000000
MC15	00000000
MC16	00000000
MC17	00000000
MC18	00000000

CRTC1:
AVIVO_CRTC1_CNTL	00010101
	Enable:	1
	Mystery bit #1:	1
	Mystery bit #2:	1
AVIVO_CRTC1_MODE	00000000
	Text mode:	0
AVIVO_CRTC1_H_TOTAL	1687 (decimal)
AVIVO_CRTC1_H_BLANK	00f00668
	Total - Pulse start + disp:	            1640
	Total - disp:	             240
AVIVO_CRTC1_H_SYNC_WID	00700000
	Sync width:	     112
AVIVO_CRTC1_H_SYNC_POL	00000001
	Polarity:	1
AVIVO_CRTC1_V_TOTAL	1065 (decimal)
AVIVO_CRTC1_V_BLANK	000d0427
	Total - Pulse start + disp:	            1063
	Total - disp:	              13
AVIVO_CRTC1_V_SYNC_WID	00010000
	Sync width:	       1
AVIVO_CRTC1_V_SYNC_POL	00000001
	Polarity:	1
AVIVO_CRTC1_SCAN_ENABLE	00000001
AVIVO_CRTC1_FB_FORMAT	00000002
	Format:	   2
AVIVO_CRTC1_FB_LOCATION	c0000000
AVIVO_CRTC1_FB_END	c0500000
AVIVO_CRTC1_PITCH	1408 (decimal)
AVIVO_CRTC1_X_LENGTH	1400 (decimal)
AVIVO_CRTC1_Y_LENGTH	1050 (decimal)
AVIVO_CRTC1_EXPANSION_CNTL	00000000
	Enable:	0
AVIVO_CRTC1_EXPANSION_SOURCE	0578041a
	Height:	            1400
	Width:	            1050
AVIVO_CRTC1_OFFSET_START	00000000
	x:	               0
	y:	               0
AVIVO_CRTC1_OFFSET_END	04f8039a
	x:	            1272
	y:	             922

CRTC2:
AVIVO_CRTC2_CNTL	00010101
	Enable:	1
	Mystery bit #1:	1
	Mystery bit #2:	1
AVIVO_CRTC2_MODE	00000000
	Text mode:	0
AVIVO_CRTC2_H_TOTAL	2159 (decimal)
AVIVO_CRTC2_H_BLANK	01f00830
	Total - Pulse start + disp:	            2096
	Total - disp:	             496
AVIVO_CRTC2_H_SYNC_WID	00c00000
	Sync width:	     192
AVIVO_CRTC2_H_SYNC_POL	00000000
	Polarity:	0
AVIVO_CRTC2_V_TOTAL	1249 (decimal)
AVIVO_CRTC2_V_BLANK	003104e1
	Total - Pulse start + disp:	            1249
	Total - disp:	              49
AVIVO_CRTC2_V_SYNC_WID	00030000
	Sync width:	       3
AVIVO_CRTC2_V_SYNC_POL	00000000
	Polarity:	0
AVIVO_CRTC2_SCAN_ENABLE	00000001
AVIVO_CRTC2_FB_FORMAT	00000002
	Format:	   2
AVIVO_CRTC2_FB_LOCATION	c0000000
AVIVO_CRTC2_FB_END	c0500000
AVIVO_CRTC2_PITCH	1408 (decimal)
AVIVO_CRTC2_X_LENGTH	1400 (decimal)
AVIVO_CRTC2_Y_LENGTH	1050 (decimal)

DAC1:
AVIVO_DAC1_CNTL	00000001
AVIVO_DAC1_MYSTERY1	00000000
AVIVO_DAC1_MYSTERY2	00000000

DAC2 disabled

TMDS1 disabled (not present)

TMDS2:
AVIVO_TMDS2_CNTL	01001001
	Enable:	1
AVIVO_TMDS_STATUS	00000000
	TMDS2 connected:	0
AVIVO_TMDS2_CLOCK_ENABLE	00000000
AVIVO_TMDS2_CLOCK_CNTL	00001e1e
AVIVO_TMDS2_MYSTERY1	d1010000
AVIVO_TMDS2_MYSTERY2	00000001
AVIVO_TMDS2_MYSTERY3	00630011

LVDS disabled

Cursor 1 disabled


More information about the xorg mailing list