Need help to get VGA-to-TV working with Radeon 9250

Alex Deucher alexdeucher at gmail.com
Thu Jan 26 21:58:35 PST 2006


On 1/27/06, Sebastian <sebastian_ml at gmx.net> wrote:
> On Do, Jan 26, 2006 at 12:01:02 -0500, Alex Deucher wrote:
> >
> > I think your monitorlayout lines are causing part of the problem.  It
> > doesn't quite work like you may think it should.  the driver makes
> > some hard coded assumptions about how crtcs  get routed to outputs.
> > if you are going to have stuff plugged into both ports, the driver
> > won't work that way you want it to. you would need to either connect
> > the tv-out cable to the DVI port via an adapter or unplug the DVI port
> > when using the vga port. that will force the primary crtc (display
> > controller) to output an analog signal to whichever port has something
> > attached. if you are only using one output, you need to use "CRT,
> > NONE" for your monitorlayout.
> >
> > Alex
> >
> >
>
> Hi Alex,
>
> I tried what you suggested and compared the logs. I disconnected the
> DVI-adapter and started two runs, one with MonitorLayout "NONE,CRT",
> the other with "CRT,NONE". Here's what diff -Nur (yeah, I know ;))
> came up with:
>

what port was the cable plugged into (vga or DVI)?  what about running
without a monitorlayout line?  The way the driver is structured,
having NONE as the first argument of monitorlayout will never work
because it forces the driver to assume there is no monitor on the
first crtc.  think of it more as crtcmap (with some hard coded
assumptions).  The first argument forces the output of the first crtc
(internal tmds, lvds, or a DAC), the second argument forces the output
of crtc2 (external tmds, or a DAC).  In reality either crtc can drive
any output, but like I said there are some hardcoded mappings in the
driver.  single head mode and the first head of dualhead mode always
use crtc1 so by forcing NONE on crtc1 you are effectively disabling
that crtc which makes no sense in a single head set up.   I hope this
isn't too confusing.

As Felix said you may want to check and make sure you are getting any
output first using a vga monitor.  Try no monitorlayout optionor try
"CRT, CRT" and try the scart cable on both ports.

Alex

> diff -Nur log.none.crt.log log.crt.none.log
> --- log.none.crt.log    2006-01-27 05:56:58.000000000 +0100
> +++ log.crt.none.log    2006-01-27 05:57:10.000000000 +0100
> @@ -11,7 +11,7 @@
>  Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> -(==) Log file: "/var/log/Xorg.1.log", Time: Fri Jan 27 05:53:39 2006
> +(==) Log file: "/var/log/Xorg.1.log", Time: Fri Jan 27 05:55:15 2006
>  (==) Using config file: "/etc/X11/xorg.conf"
>  (**) Option "defaultserverlayout" "Default layout"
>  (++) ServerLayout "TV layout"
> @@ -422,7 +422,7 @@
>  (**) RADEON(0): Depth 24, (--) framebuffer bpp 32
>  (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp
> pixmaps)
>  (==) RADEON(0): Default visual is TrueColor
> -(**) RADEON(0): Option "MonitorLayout" "NONE, CRT"
> +(**) RADEON(0): Option "MonitorLayout" "CRT,NONE"
>  (**) RADEON(0): Option "MergedFB" "false"
>  (**) RADEON(0): Option "ForceMinDotClock" "14MHz"
>  (**) RADEON(0): Option "ColorTiling" "false"
> @@ -465,7 +465,7 @@
>  (II) RADEON(0): Connector0: DDCType-2, DACType-1, TMDSType-0,
> ConnectorType-3
>  (II) RADEON(0): Connector1: DDCType-3, DACType-0, TMDSType--1,
> ConnectorType-2
>  (**) RADEON(0): MonitorLayout Option:
> -       Monitor1--Type NONE, Monitor2--Type CRT
> +       Monitor1--Type CRT, Monitor2--Type NONE
>
>  (II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
>  (II) RADEON(0): I2C device "DDC:ddc2" removed.
> @@ -473,20 +473,20 @@
>  (II) RADEON(0): I2C device "DDC:ddc2" removed.
>  (II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
>  (II) RADEON(0): I2C device "DDC:ddc2" removed.
> -(II) RADEON(0): DDC Type: 3, Detected Type: 0
> +(II) RADEON(0): DDC Type: 2, Detected Type: 0
>  (II) RADEON(0):
>  (II) RADEON(0): Primary:
>   Monitor   -- CRT
> + Connector -- DVI-I
> + DAC Type  -- TVDAC/ExtDAC
> + TMDS Type -- Internal
> + DDC Type  -- DVI_DDC
> +(II) RADEON(0): Secondary:
> + Monitor   -- NONE
>   Connector -- VGA
>   DAC Type  -- Primary
>   TMDS Type -- NONE
>   DDC Type  -- VGA_DDC
> -(II) RADEON(0): Secondary:
> - Monitor   -- NONE
> - Connector -- Proprietary
> - DAC Type  -- TVDAC/ExtDAC
> - TMDS Type -- NONE
> - DDC Type  -- NONE
>  (II) RADEON(0): PLL parameters: rf=2700 rd=12 min=20000 max=40000;
> xclk=16600
>  (II) RADEON(0): Forced minimum dotclock to 14.00 MHz (instead of
> detected 20.00 MHz)
>  (WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode
> disabled
>
> Doesn't the last part suggest that "NONE,CRT" is the feasible
> MonitorLayout?
>
> Anyway, the TV screen just went black, allthough I used an approved
> ModeLine (worked in DOS).
>
> When I started my tv-out script (X -layout ... doesn't segfault anymore,
> I guess all xorg-7.0 needed was a reboot) the signal on the VGA-out
> definitely changed, because it went from garbage to black. Garbage is
> what I always get when Xorg doesn't control the VGA out, because it's
> not using interlacing, the framerate is too high, no composite sync and
> so on.
> And I know the TV screen doesn't go black just because there's no signal
> at all on the VGA out because the TV OSD shows that it's forced to RGB
> which needs a certain voltage on a certain pin in the scart adaptor
> which isn't there when there's no signal.
> I read that modern TV sets just go black when they receive a signal they
> totally can't handle. Wouldn't that imply that the radeon driver doesn't
> get it quite right?
> I also converted the Dos modeline manually following this guide:
> http://www.knowplace.org/pages/howtos/xfree86_modelines_conversion_guide.php
> The result was exactly the same modeline that Powerstrip printed out
> before.
>
> Thanks
>
> Sebastian
>
> --
> "When the going gets weird, the weird turn pro." (HST)
>
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
>
>



More information about the xorg mailing list