Bug 21533

Summary: [SDVO-TV] PAL not supported
Product: xorg Reporter: Marco <markgabbahey>
Component: Driver/intelAssignee: MaLing <ling.ma>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: enhancement    
Priority: medium CC: muller.mirek
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
please try the patch on your machine, thanks
none
pleaset try the patch on your machine, thanks. none

Description Marco 2009-05-03 13:15:10 UTC
I have an Intel D945GCLF2 desktop board and I'm unable to use the tv-out feature. With the Intel drivers pre 2.7 the tv-out didn't work, with the latest 2.7 release it show only black and white images, because the only format used is the default NTSC. The driver is unable to switch tv format neither via xrandr nor xorg.conf, it doesn't accept the TV_FORMAT option.
Comment 1 Gordon Jin 2009-05-04 01:08:18 UTC
Yes, 2.7 only adds NTSC support for SDVO-TV (which is used by D945GCLF2).
Comment 2 Matej 2009-05-13 00:24:00 UTC
I have managed to get the SDVO-TV working in PAL mode, by applying the patch found in:
http://lists.freedesktop.org/archives/intel-gfx/2009-April/001964.html

and then adding the 
Option "TV_Format" "PAL-G"
to my xorg.conf ( I don't have my conf file here with me, but I believe this the right option)

I also added new kernel to my Ubuntu 9.04, since there are some patches
for SDVO, but I am not sure if it is needed, see:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=drivers/gpu/drm/i915;hb=a4f1cb9f3c42e5d278b0678ed5225d9331a8dcff
patches from Zhenyu Wang

Sometimes it happens that TV-OUT is not in PAL, but after switching to some VT (like 1) and switching back to X solves the problems.

Hope that helps.

Matej
Comment 3 MaLing 2009-05-26 23:57:02 UTC
Hi Marco
With latest 2D driver, could you please try in UMS  by setting i915.modeset=0, and upload xorg.log with modedebug option on?

Thanks
Ma Ling
Comment 4 Marco 2009-05-27 00:11:02 UTC
(In reply to comment #3)
> Hi Marco
> With latest 2D driver, could you please try in UMS  by setting i915.modeset=0,
> and upload xorg.log with modedebug option on?
> 
> Thanks
> Ma Ling
> 

I've sold my mini PC, so I have no more the D945GCLF2 board. I'm sorry.

Marco
Comment 5 MaLing 2009-06-14 23:28:30 UTC
*** Bug 21409 has been marked as a duplicate of this bug. ***
Comment 6 MaLing 2009-06-23 00:12:26 UTC
Created attachment 27023 [details]
please try the patch on your machine, thanks

This patch try to set PAL mode by property, please try it on your machine.

Thanks
Ma Ling
Comment 7 MaLing 2009-06-28 20:18:02 UTC
Created attachment 27214 [details]
pleaset try the patch on your machine, thanks.

ping ~
Thanks
Ma Ling
Comment 8 Mirek 2009-07-07 01:16:07 UTC
Hi, 

I tried this patch on my board D945GCLF2 and result is good. My TV is connected during S-VIDEO connector (composite out, PAL). Video screen is static and
"xrandr --output TV-1 --set TV_FORMAT" returns correct result. 

One drawback is that my screen is black&white. I tried settings in "Windows XP" and screen was colour. The best result in Linux was with settings PAL_60 but in this case was not colour stable (sometimes B&W and sometimes Colour). Colour was not sharp and than recognition was difficult. 


My configuration:
D945GCLF2
2GB RAM

Ubuntu 9.04
Intel driver - xorg-intel - git version
patch
drm - git version


Best regards

Mirek
Comment 9 Mirek 2009-07-07 01:23:47 UTC
(In reply to comment #8)
> Hi, 
> 
> I tried this patch on my board D945GCLF2 and result is good. My TV is connected
> during S-VIDEO connector (composite out, PAL). Video screen is static and
> "xrandr --output TV-1 --set TV_FORMAT" returns correct result. 
> 
> One drawback is that my screen is black&white. I tried settings in "Windows XP"
> and screen was colour. The best result in Linux was with settings PAL_60 but in
> this case was not colour stable (sometimes B&W and sometimes Colour). Colour
> was not sharp and than recognition was difficult. 
> 
> 
> My configuration:
> D945GCLF2
> 2GB RAM
> 
> Ubuntu 9.04
> Intel driver - xorg-intel - git version
> patch
> drm - git version
> 
> 
> Best regards
> 
> Mirek
> 
I forgot to write patch Id=27214

Mirek

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.