[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#443584: xrandr does not recognise conncted s-video



using the Fn-F4 keys i can switch the tv output into 1024x768 mode , BUT it's buggy
as i reported a bug about it (display gets distorted) so i don't use it.

i'm just mentioning it to say that the s-video output can probably support 1024x768.

with Xv version 2.2 the XV_SWITCHCRT syntax changed (i think) and correct syntax is probably...
xvattr -a XV_CRTC -v 1 (although the min/max values seems like a true/false boolean ?)

Name: XV_CRTC
   Flags: XvGettable XvSettable
   Min value: -1
   Max value: 1
   Current value: -1

to play video with overly support on s-video (tv) i used : xvattr -a XV_CRTC -v 1
to play video with overly support on LVDS (laptop) i used : xvattr -a XV_CRTC -v 0

they didn't work on both displays simultaneously :-(
but that seems ok :-)


On 9/23/07, Brice Goglin < Brice.Goglin@ens-lyon.org> wrote:
Nadav Kavalerchik wrote:
>
>
>     |    xrandr --addmode S-video 800x600|
>     |    xrandr --output S-video --mode 800x600|
>
>
> works great :-)
>
> and stays this way too. no after effects when i use the mouse or the
> keyboard.

Good to know. I'll keep the bug open until I get some clarification from
Alex about how we are supposed to enabled TV-out these days.

> although i watch the output display on the S-Video (tv) i get
> disconnected message from xrandr.
> laptop:~# xrandr
> Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2304 x 1024
> VGA-0 disconnected (normal left inverted right x axis y axis)
> LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis)
> 0mm x 0mm
>    1024x768       60.0*    60.0
>    800x600         60.3
>    640x480        59.9
> S-video disconnected (normal left inverted right x axis y axis)
>    800x600        60.3

Probably related to the fact that TV-output load detection is disabled
for now.

> i tried adding other modes: 1024x768 and 640x480 with no success, way ?
> laptop:~# xrandr --addmode S-video 1024x768
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  155 (RANDR)
>   Minor opcode of failed request:  18 ()
>   Serial number of failed request:  16
>   Current serial number in output stream:  17

I have no idea whether other modes can work on a TV-output...

> also, when playing video with vlc/xine/mplayer i have to change output
> driver to X11
> otherwise no output on the S-Video (tv) only on the LVDS

I guess the XV overlay can only appear on one CRTC. You should either
not display the same image on both outputs (disable the LVDS, or move it
so that it does not overlap TV-output image) or maybe use xvattr to
switch the overlay on the other output, with something like:
    xvattr -a XV_SWITCHCRT -v 1

Brice



Reply to: