Bug 19653 - External output (VGA) doesn't work on Dell Latitude D520 (Intel 945GM)
Summary: External output (VGA) doesn't work on Dell Latitude D520 (Intel 945GM)
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: MaLing
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-01-19 04:37 UTC by Victor Stinner
Modified: 2009-04-12 06:17 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Output of "xrandr --verbose" after "xrandr --output VGA --auto" (9.72 KB, text/plain)
2009-01-19 04:37 UTC, Victor Stinner
no flags Details
Xorg server logs (41.06 KB, text/x-log)
2009-01-19 04:38 UTC, Victor Stinner
no flags Details
Serveur log: i used "xrandr --output VGA --auto" twice, modedebug on (312.40 KB, text/x-log)
2009-01-26 08:10 UTC, Victor Stinner
no flags Details
"xrandr --verbose" after using "xrandr --output VGA" twice (9.72 KB, text/plain)
2009-01-26 08:11 UTC, Victor Stinner
no flags Details
Xorg server configuration (1.14 KB, text/plain)
2009-02-02 05:24 UTC, Victor Stinner
no flags Details
Register dumps when Gnome just started (6.95 KB, text/plain)
2009-02-02 05:35 UTC, Victor Stinner
no flags Details
Register dumps after xrandr --output VGA --auto (6.95 KB, text/plain)
2009-02-02 05:36 UTC, Victor Stinner
no flags Details
New tested configuration to disable TV ouptut (1.42 KB, text/plain)
2009-02-02 06:03 UTC, Victor Stinner
no flags Details
Xorg server with Ubuntu Ibex driver (intel 2.4) and mode debug enabled (I hope) (158.80 KB, text/plain)
2009-02-16 12:57 UTC, Victor Stinner
no flags Details
Xorg configuration associated to my last attachment (#22998) (637 bytes, text/plain)
2009-02-16 12:58 UTC, Victor Stinner
no flags Details
please try it on your machine,thanks (1.04 KB, application/octet-stream)
2009-03-08 22:27 UTC, MaLing
no flags Details

Description Victor Stinner 2009-01-19 04:37:00 UTC
With "xrandr --output VGA --auto", my external VGA stays black, whereas xrandr shows it as enabled. I'm using Ubuntu Ibex on a laptop Dell Latitude D520. I tried all combinaisons: extended desktop, cloned display, switch off internal LCD, etc.

xrandr doesn't work, neither the fn-F8 "hotkey" (label "CRT/LCD").

Related issue: #11546. Can it be related to the SMI?

Versions:
* xserver-xorg-video-intel: 2.4.1
* Xorg core: 1.5.2
* Xorg server: 7.4
* Linux Kernel: 2.6.27
* CPU: Intel Celeron M 420 @ 1.6 GHz (32 bits)
Comment 1 Victor Stinner 2009-01-19 04:37:53 UTC
Created attachment 22093 [details]
Output of "xrandr --verbose" after "xrandr --output VGA --auto"
Comment 2 Victor Stinner 2009-01-19 04:38:59 UTC
Created attachment 22094 [details]
Xorg server logs
Comment 3 Victor Stinner 2009-01-19 04:45:24 UTC
See also bug #12416 (Problems with displaying to a projector).
Comment 4 Michael Fu 2009-01-19 19:10:02 UTC
(In reply to comment #2)
> Created an attachment (id=22094) [details]
> Xorg server logs
> 

pls turns modedebug on and resumbit the log. refer to http://intellinuxgraphics.org/how_to_report_bug.html. thanks.
Comment 5 Michael Fu 2009-01-23 18:37:35 UTC
ping...
Comment 6 Victor Stinner 2009-01-26 08:10:40 UTC
Created attachment 22247 [details]
Serveur log: i used "xrandr --output VGA --auto" twice, modedebug on
Comment 7 Victor Stinner 2009-01-26 08:11:50 UTC
Created attachment 22248 [details]
"xrandr --verbose" after using "xrandr --output VGA" twice
Comment 8 Victor Stinner 2009-01-26 08:19:12 UTC
Note: The output worked well on an older Linux version (Ubuntu Hardy, maybe Ubuntu Gutsy, I don't remember). So it's a regression of the driver.
Comment 9 MaLing 2009-01-31 18:17:42 UTC
hi Victor Stinner,
It may be from TV detection. 
Could you try to append Option "Ignore" "true" in TV
monitor section of xorg.conf. After xorg start, please use intel_reg_dumper tool to dump register. 



Thanks
Ma Ling
Comment 10 Victor Stinner 2009-02-02 05:24:20 UTC
Created attachment 22463 [details]
Xorg server configuration
Comment 11 Victor Stinner 2009-02-02 05:26:41 UTC
Oh, I forgot to attach my server configuration -> done. As you can see, my configuration is quite empty.

@MaLing: I don't have any television (only an external LCD monitor). Should I create a new section for a TV and then add the ignore flag? What is the syntax of such section?

About intel_reg_dumper: >Option "ModeDebug" "yes"< is not enough?
Comment 12 Victor Stinner 2009-02-02 05:35:42 UTC
Created attachment 22464 [details]
Register dumps when Gnome just started
Comment 13 Victor Stinner 2009-02-02 05:36:24 UTC
Created attachment 22465 [details]
Register dumps after xrandr --output VGA --auto
Comment 14 Victor Stinner 2009-02-02 06:03:57 UTC
Created attachment 22467 [details]
New tested configuration to disable TV ouptut

Here is a new configuration for the Xorg server. I tried it to disable the TV output but I don't know if it really disabled the TV output. But it doesn't fix my problem (enable VGA output).
Comment 15 Victor Stinner 2009-02-02 10:25:29 UTC
I tried the GIT version of the xf86-video-intel driver. I tried to force "Ignore TV" quirk, but also "Ignore TV" + "Force PIPE A" and finally just "Force Pipe A". Result: no reaction from the CRT screen.
Comment 16 Michael Fu 2009-02-03 18:47:08 UTC
Victor, is this a regression? i.e. did the same HW ever worked before?

Also, pls try to disable LVDS ( the same way as you disable TV ) to see if you can get display on VGA monitor...And, attach the log with modedebug on then, thanks.
Comment 17 Victor Stinner 2009-02-09 06:47:08 UTC
> Victor, is this a regression? i.e. did the same HW ever worked before?

Yes, I worked in older Linux version. Sorry, I don't remember which one. Since the CD reader is broken, it's hard to test an old live CD to check the exact Xorg/driver driver version :-/

It worked in another Ubuntu version (maybe Hardy... maybe Gutsy...). I tried to compile an old version of the Intel driver, but it doesn't compile because Xorg API changed...

> Also, pls try to disable LVDS

I will try to disable LVDS.
Comment 18 Michael Fu 2009-02-12 05:36:51 UTC
what if you connect your VGA monitor all the time during system power on? Can you see BIOS message on it? Will it makes any difference ?

And, please, attach a log with modedebug turns on..
Comment 19 Michael Fu 2009-02-15 19:56:49 UTC
there isn't a xorg.log with modedebug turns on .. ping for response...
Comment 20 Victor Stinner 2009-02-16 12:33:00 UTC
Michael Fu> Also, pls try to disable LVDS ( the same way as you disable TV )

No change, VGA stays black (but the LVDS becomes slowly white).

Michael Fu> And, attach the log with modedebug on then
(...)
Michael Fu> And, please, attach a log with modedebug turns on..

I already asked (comment #11) how should I enable this option? 

I added >Option "ModeDebug" "yes"< to my device section (in xorg.conf). Is it enough? If no, can you fix my configuration? Sorry, but the "How to file a good bug report" guide doesn't help any ModeDebug (eg. "X --configure" doesn't work here: Unrecognized option: --configure).

Michael Fu> what if you connect your VGA monitor all the time during system
Michael Fu> power on? Can you see BIOS message on it? Will it makes 
Michael Fu> any difference ?

I tried to turn off my laptop, and restart with the VGA monitor connected. No, I don't see the BIOS message on the second screen. Should I see the BIOS on the VGA?
Comment 21 Victor Stinner 2009-02-16 12:51:20 UTC
How can I know if ModeDebug is enabled? (eg. give me a typical pattern in the logs)
Comment 22 Victor Stinner 2009-02-16 12:57:36 UTC
Created attachment 22998 [details]
Xorg server with Ubuntu Ibex driver (intel 2.4) and mode debug enabled (I hope)

I recreated new configuration: I deleted my config and copy/pasted the "builtin" config in Xorg.0.log, then I added >option "ModeDebug" "yes"< in the device section using the "intel" driver.
Comment 23 Victor Stinner 2009-02-16 12:58:39 UTC
Created attachment 22999 [details]
Xorg configuration associated to my last attachment (#22998)
Comment 24 Victor Stinner 2009-02-16 13:14:32 UTC
Note: I tried with a 19" LCD (Belina), but I also tried with a second LCD screen (Dell 19") with a second VGA cable. In both cases, the Ubuntu tool to configure the screen detects correctly the screen name (Belina / Dell).

I used these commands to enable the VGA output:
  xrandr --output LVDS --mode 1024x768 --output VGA --clone
  xrandr --output LVDS --mode 1280x1024 --output VGA --clone
  xrandr --output VGA --auto --output LVDS --off

My LVDS native resolution is 1400x1050. Both external LCD native resolution is 1280x1024.

Sometimes, after a xrandr command or at Xorg startup, the external LCD screen (especially the Dell) blinks 0,5 second like "oh, something happens" but it stays black.
Comment 25 Michael Fu 2009-02-16 15:08:18 UTC
(In reply to comment #20)
> Michael Fu> Also, pls try to disable LVDS ( the same way as you disable TV )
> 
> No change, VGA stays black (but the LVDS becomes slowly white).
> 
> Michael Fu> And, attach the log with modedebug on then
> (...)
> Michael Fu> And, please, attach a log with modedebug turns on..
> 
> I already asked (comment #11) how should I enable this option? 
> 
> I added >Option "ModeDebug" "yes"< to my device section (in xorg.conf). Is it
> enough? If no, can you fix my configuration? Sorry, but the "How to file a good
> bug report" guide doesn't help any ModeDebug (eg. "X --configure" doesn't work
> here: Unrecognized option: --configure).

you are doing good. yes. just add the option to device section would be enough.

could you try to add option "ForceEnablePipeA" the device section as well to see any difference? and attach the log, please?

> 
> Michael Fu> what if you connect your VGA monitor all the time during system
> Michael Fu> power on? Can you see BIOS message on it? Will it makes 
> Michael Fu> any difference ?
> 
> I tried to turn off my laptop, and restart with the VGA monitor connected. No,
> I don't see the BIOS message on the second screen. Should I see the BIOS on the
> VGA?
> 

Comment 26 Michael Fu 2009-02-16 15:22:55 UTC
> could you try to add option "ForceEnablePipeA" the device section as well to
> see any difference? and attach the log, please?
> 
to be specific, Need to add

 Option "ForceEnablePipeA" "True"

Just double check if you were using the option correctly before... thanks.
Comment 27 Michael Fu 2009-02-19 20:43:01 UTC
ping for response... victor
Comment 28 Victor Stinner 2009-02-20 00:44:32 UTC
I already tried >Option "ForceEnablePipeA" "True"< but also forcing it in the driver source code. It doesn't change anything.
Comment 29 Michael Fu 2009-02-21 05:51:41 UTC
do you have any setting in bios that can be changed related with display device?
Comment 30 Victor Stinner 2009-03-03 15:05:00 UTC
> do you have any setting in bios that can be changed related 
> with display device?

No, there is nothing related to the video/display in the BIOS. Why would my problem related to BIOS? Remember: it worked with old version of Ubuntu (of Xorg/intel driver) without touching anything in the BIOS.
Comment 31 Michael Fu 2009-03-03 17:46:39 UTC
I asked our Dell friend to have a test on another D520. He used a Ubuntu 8 .10 LiveCD and could get display on VGA using "xrandr -output VGA --auto", with no problem... he will provide me the log later.

is there any chance you could try another OS or another linux distribution to see if the VGA can work?
Comment 32 MaLing 2009-03-08 22:27:35 UTC
Created attachment 23664 [details]
please try it on your machine,thanks

 Victor, could please you try this debug patch, then upload log file with Modedebug option on ?

Thanks
Ma Ling
Comment 33 MaLing 2009-03-10 06:15:45 UTC
ping Victor ~
thanks
Ma Ling
Comment 34 Victor Stinner 2009-03-12 08:42:07 UTC
> could please you try this debug patch

I'm busy, I will try next week, sorry.

Comment 35 Michael Fu 2009-03-12 15:39:19 UTC
(In reply to comment #34)
> > could please you try this debug patch
> 
> I'm busy, I will try next week, sorry.
> 

if any chance, please also try if other distro or windows work as I suggested in comment# 31.
Comment 36 Michael Fu 2009-03-26 05:32:10 UTC
ping.
Comment 37 MaLing 2009-04-12 06:17:42 UTC
lost connect with bug reporter, I close the issue, please open it when you need.

Thanks 
Ma Ling


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.