Re: S-Video on ThinkPad T42 with Debian Jessie - can't get above 800x600

2014-04-13 Thread Chris Angelico
On Sun, Apr 13, 2014 at 1:39 AM, Chris Angelico ros...@gmail.com wrote:
 On Fri, Apr 11, 2014 at 12:50 AM, Chris Angelico ros...@gmail.com wrote:
 I've just converted a laptop from Windows XP to Debian Jessie, with
 the expectation that I'd be able to do everything at least as well as
 before. That's been mostly true, but I'm stuck on a problem with the
 S-Video output: whatever I do, the TV shows only 800x600.

 In the interests of experimentation, I live-booted AntiX on that same
 hardware. The result is exactly the same; xrandr says the S-video
 output is in its only mode of 800x600 60Hz, and telling it to go
 1024x768 just results in the top left 800x600 being visible.

Further experimentation has revealed a rather interesting result. It
seems that Windows was claiming that it was driving the S-video at
1024x768, but was actually stretching it down to 800x600. Short of
reinstalling Windows (which I will not do!), I have no way to prove
this, but anecdotal evidence is that text is a bit more readable now.
So it's looking like 800x600 is all we really get anyway. Everything's
working other than that, so I'm basically going to consider the matter
closed, unless anyone has fancy ideas to try.

ChrisA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAPTjJmpNKaDY6t4ZOpuA0httvsSr=hhni0cfvosaqlzn17r...@mail.gmail.com



Re: S-Video on ThinkPad T42 with Debian Jessie - can't get above 800x600

2014-04-13 Thread Joe
On Sun, 13 Apr 2014 20:57:46 +1000
Chris Angelico ros...@gmail.com wrote:

 On Sun, Apr 13, 2014 at 1:39 AM, Chris Angelico ros...@gmail.com
 wrote:
  On Fri, Apr 11, 2014 at 12:50 AM, Chris Angelico ros...@gmail.com
  wrote:
  I've just converted a laptop from Windows XP to Debian Jessie, with
  the expectation that I'd be able to do everything at least as well
  as before. That's been mostly true, but I'm stuck on a problem
  with the S-Video output: whatever I do, the TV shows only 800x600.
 
  In the interests of experimentation, I live-booted AntiX on that
  same hardware. The result is exactly the same; xrandr says the
  S-video output is in its only mode of 800x600 60Hz, and telling it
  to go 1024x768 just results in the top left 800x600 being visible.
 
 Further experimentation has revealed a rather interesting result. It
 seems that Windows was claiming that it was driving the S-video at
 1024x768, but was actually stretching it down to 800x600. Short of
 reinstalling Windows (which I will not do!), I have no way to prove
 this, but anecdotal evidence is that text is a bit more readable now.
 So it's looking like 800x600 is all we really get anyway. Everything's
 working other than that, so I'm basically going to consider the matter
 closed, unless anyone has fancy ideas to try.
 

I was waiting for someone more knowledgeable to answer, as I've never
used S-Video with computers, but downconversion does seem likely.

I did wonder what was going on, because as far as I knew S-Video is
defined only for PAL and NTSC, 576i/50 and 480i/60 in modern
terminology. The point of it is that analogue luminance and chrominance
are carried on separate channels, thus avoiding some of the nastiness
inherent in encoding colour into a luminance signal. It really is a TV
signal, and an analogue standard definition one at that.

It would seem that the Linux driver doesn't control the video card
downconversion process properly, but as you say, a downconversion from
1024x768 isn't going to give you better results than from 800x600.

Mr Google says that JVC first used S-Video in 1987, but it would have
been around 1981 that I modified a Hitachi SK-81 camera to provide
separate Y and C outputs to feed a portable U-Matic, modified by
Roderick Snell who was then working at Brighton Polytechnic.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140413162729.34ff9...@jretrading.com



Re: S-Video on ThinkPad T42 with Debian Jessie - can't get above 800x600

2014-04-13 Thread Chris Angelico
On Mon, Apr 14, 2014 at 1:27 AM, Joe j...@jretrading.com wrote:
 I did wonder what was going on, because as far as I knew S-Video is
 defined only for PAL and NTSC, 576i/50 and 480i/60 in modern
 terminology. The point of it is that analogue luminance and chrominance
 are carried on separate channels, thus avoiding some of the nastiness
 inherent in encoding colour into a luminance signal. It really is a TV
 signal, and an analogue standard definition one at that.

Interesting. My brother has a desktop video card (an Nvidia one, but I
didn't ask what exact card it is) with S-Video output, and he plugged
it into the same TV via the same cable as the laptop had been using.
According to xrandr, resolutions went up to (I think) 1024x768, but he
saw some oddities, which could have been caused by a stretching down.
I never thought to check the definition of S-Video, as I thought
(naively) that Windows was being honest when it told me it was running
it at 1024x768.

Thanks for the response. The silence was a little worrying - I was
afraid nobody here had ever used S-Video with old hardware, and that
I'd be completely on my own.

ChrisA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/captjjmpq_mq9fokbghxsopuuoa3h1zxt7sbjuk5_w59qbb6...@mail.gmail.com



Re: S-Video on ThinkPad T42 with Debian Jessie - can't get above 800x600

2014-04-12 Thread Chris Angelico
On Fri, Apr 11, 2014 at 12:50 AM, Chris Angelico ros...@gmail.com wrote:
 I've just converted a laptop from Windows XP to Debian Jessie, with
 the expectation that I'd be able to do everything at least as well as
 before. That's been mostly true, but I'm stuck on a problem with the
 S-Video output: whatever I do, the TV shows only 800x600.

In the interests of experimentation, I live-booted AntiX on that same
hardware. The result is exactly the same; xrandr says the S-video
output is in its only mode of 800x600 60Hz, and telling it to go
1024x768 just results in the top left 800x600 being visible.

Any ideas?

ChrisA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/captjjmqlb6nmlk1ekpcdguk5gbwz9vz9r4cqvyf4ysrc+yb...@mail.gmail.com



S-Video on ThinkPad T42 with Debian Jessie - can't get above 800x600

2014-04-10 Thread Chris Angelico
Hi!

I've just converted a laptop from Windows XP to Debian Jessie, with
the expectation that I'd be able to do everything at least as well as
before. That's been mostly true, but I'm stuck on a problem with the
S-Video output: whatever I do, the TV shows only 800x600. I can force
the S-Video output to a higher resolution thus:

rosuav@yosemite:~$ cvt 1024 768 60
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline 1024x768_60.00   63.50  1024 1072 1176 1328  768 771 775
798 -hsync +vsync
rosuav@yosemite:~$ xrandr --newmode 1024x768_60.00   63.50  1024
1072 1176 1328  768 771 775 798 -hsync +vsync
rosuav@yosemite:~$ xrandr --addmode S-video 1024x768_60.00
rosuav@yosemite:~$ xrandr --output S-video --mode 1024x768_60.00

but the TV shows only the top-left 800x600 of the desktop (which is
happily running in 1024x768 for the internal LCD).

Google brought me to threads like
https://lists.debian.org/debian-user/2011/08/msg00050.html and Wiki
pages like http://www.thinkwiki.org/wiki/ATI_Mobility_Radeon_7500
which were of some help, but they got me as far as the above problem
:)

Relevant sections of various command outputs:

rosuav@yosemite:~$ lspci -vvnn
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] RV200/M7 [Mobility Radeon 7500] [1002:4c57] (prog-if 00 [VGA
controller])
Subsystem: IBM ThinkPad T42 2373-4WU [1014:0530]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR+ FastB2B+ DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
TAbort- TAbort- MAbort- SERR- PERR- INTx-
Latency: 66 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 3000 [size=256]
Region 2: Memory at c010 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at c012 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit-
FW- Rate=x1
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: radeon

rosuav@yosemite:~$ xrandr --verbose
S-video connected 800x600+0+0 (0x57) normal (normal left inverted
right x axis y axis) 0mm x 0mm
Identifier: 0x54
Timestamp:  30502
Subpixel:   no subpixels
Gamma:  1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC:   1
CRTCs:  0 1
Transform:  1.00 0.00 0.00
   0.00 1.00 0.00
   0.00 0.00 1.00
  filter:
tv standard: ntsc
supported: ntsc, pal, pal-m, pal-60, ntsc-j, scart-pal, pal-cn, secam
load detection: 1
range: (0, 1)
  800x600 (0x57)   38.2MHz -HSync +VSync *current +preferred
h: width   800 start  832 end  912 total 1024 skew0 clock   37.4KHz
v: height  600 start  603 end  607 total  624   clock   59.9Hz


I'm not using any xorg.conf at the moment.

Does it make any difference that, for reasons of practicality, I do
most of the configuration over ssh? I start with export DISPLAY=:0.0
and the commands appear to have the right effect, but if that could
potentially cause problems, I do have physical console access (it's
just in a different room and in an awkward position). The TV is
connected via S-Video cable; it was previously using S-Video to coax
of some sort, so I switched out the cable and the TV's input port, but
nothing changed.

Debian Jessie has been working well for us on two other computers in
the house, and Wheezy and Squeeze for most of the rest. If I need to
downgrade to Wheezy to solve this, I can do that.

All help gratefully received!

Chris Angelico


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/captjjmpcwx2fz75edkv_gwqr6uocmqagscqdxzfubhtmdxc...@mail.gmail.com