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

2007-09-23 Thread Nadav Kavalerchik


 |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.

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
   800x60060.3
   640x48059.9
S-video disconnected (normal left inverted right x axis y axis)
   800x60060.3


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

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


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

2007-09-23 Thread Brice Goglin
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
800x60060.3
640x48059.9
 S-video disconnected (normal left inverted right x axis y axis)
800x60060.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




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-09-23 Thread Nadav Kavalerchik
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 [EMAIL PROTECTED] 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
 800x60060.3
 640x48059.9
  S-video disconnected (normal left inverted right x axis y axis)
 800x60060.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




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

2007-09-23 Thread Brice Goglin
Brice Goglin 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.
   

The other way is:
xrandr --output S-video --set load_detection 1
which enables load detection back as earlier and then
xrandr --auto
(or maybe grandr)

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-09-22 Thread Nadav Kavalerchik
Package: xserver-xorg-video-ati
Version: 1:6.7.193-1
Severity: normal

--- Please enter the report below this line. ---
when i plug in an s-video line which is connected to a TV it does not get 
recognized by xrandr and i can't switch with Fn4 between LVDS and VGA-0, here 
is what i get 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*
   800x60060.3
   640x48059.9
S-video disconnected (normal left inverted right x axis y axis)

only after a reboot i can use Fn4 to switch the s-video output to watch on the 
TV but still it's not recognized with xrandr.

also, i get these line in xorg log file:
information RADEON(0): Output S-video has no monitor section
information RADEON(0): Output S-video disconnected

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.21-2-686

Debian Release: lenny/sid
  500 unstablewww.debian-multimedia.org 
  500 unstablemirror.isoc.org.il 
  500 testing mirror.isoc.org.il 
  500 experimentalwww.debian-multimedia.org 
  500 etchdebian.beryl-project.org 
1 experimentalmirror.isoc.org.il 

--- Package information. ---
Depends  (Version) | Installed
==-+-=
libc6 (= 2.6.1-1) | 2.6.1-4
xserver-xorg-core   (= 2:1.4) | 2:1.4-2




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-09-22 Thread Brice Goglin
Nadav Kavalerchik wrote:
 Package: xserver-xorg-video-ati
 Version: 1:6.7.193-1
 Severity: normal

 --- Please enter the report below this line. ---
 when i plug in an s-video line which is connected to a TV it does not get
 recognized by xrandr and i can't switch with Fn4 between LVDS and
 VGA-0, here
 is what i get 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)

 only after a reboot i can use Fn4 to switch the s-video output to
 watch on the
 TV but still it's not recognized with xrandr.

 also, i get these line in xorg log file:
 information RADEON(0): Output S-video has no monitor section
 information RADEON(0): Output S-video disconnected


TV-output detection was breaking some configuration earlier (it wrongly
detected TV as connected, causing the other outputs to miss resources).
So it is disabled now from what I understand. I don't know exactly what
we are supposed to do to enable TV then. Maybe:
|xrandr --addmode S-video 800x600|
|xrandr --output S-video --mode 800x600|
||
|Brice|
||



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]