Bug 20008 - [GM965] VGA get a blank screen or scrambled.
Summary: [GM965] VGA get a blank screen or scrambled.
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: ykzhao
QA Contact: Xorg Project Team
URL: https://bugs.edge.launchpad.net/xserv...
Whiteboard:
Keywords: NEEDINFO
: 19951 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-08 05:54 UTC by Joss
Modified: 2009-08-20 05:57 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (26.26 KB, text/x-log)
2009-02-08 05:54 UTC, Joss
no flags Details
Xorg log intel drv ver 2.6.99 with mode debug (295.49 KB, text/x-log)
2009-02-09 01:48 UTC, Joss
no flags Details
Xorg log (87.23 KB, text/x-log)
2009-02-10 06:47 UTC, Joss
no flags Details
Xorg diff log (124.23 KB, text/x-log)
2009-02-10 06:50 UTC, Joss
no flags Details
Xorg log (211.46 KB, text/x-log)
2009-02-10 06:54 UTC, Joss
no flags Details
intel reg dump according to test case as comment #11 (10.64 KB, application/octet-stream)
2009-02-11 09:20 UTC, Joss
no flags Details
please try the patch, thanks. (375 bytes, patch)
2009-02-12 00:33 UTC, MaLing
no flags Details | Splinter Review
Reg_dump with tv output disabled (10.64 KB, application/octet-stream)
2009-02-12 10:23 UTC, Joss
no flags Details
please try the patch on your machine, thanks. (776 bytes, patch)
2009-02-12 23:09 UTC, MaLing
no flags Details | Splinter Review
please try this patch on your machine, thanks. (1.90 KB, application/octet-stream)
2009-02-13 00:36 UTC, MaLing
no flags Details
reg_dump (10.56 KB, application/octet-stream)
2009-02-13 09:29 UTC, Joss
no flags Details
reg_dump with ForecPipeAEnable (10.66 KB, application/octet-stream)
2009-02-20 09:11 UTC, Joss
no flags Details
Xorg log (449.63 KB, text/x-log)
2009-02-21 02:19 UTC, Joss
no flags Details
Xorg log (651.36 KB, text/x-log)
2009-02-24 02:49 UTC, Joss
no flags Details
reg dump (10.57 KB, application/octet-stream)
2009-02-24 02:50 UTC, Joss
no flags Details
please try the patch on your machine ,thanks (2.64 KB, patch)
2009-03-07 01:22 UTC, MaLing
no flags Details | Splinter Review
Xorg log with Ma Ling PLL patch (717.92 KB, text/x-log)
2009-03-07 04:36 UTC, Joss
no flags Details
reg umpd (21.22 KB, application/octet-stream)
2009-03-07 04:38 UTC, Joss
no flags Details
Xorg log (9.07 KB, text/plain)
2009-03-09 13:06 UTC, Joss
no flags Details
xorg.log (221.24 KB, text/x-log)
2009-03-11 07:01 UTC, Joss
no flags Details
hi joss, please use the patch based on latest driver on your machine, then upload log file with debug option on, thanks (13.80 KB, application/octet-stream)
2009-03-26 06:33 UTC, MaLing
no flags Details
xorrg log (224.64 KB, text/x-log)
2009-03-26 07:07 UTC, Joss
no flags Details
hi joss, please ignore comment #45, and use the patch on your machine under comment #44 environment, then upload log file with debug option thanks, (1.47 KB, patch)
2009-03-26 22:06 UTC, MaLing
no flags Details | Splinter Review
sorry, please try this patch to relace above one, thanks. (1.52 KB, application/octet-stream)
2009-03-26 22:18 UTC, MaLing
no flags Details
xorg.log (238.24 KB, text/x-log)
2009-03-27 07:27 UTC, Joss
no flags Details
please try the patch on your machine, thanks. (447 bytes, application/octet-stream)
2009-04-02 06:06 UTC, MaLing
no flags Details
xorg log (51.73 KB, application/x-gzip)
2009-04-04 02:18 UTC, Joss
no flags Details
xorg.log (156.83 KB, text/x-log)
2009-04-06 10:48 UTC, Joss
no flags Details
please try the patch on your machine, thanks. (15.31 KB, application/octet-stream)
2009-04-06 20:34 UTC, MaLing
no flags Details
xorg.log (31.20 KB, application/x-gzip)
2009-04-08 08:19 UTC, Joss
no flags Details
Xorg conf file (1.23 KB, application/octet-stream)
2009-06-30 23:11 UTC, Joss
no flags Details

Description Joss 2009-02-08 05:54:10 UTC
Created attachment 22691 [details]
Xorg log

The output monitor detection failed as it detects a TV monitor when no TV is plugged.
The VGA output modes are also incorrectly detected when a VGA monitor is plugged in.

As en attachement the Xorg.log and xrandr output when nothing is connected.

Thank you for taking this into consideration.

I also would like if someone can provide me some information (intel specifisations and a way to have more debug output from the intel driver) to resolve this bug myself if no one has time to look at it.

Bye

Attached : xrandr output
joss@joss-laptop:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 2640 x 800
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       59.9*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV connected (normal left inverted right x axis y axis)
   1024x768       30.0  
   800x600        30.0  
   848x480        30.0  
   640x480        30.0  


joss@joss-laptop:~$ xrandr --verbose
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 2640 x 800
VGA disconnected (normal left inverted right x axis y axis)
	Identifier: 0x3b
	Timestamp:  24655
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
LVDS connected 1280x800+0+0 (0x3e) normal (normal left inverted right x axis y axis) 331mm x 207mm
	Identifier: 0x3c
	Timestamp:  24655
	Subpixel:   horizontal rgb
	Clones:    
	CRTC:       1
	CRTCs:      1
	EDID_DATA:
		00ffffffffffff000daf261500000000
		09100103802115780ac6a99a574e8526
		1e505200000001010101010101010101
		010101010101bc1b00a0502017303020
		36004bcf10000018000000fe004e3135
		3449322d4c30320a2020000000fe0043
		4d4f0a202020202020202020000000fe
		004e31353449322d4c30320a20200088
	PANEL_FITTING: full
		supported: center       full_aspect  full        
	BACKLIGHT_CONTROL: kernel
		supported: native       legacy       combination  kernel      
	BACKLIGHT: 7 (0x00000007) range:  (0,7)
  1280x800 (0x3e)   71.0MHz -HSync -VSync *current +preferred
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock   49.3KHz
        v: height  800 start  803 end  809 total  823           clock   59.9Hz
  1024x768 (0x3f)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x40)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x41)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
TV connected (normal left inverted right x axis y axis)
	Identifier: 0x3d
	Timestamp:  24655
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	BOTTOM: 37 (0x00000025) range:  (0,100)
	RIGHT: 46 (0x0000002e) range:  (0,100)
	TOP: 36 (0x00000024) range:  (0,100)
	LEFT: 54 (0x00000036) range:  (0,100)
	TV_FORMAT: NTSC-M
		supported: NTSC-M       NTSC-443     NTSC-J       PAL-M       
		           PAL-N        PAL         
  1024x768 (0x80)   26.9MHz
        h: width  1024 start 1025 end 1088 total 1120 skew    0 clock   24.0KHz
        v: height  768 start  769 end  800 total  801           clock   30.0Hz
  800x600 (0x81)   17.0MHz
        h: width   800 start  801 end  864 total  896 skew    0 clock   19.0KHz
        v: height  600 start  601 end  632 total  633           clock   30.0Hz
  848x480 (0x82)   14.5MHz
        h: width   848 start  849 end  912 total  944 skew    0 clock   15.4KHz
        v: height  480 start  481 end  512 total  513           clock   30.0Hz
  640x480 (0x83)   11.3MHz
        h: width   640 start  641 end  704 total  736 skew    0 clock   15.4KHz
        v: height  480 start  481 end  512 total  513           clock   30.0Hz
Comment 1 Joss 2009-02-08 11:45:31 UTC
I just build the last revision from git (commit 3aa8591abfbe8db0f13912910c850fdd748808df )
and the detection of TV and VGA is working (although the tv disconnection looks like it's not detected, but that doesn't really matter).

When I try to activate the TV or VGA output, I got a blank tv or vga screen.

Here are some logs :

Just after X started :
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Video Bus: xkb_rules: "evdev"
(**) Option "xkb_model" "pc105"
(**) Video Bus: xkb_model: "pc105"
(**) Option "xkb_layout" "fr"
(**) Video Bus: xkb_layout: "fr"
(**) Option "xkb_variant" "oss"
(**) Video Bus: xkb_variant: "oss"
(II) intel(0): EDID vendor "CMO", prod id 5414
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 -hsync -vsync (49.3 kHz)
(II) intel(0): EDID vendor "CMO", prod id 5414
(EE) intel(0): underrun on pipe B!
AUDIT: Sun Feb  8 20:33:52 2009: 11675 X: client 4 rejected from local host ( uid=0 gid=0 pid=11703 )
AUDIT: Sun Feb  8 20:33:55 2009: 11675 X: client 4 rejected from local host ( uid=500 gid=500 pid=11711 )
AUDIT: Sun Feb  8 20:33:55 2009: 11675 X: client 4 rejected from local host ( uid=500 gid=500 pid=11712 )
AUDIT: Sun Feb  8 20:33:55 2009: 11675 X: client 4 rejected from local host ( uid=500 gid=500 pid=11713 )
(II) intel(0): EDID vendor "CMO", prod id 5414
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 -hsync -vsync (49.3 kHz)


When I run xrandr :
joss@joss-laptop:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 3048 x 2048
VGA connected (normal left inverted right x axis y axis)
   1280x1024      75.0 +   60.0     60.0  
   1680x1050      59.9 +   60.0  
   1600x1024      60.2  
   1400x1050      70.0     60.0  
   720x400        70.1  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       59.9*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)

Related Xlog :
(II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
(II) intel(0): EDID vendor "GSM", prod id 22122
(II) intel(0): EDID vendor "CMO", prod id 5414
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 -hsync -vsync (49.3 kHz)


When I try to enable the VGA screen :
(EE) intel(0): underrun on pipe B!
(II) intel(0): EDID vendor "GSM", prod id 22122
(II) intel(0): EDID vendor "CMO", prod id 5414

related xrandr output :
Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 3048 x 2048
VGA connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1280x1024      75.0 +   60.0     60.0  
   1680x1050      59.9*+   60.0  
   1600x1024      60.2  
   1400x1050      70.0     60.0  
   1440x900       75.0     59.9     60.0  
   720x400        70.1  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       59.9*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)


I'm trying to investigate this pipe underrun

See you
Comment 2 Joss 2009-02-08 12:13:56 UTC
I ran the same test with branch 2.5 and I got the same behaviour.

See you
Comment 3 Gordon Jin 2009-02-08 18:02:38 UTC
(In reply to comment #1)
> I just build the last revision from git (commit
> 3aa8591abfbe8db0f13912910c850fdd748808df )
> and the detection of TV and VGA is working (although the tv disconnection looks
> like it's not detected, but that doesn't really matter).
> 
> When I try to activate the TV or VGA output, I got a blank tv or vga screen.

Let's forget the older version driver in the original report, and stick to the latest git code. 
So the detection is correct, and the only problem is blank tv or vga screen. Let's focus on LVDS+VGA first.
Please attach the full log of that, with ModeDebug enabled, according to http://intellinuxgraphics.org/how_to_report_bug.html.

a single line of "underrun" normally doesn't hurt.
Comment 4 Michael Fu 2009-02-08 23:07:44 UTC
*** Bug 19951 has been marked as a duplicate of this bug. ***
Comment 5 Joss 2009-02-09 01:48:23 UTC
Created attachment 22705 [details]
Xorg log intel drv ver 2.6.99 with mode debug
Comment 6 Joss 2009-02-09 01:49:45 UTC
Here's the full log with latest revision. I did run it with latest libdrm
master branch (commit 9c8d634e687a5a5b5d314b3fd5b34cc17a217139 ).
I just paste here Xorg log when I try enabling the VGA output :



(II) intel(0): EDID for output TV
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
(II) intel(0): I2C device "CRTDDC_A:ddc2" removed.
(II) intel(0): I2C bus "CRTDDC_A" removed.
(II) intel(0): EDID for output VGA
(II) intel(0): Manufacturer: GSM  Model: 566a  Serial#: 5372
(II) intel(0): Year: 2007  Week: 12
(II) intel(0): EDID Version: 1.3
(II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
(II) intel(0): Sync:  Separate  SyncOnGreen
(II) intel(0): Max Image Size [cm]: horiz.: 49  vert.: 32
(II) intel(0): Gamma: 2.20
(II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.635 redY: 0.342   greenX: 0.292 greenY: 0.611
(II) intel(0): blueX: 0.147 blueY: 0.070   whiteX: 0.313 whiteY: 0.329
(II) intel(0): Supported VESA Video Modes:
(II) intel(0): 720x400@70Hz
(II) intel(0): 640x480@60Hz
(II) intel(0): 640x480@75Hz
(II) intel(0): 800x600@56Hz
(II) intel(0): 800x600@60Hz
(II) intel(0): 800x600@75Hz
(II) intel(0): 832x624@75Hz
(II) intel(0): 1024x768@60Hz
(II) intel(0): 1024x768@75Hz
(II) intel(0): 1280x1024@75Hz
(II) intel(0): 1152x870@75Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported Future Video Modes:
(II) intel(0): #0: hsize: 1440  vsize 900  refresh: 75  vid: 3989
(II) intel(0): #1: hsize: 1440  vsize 900  refresh: 60  vid: 149
(II) intel(0): #2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) intel(0): #3: hsize: 1280  vsize 960  refresh: 60  vid: 16513
(II) intel(0): #4: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 119.0 MHz   Image Size:  474 x 296 mm
(II) intel(0): h_active: 1680  h_sync: 1728  h_sync_end 1760 h_blank_end 1840
h_border: 0
(II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1080
v_border: 0
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 146.2 MHz   Image Size:  474 x 296 mm
(II) intel(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240
h_border: 0
(II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089
v_border: 0
(II) intel(0): Ranges: V min: 56 V max: 75 Hz, H min: 28 H max: 83 kHz,
PixClock max 150 MHz
(II) intel(0): Monitor name: L226W
(II) intel(0): EDID (in hex):
(II) intel(0):  00ffffffffffff001e6d6a56fc140000
(II) intel(0):  0c1101036a312078eaaec5a2574a9c25
(II) intel(0):  125054a76b80950f950081808140714f
(II) intel(0):  0101010101017c2e90a0601a1e403020
(II) intel(0):  3600da281100001a21399030621a2740
(II) intel(0):  68b03600da281100001c000000fd0038
(II) intel(0):  4b1c530f000a202020202020000000fc
(II) intel(0):  004c323236570a202020202020200023
(II) intel(0): EDID vendor "GSM", prod id 22122
(II) intel(0): Not using default mode "640x350" (vrefresh out of range)
(II) intel(0): Not using default mode "640x400" (vrefresh out of range)
(II) intel(0): Not using default mode "720x400" (vrefresh out of range)
(II) intel(0): Not using default mode "640x480" (vrefresh out of range)
(II) intel(0): Not using default mode "800x600" (vrefresh out of range)
(II) intel(0): Not using default mode "1024x768" (vrefresh out of range)
(II) intel(0): Not using default mode "1280x960" (vrefresh out of range)
(II) intel(0): Not using default mode "1280x1024" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1600x1200" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1600x1200" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1600x1200" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1600x1200" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1600x1200" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1792x1344" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1792x1344" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1856x1392" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1856x1392" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1920x1440" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1920x1440" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1360x768" (monitor doesn't support
reduced blanking)
(II) intel(0): Not using default mode "1400x1050" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1400x1050" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1680x1050" (monitor doesn't support
reduced blanking)
(II) intel(0): Not using default mode "1680x1050" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1680x1050" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1680x1050" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1920x1080" (monitor doesn't support
reduced blanking)
(II) intel(0): Not using default mode "1920x1200" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "1920x1440" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "2048x1536" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "2048x1536" (bad mode
clock/interlace/doublescan)
(II) intel(0): Not using default mode "2048x1536" (bad mode
clock/interlace/doublescan)
(II) intel(0): Printing probed modes for output VGA
(II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024
1025 1028 1066 +hsync +vsync (80.0 kHz)
(II) intel(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050
1053 1059 1080 +hsync -vsync (64.7 kHz)
(II) intel(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050
1053 1059 1089 -hsync +vsync (65.3 kHz)
(II) intel(0): Modeline "1600x1024"x60.2  103.12  1600 1600 1656 1664  1024
1024 1029 1030 +hsync +vsync (62.0 kHz)
(II) intel(0): Modeline "1400x1050"x70.0  145.06  1400 1496 1648 1896  1050
1051 1054 1093 -hsync +vsync (76.5 kHz)
(II) intel(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050
1052 1064 1082 +hsync +vsync (64.9 kHz)
(II) intel(0): Modeline "1280x1024"x60.0  108.88  1280 1360 1496 1712  1024
1025 1028 1060 -hsync +vsync (63.6 kHz)
(II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024
1025 1028 1066 +hsync +vsync (64.0 kHz)
(II) intel(0): Modeline "1440x900"x75.0  136.49  1440 1536 1688 1936  900 901
904 940 -hsync +vsync (70.5 kHz)
(II) intel(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903
909 934 -hsync +vsync (55.9 kHz)
(II) intel(0): Modeline "1440x900"x60.0  106.47  1440 1520 1672 1904  900 901
904 932 -hsync +vsync (55.9 kHz)
(II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961
964 1000 +hsync +vsync (60.0 kHz)
(II) intel(0): Modeline "1280x960"x60.0  102.10  1280 1360 1496 1712  960 961
964 994 -hsync +vsync (59.6 kHz)
(II) intel(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771
781 798 -hsync +vsync (47.7 kHz)
(II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865
868 900 +hsync +vsync (67.5 kHz)
(II) intel(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865
868 902 -hsync +vsync (67.7 kHz)
(II) intel(0): Modeline "1152x864"x75.0  104.99  1152 1224 1352 1552  864 865
868 902 -hsync +vsync (67.6 kHz)
(II) intel(0): Modeline "1152x864"x70.0   96.77  1152 1224 1344 1536  864 865
868 900 -hsync +vsync (63.0 kHz)
(II) intel(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865
868 895 -hsync +vsync (53.7 kHz)
(II) intel(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769
772 800 +hsync +vsync (60.1 kHz)
(II) intel(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769
772 800 +hsync +vsync (60.0 kHz)
(II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771
777 806 -hsync -vsync (56.5 kHz)
(II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771
777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628
667 -hsync -vsync (49.7 kHz)
(II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643
666 +hsync +vsync (48.1 kHz)
(II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604
625 +hsync +vsync (46.9 kHz)
(II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605
628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603
625 +hsync +vsync (35.2 kHz)
(II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484
500 -hsync -vsync (37.5 kHz)
(II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492
520 -hsync -vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484
500 -hsync -vsync (37.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492
525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492
525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414
449 -hsync +vsync (31.5 kHz)
(II) intel(0): LID switch detect open with ACPI button
(II) intel(0): EDID for output LVDS
(II) intel(0): Manufacturer: CMO  Model: 1526  Serial#: 0
(II) intel(0): Year: 2006  Week: 9
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max Image Size [cm]: horiz.: 33  vert.: 21
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): GTF timings supported
(II) intel(0): redX: 0.604 redY: 0.340   greenX: 0.306 greenY: 0.521
(II) intel(0): blueX: 0.150 blueY: 0.119   whiteX: 0.314 whiteY: 0.321
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 71.0 MHz   Image Size:  331 x 207 mm
(II) intel(0): h_active: 1280  h_sync: 1328  h_sync_end 1360 h_blank_end 1440
h_border: 0
(II) intel(0): v_active: 800  v_sync: 803  v_sync_end 809 v_blanking: 823
v_border: 0
(II) intel(0):  N154I2-L02
(II) intel(0):  CMO
(II) intel(0):  N154I2-L02
(II) intel(0): EDID (in hex):
(II) intel(0):  00ffffffffffff000daf261500000000
(II) intel(0):  09100103802115780ac6a99a574e8526
(II) intel(0):  1e505200000001010101010101010101
(II) intel(0):  010101010101bc1b00a0502017303020
(II) intel(0):  36004bcf10000018000000fe004e3135
(II) intel(0):  3449322d4c30320a2020000000fe0043
(II) intel(0):  4d4f0a202020202020202020000000fe
(II) intel(0):  004e31353449322d4c30320a20200088
(II) intel(0): EDID vendor "CMO", prod id 5414
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803
809 823 -hsync -vsync (49.3 kHz)
(II) intel(0): EDID vendor "CMO", prod id 5414
(II) intel(0): Not using default mode "640x350" (vrefresh out of range)
(II) intel(0): Not using default mode "640x400" (vrefresh out of range)
(II) intel(0): Not using default mode "720x400" (vrefresh out of range)
(II) intel(0): Not using default mode "640x480" (vrefresh out of range)
(II) intel(0): Not using default mode "640x480" (vrefresh out of range)
(II) intel(0): Not using default mode "640x480" (vrefresh out of range)
(II) intel(0): Not using default mode "800x600" (vrefresh out of range)
(II) intel(0): Not using default mode "800x600" (vrefresh out of range)
(II) intel(0): Not using default mode "800x600" (vrefresh out of range)
(II) intel(0): Not using default mode "800x600" (vrefresh out of range)
(II) intel(0): Not using default mode "1024x768" (vrefresh out of range)
(II) intel(0): Not using default mode "1024x768" (vrefresh out of range)
(II) intel(0): Not using default mode "1024x768" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1280x960" (hsync out of range)
(II) intel(0): Not using default mode "1280x960" (vrefresh out of range)
(II) intel(0): Not using default mode "1280x1024" (hsync out of range)
(II) intel(0): Not using default mode "1280x1024" (vrefresh out of range)
(II) intel(0): Not using default mode "1280x1024" (vrefresh out of range)
(II) intel(0): Not using default mode "1600x1200" (hsync out of range)
(II) intel(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) intel(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) intel(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) intel(0): Not using default mode "1600x1200" (vrefresh out of range)
(II) intel(0): Not using default mode "1792x1344" (hsync out of range)
(II) intel(0): Not using default mode "1792x1344" (vrefresh out of range)
(II) intel(0): Not using default mode "1856x1392" (hsync out of range)
(II) intel(0): Not using default mode "1856x1392" (vrefresh out of range)
(II) intel(0): Not using default mode "1920x1440" (hsync out of range)
(II) intel(0): Not using default mode "1920x1440" (vrefresh out of range)
(II) intel(0): Not using default mode "832x624" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (hsync out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1152x864" (vrefresh out of range)
(II) intel(0): Not using default mode "1360x768" (monitor doesn't support
reduced blanking)
(II) intel(0): Not using default mode "1360x768" (exceeds panel dimensions)
(II) intel(0): Not using default mode "1400x1050" (hsync out of range)
(II) intel(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) intel(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) intel(0): Not using default mode "1400x1050" (vrefresh out of range)
(II) intel(0): Not using default mode "1440x900" (hsync out of range)
(II) intel(0): Not using default mode "1600x1024" (hsync out of range)
(II) intel(0): Not using default mode "1680x1050" (hsync out of range)
(II) intel(0): Not using default mode "1680x1050" (hsync out of range)
(II) intel(0): Not using default mode "1680x1050" (vrefresh out of range)
(II) intel(0): Not using default mode "1680x1050" (vrefresh out of range)
(II) intel(0): Not using default mode "1680x1050" (vrefresh out of range)
(II) intel(0): Not using default mode "1920x1080" (hsync out of range)
(II) intel(0): Not using default mode "1920x1200" (hsync out of range)
(II) intel(0): Not using default mode "1920x1440" (vrefresh out of range)
(II) intel(0): Not using default mode "2048x1536" (hsync out of range)
(II) intel(0): Not using default mode "2048x1536" (vrefresh out of range)
(II) intel(0): Not using default mode "2048x1536" (vrefresh out of range)
(II) intel(0): Printing probed modes for output LVDS
(II) intel(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803
809 823 -hsync -vsync (49.3 kHz)
(II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771
777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605
628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492
525 -hsync -vsync (31.5 kHz)
(II) intel(0): No TV connection detected
(II) intel(0): EDID for output TV
Comment 7 MaLing 2009-02-10 04:51:52 UTC
hi joss,

at first let me try to describe your action(if I was wrong, please correct me ): boot laptop without any extern displays, then start X and plug extern VGA, after running %xrandr --output VGA --auto, VGA get a blank screen, and LVDS works fine, right?

I read the log file, and find some wrong TV detectiong info is involved.
So in order not to be disturbed by it, could you append the following configuration into your xorg.conf, test again and upload the Xorg log file with Modedebug option?

Section "Device"
        Identifier  "YOUR CARD"
        Option          "monitor-TV"    "TV"
        ...
EndSection
        ...
Section "Monitor" 
        Identifier      "TV" 
        Option          "Ignore" "True" 
EndSection 

Thanks
Ma Ling


  
Comment 8 Joss 2009-02-10 06:45:03 UTC
Hi Ma (Am I right about your firstname ?),

You're right about the test case, I did rerun it with TV monitor disabled, I'm appending the complete Xorg.0.log of the test case and I'm also appending in a separate file the Xorg.0.log lines output when I'm activating VGA. Note that I called xrandr only once, and the log show several time the same VGA activation routine.

Bye
Comment 9 Joss 2009-02-10 06:47:22 UTC
Created attachment 22748 [details]
Xorg log

Full Xorg.0.log of the test case as Ma Ling described it.
Comment 10 Joss 2009-02-10 06:50:21 UTC
Created attachment 22749 [details]
Xorg diff log

Xorg diff log when calling "xrandr --output VGA --auto"
Comment 11 Joss 2009-02-10 06:54:55 UTC
Created attachment 22750 [details]
Xorg log

full Xorg.0.log of the test case as Ma Ling described it
Comment 12 MaLing 2009-02-11 07:02:22 UTC
hi joss,
From log file, I can see VGA is set normally.
Please dump register by intel dump register tool after running "$xrandr --output VGA --auto" in comment #11 case and paste it. 

Another question, could you find one approach which can make VGA and LVDS work fine together, i.e. 1) at first plug VGA, then start Xorg, 2) plug VGA before boot laptop, then start Xorg?

Thanks
Ma Ling
Comment 13 Joss 2009-02-11 08:50:55 UTC
Hi,
I ran xrandr on the same VGA screen with my desktop, and it looks like the modes are incorrectly detected with my laptop.
Here are the modes detected with the desktop (amd graphics) :
default connected 1680x1050+0+0 0mm x 0mm
   1680x1050      60.0* 
   1440x900       60.0  
   1400x1050      60.0  
   1280x1024      75.0     70.0     60.0  
   1280x960       60.0  
   1280x768       60.0  
   1280x720       60.0  
   1152x864       75.0     70.0     60.0  
   1024x768       75.0     72.0     70.0     60.0  
   800x600        75.0     72.0     70.0     60.0     56.0  
   720x480        60.0  
   640x480        75.0     72.0     60.0  
   640x432        60.0  
   640x400        75.0     60.0  
   512x384        75.0     60.0  
   400x300        75.0     60.0  
   320x240        75.0     60.0  
   320x200        75.0     60.0  

Here is the xrandr output with laptop (intel gm965) on same screen :
VGA connected (normal left inverted right x axis y axis)
   1280x1024      75.0 +   60.0     60.0 
   1680x1050      59.9 +   60.0 
   1600x1024      60.2 
   1400x1050      70.0     60.0 
   1440x900       75.0     59.9     60.0 
   1280x960       60.0     60.0 
   1360x768       59.8 
   1152x864       75.0     75.0     75.0     70.0     60.0 
   1024x768       75.1     75.0     70.1     60.0 
   832x624        74.6 
   800x600        72.2     75.0     60.3     56.2 
   640x480        75.0     72.8     75.0     60.0     59.9 
   720x400        70.1  

I tried gm965 with another screen, and the screen displays "mode not supported error".

Just to let you know, I managed to make it work few month ago when Ubuntu beta 8.10 came out (it wasn't easy as I had to plug, restart X and other stuff), but it broke out since. I didn't say it because I'm still trying to get a working version (I spent a lot of time trying to downgrade different package but still unsuccessfully).

Bye
Comment 14 Joss 2009-02-11 09:20:30 UTC
Created attachment 22828 [details]
intel reg dump according to test case as comment #11
Comment 15 Joss 2009-02-11 09:31:27 UTC
I didn't find any way to make VGA work. On an old vga display screen, the error is Fh:___ Fv:851
I suppose it detects no Horizontal frequencies and a 851 vertical frequence.
I post it just in case it can help, but I have no clue yet of what is wrong.

Bye.
Comment 16 MaLing 2009-02-12 00:33:45 UTC
Created attachment 22850 [details] [review]
please try the patch, thanks.

hi Joss, 

from dump register I notice TV_CTL: 0x100000c0, which tell me TV is enable and using pipe A,so has confliction with VGA.
The patch belongs to debug patch, so please try it on laptop and use the same mode line which works fine on desktop. 


Thanks
Ma Ling
Comment 17 Joss 2009-02-12 10:23:34 UTC
Created attachment 22868 [details]
Reg_dump with tv output disabled

Hi, I did apply the patch and still the same behaviour.
I tried with a videoprojecter.
xrandr says :   
1024x768 (0x80)   75.0MHz -HSync -VSync *current +preferred
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz

But the video projecter says :
mode not supported H: 91,36kHz V: 85,00Hz

Is my chipset bricked or what ?

I'll try to make it work with windows this week end.

Bye
Comment 18 Michael Fu 2009-02-12 15:30:58 UTC
what's your machine model anyway? do you have any option in BIOS setting about display?
Comment 19 MaLing 2009-02-12 23:09:05 UTC
Created attachment 22886 [details] [review]
please try the patch on your machine, thanks.

hi Joss,

It is very strange, the dump register shows TV_CTL(0x100000c0) is still enable after using my last patch.

This patch will force disable TV output and return, please try it, and upload dump register again.

Thanks
Ma Ling
Comment 20 MaLing 2009-02-13 00:36:52 UTC
Created attachment 22889 [details]
please try this patch on your machine, thanks.
Comment 21 MaLing 2009-02-13 00:39:18 UTC
sorry, please ignore the patch on comment #20, it is for another bug. please try patch on comment #19
thanks
Ma Ling
Comment 22 Joss 2009-02-13 09:29:42 UTC
Created attachment 22904 [details]
reg_dump

Hi, My laptop is a Lenovo 3000N200.
I confirm that tv reg in reg_dump stays enabled as you noticed, even when I don't enable VGA. This new dump is made with a fresh newly started Xserver.

I checked that I have got the latest compiled version as I changed the ver number in configure.ac and the change appeared in my Xorg log file.

Ma Ling If you want to test more code, you can provide me with your own git repo adress and a branch name and I'll easily pull it.

I won't have time to test it with windows soon although I did said I would.

Bye.
Comment 23 Michael Fu 2009-02-19 21:07:36 UTC
let's forget the TV discussion part, 0x100000c0 bit 31 is 0, not 1. TV is disabled as expected.

Comment 24 Michael Fu 2009-02-19 21:16:24 UTC
Joss, please don't paste xorg log contents directly in a comment. it makes the bug way much too long...

Does

 Option "ForceEnablePipeA" "True"

make it work for you? 

Add this to conf Device section. thanks.
Comment 25 Joss 2009-02-20 09:11:51 UTC
Created attachment 23138 [details]
reg_dump with ForecPipeAEnable

Hi Michael,
When I set ForcePipeAEnable, I've got a scrambled screen (with git master branch code and also with the tv disable patch)

I managed to make a reg_dump with this option.

Bye
Comment 26 Michael Fu 2009-02-20 17:57:51 UTC
(In reply to comment #25)
> Created an attachment (id=23138) [details]
> reg_dump with ForecPipeAEnable
> 
> Hi Michael,
> When I set ForcePipeAEnable, I've got a scrambled screen (with git master
> branch code and also with the tv disable patch)
> 
> I managed to make a reg_dump with this option.
> 
> Bye
> 

scambled on which screen? LVDS or VGA? would you please reboot the system ( with VGA monitor connected all the time ) and then attach the whole xorg log instead of just the regdump? thanks.

if the latest code can detect your TV as disconnected, you don't need to apply the TV patch anymore... thanks.
Comment 27 Joss 2009-02-21 02:19:28 UTC
Created attachment 23146 [details]
Xorg log

Hi, I had a scrambled LVDS screen when no VGA was plugged in.

I did reboot with VGA plugged in, and no more scrambled LVDS but still blank VGA screen.
Comment 28 MaLing 2009-02-23 18:29:14 UTC
(In reply to comment #27)
> Created an attachment (id=23146) [details]
> Xorg log
> Hi, I had a scrambled LVDS screen when no VGA was plugged in.
> I did reboot with VGA plugged in, and no more scrambled LVDS but still blank
> VGA screen.

hi joss,

The log file says you plug VGA, then start X. However Michale's means(in commnet #26) is "would you please  reboot the system (with VGA monitor connected all the time ) and then attach the whole xorg log"

Thanks
Ma Ling


Comment 29 MaLing 2009-02-23 21:10:12 UTC
hi joss
Sorry please ignore comment #28. 
I found VGA was set two times,
the first mode line is Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
the last mode line is Modeline "(null)"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz) 
Could you please try the below mode line for vga under evironment of comment #27.

1) $xrandr --newmode 1280x1024x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync 
2)$xrandr --addmode VGA 1280x1024x75.0 
3)$xrandr --output VGA --mode 1280x1024x75.0

Thanks
Ma Ling
Comment 30 Joss 2009-02-24 02:49:41 UTC
Created attachment 23257 [details]
Xorg log

Hi, I just set the modeline according to what you proposed, but still blank vga screen.
Here's Xorg log and reg dump.

Bye
Comment 31 Joss 2009-02-24 02:50:20 UTC
Created attachment 23258 [details]
reg dump
Comment 32 MaLing 2009-03-07 01:22:15 UTC
Created attachment 23621 [details] [review]
please try the patch on your machine ,thanks

this is a debug patch which intends to find correct pll setting, could you please try it on your machine?
(it is based on our latest driver, please update your driver from master tree before compiling)
Thanks
Ma Ling
Comment 33 Joss 2009-03-07 04:36:19 UTC
Created attachment 23627 [details]
Xorg log with Ma Ling PLL patch

Hi, I did git pull and applied the patch, tried to output with a lcd screen and a cathodic screen, still no result. Here's Xorg log and reg_dump.

I notice that when I log in from gdm, sometimes (one time in a hundred), I see a desktop picture on my lcd screen, but a quarter of vert lines are missing, and the picture on the lcd disappear after 2 secs.
Also, I noticed that with the recent driver, when I play video, the X server shut down. Probably has to do with libdrm version not synchronized with intel driver. Does it matter in our bug ?

Thanks for your time !

Bye
Comment 34 Joss 2009-03-07 04:38:15 UTC
Created attachment 23628 [details]
reg umpd
Comment 35 Michael Fu 2009-03-08 20:19:21 UTC
The two dump in comment# 34 is before and after the patch applied, right?

Are you having VGA monitor connected all the time during testing in comment# 33? If not, please do so.

pls remove your xorg.conf and use the default one, and attach your log. And when you attach the Xorg.log, pls make sure you turns on ModeDebug on.

a tip of how to get default conf and turns on Modebug in it:
-- xorg.conf (with option "ModeDebug" "yes" added in the Device section, to dump more register information into Xorg.0.log. If your distribution doesn't ship xorg.conf, you can use 'X --configure' to let X spit out the default configuration it uses and save it as /etc/X11/xorg.conf.)
Comment 36 Joss 2009-03-09 13:06:32 UTC
Created attachment 23707 [details]
Xorg log

Hi Michael,
I tried to run x server with a bare xorg.conf, but the server crashes with a backtrace involving libdri.so and DRIGetSAREAPrivate() function.

Can you tel me what git repo should I use to get this library's latest version ?
Comment 37 MaLing 2009-03-10 18:49:27 UTC
(In reply to comment #36)
> Created an attachment (id=23707) [details]
> Xorg log
> Hi Michael,
> I tried to run x server with a bare xorg.conf, but the server crashes with a
> backtrace involving libdri.so and DRIGetSAREAPrivate() function.
> Can you tel me what git repo should I use to get this library's latest version
> ?
please use git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel download our latest driver, the issue has been fixed


Comment 38 Joss 2009-03-11 07:01:16 UTC
Created attachment 23758 [details]
xorg.log

Hi, X server works ok with latest git pull, but still the same behaviour with VGA screen (black screen).

Here is the full log of xorg, I started it with bare xorg.conf and vga plug always connected.

Bye
Comment 39 Michael Fu 2009-03-15 23:14:51 UTC
(In reply to comment #38)
> Created an attachment (id=23758) [details]
> xorg.log
> 
> Hi, X server works ok with latest git pull, but still the same behaviour with
> VGA screen (black screen).
> 
> Here is the full log of xorg, I started it with bare xorg.conf and vga plug
> always connected.
> 
> Bye
> 

Joss, have you applied Ling's patch in comment# 32, after pull git master?
Comment 40 MaLing 2009-03-18 23:03:10 UTC
(In reply to comment #39)
> (In reply to comment #38)
> > Created an attachment (id=23758) [details] [details]
> > xorg.log
> > 
> > Hi, X server works ok with latest git pull, but still the same behaviour with
> > VGA screen (black screen).
> > 
> > Here is the full log of xorg, I started it with bare xorg.conf and vga plug
> > always connected.
> > 
> > Bye
> > 
> Joss, have you applied Ling's patch in comment# 32, after pull git master?

ping ~
Comment 41 Joss 2009-03-19 00:18:03 UTC
Sorry for the late post, yes the patch was applied

Bye
Comment 42 Michael Fu 2009-03-26 05:47:40 UTC
(In reply to comment #41)
> Sorry for the late post, yes the patch was applied
> 
> Bye
> 

but the dpll parameters for pipe A in the log doesn't seems right as the patch should fix..
Comment 43 MaLing 2009-03-26 06:33:50 UTC
Created attachment 24275 [details]
hi joss, please use the patch based on latest driver on your machine, then upload log file with debug option on, thanks
Comment 44 Joss 2009-03-26 07:07:59 UTC
Created attachment 24276 [details]
xorrg log

Hi,

Thanks for your help. I did git pull and applied the patch, still same behaviour, here's xorg.log. I see that make install does generate multiple files, but I'm only copying intel_drv.so in my xorg driver directory. Is this ok ?

Thanks guys for trying to help me, I'really glad with intel's FOSS policy.

Bye
Comment 45 MaLing 2009-03-26 19:42:57 UTC
hi joss,
Could you please modify your xorg.conf to chose this mode line as VGA mode under comment #44 environment, then upload log file with debug option?

Thanks
Ma Ling 

Section "Monitor"
        Identifier      "VGA"
        Modeline        "1600x1024"  103.12  1600 1600 1656 1664  1024 1024 1029 1030 +hsync +vsync

        Option          "PreferredMode"  "1600x1024"
        ...              ...
EndSection

Section "Screen"
        Identifier      "xxxx"
        Monitor         "VGA"
        ...              ...
EndSection
Comment 46 MaLing 2009-03-26 22:06:41 UTC
Created attachment 24300 [details] [review]
hi joss, please ignore comment #45, and use the patch on your machine under comment #44 environment, then upload log file with debug option thanks,
Comment 47 MaLing 2009-03-26 22:18:56 UTC
Created attachment 24301 [details]
sorry, please try this patch to relace above one, thanks.
Comment 48 Joss 2009-03-27 07:27:07 UTC
Created attachment 24318 [details]
xorg.log

I, I did git pull and applied your patch on top of the previous one (2008_965GM_colock.patch) so I've got both patch.

I did enlarge the virtual size of the screen because I tried with a large videoprojector.

Still not working, the vga screen is flickering every 2 second, and the screens says error mode not supported, with Vert : 60,20 Hz, and Hor is increasing in steps every 2 sec from 62 kHz to 560,59 kHz

Bye
Comment 49 Michael Fu 2009-03-27 18:50:40 UTC
the dotclock is 150Mhz for pipeA , but 

DPLL_A_MD: 0x00000100

which doesn't seems right...
Comment 50 Michael Fu 2009-03-28 02:53:21 UTC
(In reply to comment #49)
> the dotclock is 150Mhz for pipeA , but 
> 
> DPLL_A_MD: 0x00000100
> 
> which doesn't seems right...
> 

withdraw this comment.
Comment 51 MaLing 2009-04-02 06:06:37 UTC
Created attachment 24457 [details]
please try the patch on your machine, thanks.

hi Joss

Could you please use the patch(2008_crt_debug_v2.patch) in comment #47, and this  patch which is for GM965, and pushed in master tree after you downloaded our driver, then upload log file with modedebug option on?

Thanks
Ma Ling
Comment 52 Joss 2009-04-04 02:18:43 UTC
Created attachment 24539 [details]
xorg log

Hi,
I did applied the #47 patch onto an up to date git tree, and the behavior is slightly different :
- My crt screen does display a scrambled image in 1600x1024 but no image in 1280x960. You can find it on the logs with "Manufacturer: IVM"
- My vga lcd screen stays in standby mode and display no error, it looks like it doesn't detect input signal.

Here's full xorg log with lots of manipulation.
When I first started Xorg my vga lcd screen was plugged in.


Bye
Comment 53 MaLing 2009-04-05 10:07:04 UTC
hi joss,

Plase modify your xorg.conf like below 

Section "Device"
        Identifier  "YOUR CARD"
        Option          "monitor-TV"    "TV"
        ...
EndSection
        ...
Section "Monitor" 
        Identifier      "TV" 
        Option          "Ignore" "True" 
EndSection 

at the same time try the patchs in comment #47 together with comment #51,

Thanks
Ma Ling




Comment 54 Joss 2009-04-06 10:48:15 UTC
Created attachment 24610 [details]
xorg.log

Hi,

I did add the disable tv config lines in my xorg.conf, and I did a git pull and git reset --hard, but I can't apply vgadisable.patch. It looks like it's already in the latest git history :
git apply vgadisable.patch
error: patch failed: src/i830_display.c:1113
error: src/i830_display.c: patch does not apply

I did applied the 2008_crt_debug_v2.patch without problems.

Still got the same problem, nothing on my vga lcd screen. I didn't test my vga crt screen.

Bye
Comment 55 MaLing 2009-04-06 20:34:34 UTC
Created attachment 24630 [details]
please try the patch on your machine, thanks.

hi joss,

please update our latest driver from master tree, then use this patch on your machine, and disable tv as below in xorg.conf.

Section "Device"
        Identifier  "YOUR CARD"
        Option          "monitor-TV"    "TV"
        ...
EndSection
        ...
Section "Monitor" 
        Identifier      "TV" 
        Option          "Ignore" "True" 
EndSection 


Thanks a lot
Ma Ling
Comment 56 Michael Fu 2009-04-07 00:22:07 UTC
(WW) intel(0): PIPEASTAT before: status: VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
(WW) intel(0): PIPEASTAT after: status: VSYNC_INT_STATUS OFIELD_INT_STATUS EFIELD_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS

OFIELD_INT_STATUS EFIELD_INT_STATUS are strange... I didn't see it in logs from other systems.
Comment 57 MaLing 2009-04-08 07:47:17 UTC
hi joss,

Could you please update our latest driver from master tree, then use the patch and modify xorg.conf in comments #55 ?

Thanks
Ma Ling

Comment 58 Joss 2009-04-08 08:19:31 UTC
Created attachment 24672 [details]
xorg.log

Hi, I did a git pull and apply the patch in comment #55, this time no picture on my lcd or crt screen. The crt screen shows that the card is trying some frequencies before the monitor goes in standby state.

I booted my laptop with lcd screen plugged in and then I tried my crt in the same session with various mode. Here's the full log.

You can find the lcd with "Monitor name: L226W" and the crt with "Monitor name: HM903DADTA"

Bye
Comment 59 Michael Fu 2009-06-30 21:56:07 UTC
Let's give it another spin...

I've seen the default preferred modeline been always invalidated as

(II) intel(0): Not using mode "1680x1050" (height too large for virtual size)
(II) intel(0): Not using mode "1680x1050" (height too large for virtual size)

but the user says he has been using a bare xorg.conf. where is the "virtual size" limit then?
Comment 60 Joss 2009-06-30 23:11:02 UTC
Created attachment 27284 [details]
Xorg conf file

Ubuntu automatically add a virtual size. Here's my xorg.conf file.
I'll try in few hours to test with latest git code.

Bye
Comment 61 Michael Fu 2009-06-30 23:54:31 UTC
just delete that xorg.conf, and run xrandr --auto instead after you enter X. 

Try not to use the GUI tool to set display resolution for now.
Comment 62 Michael Fu 2009-07-24 01:59:24 UTC
I didn't find a description like "VGA alone works, with LVDS disabled". I'm removing the LVDS from the summary line.. thanks.
Comment 63 MaLing 2009-07-26 22:48:12 UTC
(In reply to comment #61)
> just delete that xorg.conf, and run xrandr --auto instead after you enter X. 
> Try not to use the GUI tool to set display resolution for now.

ping ~
could you please help us to check other modes in xrandr list at the same time When you verify 1680x1050?
Comment 64 Joss 2009-08-04 02:35:56 UTC
Hi guys,

I'm unable to compile since few weeks :
joss@joss-laptop:~/xf86-video-intel$ make
Making all in uxa
  CC    uxa.o
In file included from /opt/gfx-test/include/X11/extensions/shmstr.h:35,
                 from uxa-priv.h:46,
                 from uxa.c:37:
/opt/gfx-test/include/X11/extensions/XShm.h:44: erreur: expected specifier-qualifier-list before ‘Display’
/opt/gfx-test/include/X11/extensions/XShm.h:62: erreur: expected ‘)’ before ‘*’ token
/opt/gfx-test/include/X11/extensions/XShm.h:66: erreur: expected ‘)’ before ‘*’ token
/opt/gfx-test/include/X11/extensions/XShm.h:70: erreur: expected ‘)’ before ‘*’ token
/opt/gfx-test/include/X11/extensions/XShm.h:77: erreur: expected ‘)’ before ‘*’ token
/opt/gfx-test/include/X11/extensions/XShm.h:80: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XShmAttach’
/opt/gfx-test/include/X11/extensions/XShm.h:85: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XShmDetach’
/opt/gfx-test/include/X11/extensions/XShm.h:90: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XShmPutImage’
/opt/gfx-test/include/X11/extensions/XShm.h:104: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XShmGetImage’
/opt/gfx-test/include/X11/extensions/XShm.h:113: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/opt/gfx-test/include/X11/extensions/XShm.h:125: erreur: expected ‘)’ before ‘*’ token


I did a make of all xorg project into /opt/gfx-test

Bye
Comment 65 Michael Fu 2009-08-20 05:57:38 UTC
we bought a Lenovo 3000 N200 with intel 965GM chipset. Tested with Ubuntu 9.04 LiveUSB image. Things work fine - boot X up, then plug in a VGA monitor (Dell 19"), run 'xrandr --auto', both LVDS and VGA display have no problem.

I do notice that using the 'gnome-display-property' applet to adjust screen resolution doesn't work, but that's not our bug. Not sure if it's the situation you run into...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.