Re: S-Video on Debian

2011-08-03 Thread Kumar Appaiah
Dear Brian,

On Tue, Aug 02, 2011 at 01:39:40PM +0100, Brian wrote:
 The changelog for xserver-xorg-video-intel documents bug fixes for
 TV-OUT made a few years ago. Nothing else since.
 
  mode:   NTSC-M
  supported: NTSC-M   NTSC-443 NTSC-J   PAL-M 

 PAL-NPAL  480p@59.94Hz 480p@60Hz 

 576p 720p@60Hz720p@59.94Hz 720p@50Hz 

 1080i@50Hz   1080i@60Hz   1080i@59.94H
 
 The default TV standard is NTSC-M, which is ok if the television is
 built for it. Otherwise
 
xrandr --output TV1 --set mode PAL
 

Even this didn't help. Strangely, the TV standard isn't even defined
in my case; there has to be a driver issue.

I'll try getting fresh drivers from Intel asand building them this
weekend to see if that does me some good.

Thanks for the help!

Kumar
-- 
Are Linux users lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?
-- Matt Welsh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110804014841.ga8...@bluemoon.alumni.iitm.ac.in



Re: S-Video on Debian

2011-08-02 Thread Brian
On Mon 01 Aug 2011 at 20:03:52 -0500, Kumar Appaiah wrote:

 Well, this didn't really send the computer screen to the TV. I'll
 proceed to the debugging information.

   xrandr --output TV1  --same-as LVDS --mode 800x600

may be an alternative command to use. Replace 'LVDS' with whatever your
active display is.

 Here are the graphics card details from lspci -vvv:
 
 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
 Integrated Graphics Controller

The changelog for xserver-xorg-video-intel documents bug fixes for
TV-OUT made a few years ago. Nothing else since.

 mode:   NTSC-M
 supported: NTSC-M   NTSC-443 NTSC-J   PAL-M   
PAL-NPAL  480p@59.94Hz 480p@60Hz   
576p 720p@60Hz720p@59.94Hz 720p@50Hz   
1080i@50Hz   1080i@60Hz   1080i@59.94H

The default TV standard is NTSC-M, which is ok if the television is
built for it. Otherwise

   xrandr --output TV1 --set mode PAL


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110802123940.GH14528@desktop



Re: S-Video on Debian

2011-08-01 Thread Brian
On Sun 31 Jul 2011 at 20:33:33 -0500, Kumar Appaiah wrote:

 Here's what I have:
 
 TV1 connected 800x600+0+0 (normal left inverted right x axis y axis)
 0mm x 0mm
848x48030.0 +
640x48030.0 +
1024x768   30.0  
800x60030.0*60.3  

This tells you
   * the connection to the TV has been detected
   * there are two preferred modes (shown by the '+')
   * the current mode is 800x600 (shown by the '*')

 This ran:
 xrandr --addmode TV1 800x600

There is no need to do this because the cable connection is detected,
but I do not think it does any harm. I have to do it on one machine
because I'm told 'S-video disconnected '.

 xrandr --output TV1  --mode 800x600 --crtc 1

'--crtc 1' isn't really required.
 
 xvattr -a XV_CRTC -v 1
 Found Xv 2.2
 X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  132 (XVideo)
   Minor opcode of failed request:  13 ()
   Serial number of failed request:  13
   Current serial number in output stream:  14

Forget about this for the moment. I should have been clearer and
explained I use xvattr to send video to the TV with vlc. It is of no
consequence if nothing appears on the TV screen in the first place). The
command for you to use to see a portion of your computer screen on the
TV (because the TV is detected) is

   xrandr --output TV1  --mode 800x600 (or --mode 848x480 etc)

It might be useful for us to see the outputs of 'xrandr --verbose' and
'lspci' for the video card.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110801190450.GF14528@desktop



Re: S-Video on Debian

2011-08-01 Thread Kumar Appaiah
Dear Brian,

Thanks for helping me out.

On Mon, Aug 01, 2011 at 08:04:50PM +0100, Brian wrote:
 On Sun 31 Jul 2011 at 20:33:33 -0500, Kumar Appaiah wrote:
 
  Here's what I have:
  
  TV1 connected 800x600+0+0 (normal left inverted right x axis y axis)
  0mm x 0mm
 848x48030.0 +
 640x48030.0 +
 1024x768   30.0  
 800x60030.0*60.3  
 
 This tells you
* the connection to the TV has been detected
* there are two preferred modes (shown by the '+')
* the current mode is 800x600 (shown by the '*')

Fair. This makes sense.

  xrandr --output TV1  --mode 800x600 --crtc 1
 
 '--crtc 1' isn't really required.

Well, with, or without, nothing really appears on the TV.

  xvattr -a XV_CRTC -v 1
[snip]
 Forget about this for the moment. I should have been clearer and
 explained I use xvattr to send video to the TV with vlc. It is of no
 consequence if nothing appears on the TV screen in the first place). The
 command for you to use to see a portion of your computer screen on the
 TV (because the TV is detected) is
 
xrandr --output TV1  --mode 800x600 (or --mode 848x480 etc)

Well, this didn't really send the computer screen to the TV. I'll
proceed to the debugging information.

 It might be useful for us to see the outputs of 'xrandr --verbose' and
 'lspci' for the video card.

Here are the graphics card details from lspci -vvv:

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (primary) (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Dell Device 022f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 45
Region 0: Memory at fea0 (64-bit, non-prefetchable) [size=1M]
Region 2: Memory at e000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at eff8 [size=8]
Expansion ROM at unassigned [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c  Data: 4191
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Bridge: PM- B3+
Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated 
Graphics Controller (secondary) (rev 0c)
Subsystem: Dell Device 022f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Region 0: Memory at feb0 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Bridge: PM- B3+



The relevant portion of xrandr --verbose is:

TV1 connected 640x480+0+0 (0x3c8) normal (normal left inverted right x axis y 
axis) 0mm x 0mm
Identifier: 0x44
Timestamp:  148418469
Subpixel:   unknown
Gamma:  1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC:   0
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
bottom margin: 37 (0x0025)  range:  (0,100)
right margin: 46 (0x002e)   range:  (0,100)
top margin: 36 (0x0024) range:  (0,100)
left margin: 54 (0x0036)range:  (0,100)
mode:   NTSC-M
supported: NTSC-M   NTSC-443 NTSC-J   PAL-M   
   PAL-NPAL  480p@59.94Hz 480p@60Hz   
   576p 720p@60Hz720p@59.94Hz 720p@50Hz   
   1080i@50Hz   1080i@60Hz   1080i@59.94H
  848x480 (0x3c7)   14.5MHz +preferred
h: width   848 start  849 end  912 total  944 skew0 clock   15.4KHz
v: height  480 start  481 end  512 total  513   clock   30.0Hz
  640x480 (0x3c8)   11.3MHz *current +preferred
h: width   640 start  641 end  704 total  736 skew0 clock   15.4KHz
v: height  480 start  481 end  512 total  513   clock   30.0Hz
  1024x768 (0x3c9)   26.9MHz
h: width  1024 start 1025 end 1088 total 1120 skew0 clock   24.0KHz
v: height  768 start  769 end  800 total  801   clock   30.0Hz
  800x600 (0x3ca)   17.0MHz
h: width   800 start  801 end  864 total  896 skew0 clock   19.0KHz
v: 

S-Video on Debian

2011-07-31 Thread Kumar Appaiah
Hi.

I have an S-Video cable which I'd like to connect to a TV. It works on
a friends laptop with Windows. On Debian I have:

xserver-xorg 1:7.6+7
xserver-xorg-video-intel 2:2.15.0-3 
KDE 4.6.2

When I connect an S-Video cable to the television, I am able to see
the settings on the KDE Display Applet, and can configure it. However,
no output manages to get through to the television.

Several Ubuntu related fixes found on search engines didn't help much;
I couldn't figure out which xorg.conf to play around with.

Please let me know if I have to provide additional details. Thanks in
advance for any pointers you could offer.

Kumar
-- 
Who is General Failure and why is he reading my hard disk ?
Microsoft spel chekar vor sail, worgs grate !!
(By leit...@inf.fu-berlin.de, Felix von Leitner)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110731195804.ga5...@bluemoon.alumni.iitm.ac.in



Re: S-Video on Debian

2011-07-31 Thread Brian
On Sun 31 Jul 2011 at 14:58:04 -0500, Kumar Appaiah wrote:

 I have an S-Video cable which I'd like to connect to a TV. It works on
 a friends laptop with Windows. On Debian I have:
 
 xserver-xorg 1:7.6+7
 xserver-xorg-video-intel 2:2.15.0-3 
 KDE 4.6.2
 
 When I connect an S-Video cable to the television, I am able to see
 the settings on the KDE Display Applet, and can configure it. However,
 no output manages to get through to the television.

This is what I do.

1. xrandr -q
   The relevant lines in the output are:
   S-video disconnected 800x600+0+0 (normal left inverted right x axis y axis) 
0mm x 0mm
   800x60072.2*

2. xrandr --addmode S-video 800x600

3. xrandr --output S-video --mode 800x600 --crtc 1

4. xvattr -a XV_CRTC -v 1

xvattr is to needed to send the image to the TV. It may be obtained from
the Debian Multimedia archive.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110731214730.GE14528@desktop



Re: S-Video on Debian

2011-07-31 Thread Kumar Appaiah
Dear Brian,

On Sun, Jul 31, 2011 at 10:47:30PM +0100, Brian wrote:
  When I connect an S-Video cable to the television, I am able to see
  the settings on the KDE Display Applet, and can configure it. However,
  no output manages to get through to the television.
 
 This is what I do.
 
 1. xrandr -q
The relevant lines in the output are:
S-video disconnected 800x600+0+0 (normal left inverted right x axis y 
 axis) 0mm x 0mm
800x60072.2*

Here's what I have:

TV1 connected 800x600+0+0 (normal left inverted right x axis y axis)
0mm x 0mm
   848x48030.0 +
   640x48030.0 +
   1024x768   30.0  
   800x60030.0*60.3  

 2. xrandr --addmode S-video 800x600

This ran:
xrandr --addmode TV1 800x600

 3. xrandr --output S-video --mode 800x600 --crtc 1

This ran after a while, although I initially got a cannot find crtc
for output:

xrandr --output TV1  --mode 800x600 --crtc 1

 4. xvattr -a XV_CRTC -v 1

xvattr -a XV_CRTC -v 1
Found Xv 2.2
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  132 (XVideo)
  Minor opcode of failed request:  13 ()
  Serial number of failed request:  13
  Current serial number in output stream:  14

This step doesn't work. I hear some sound indicating that the TV is
responding somewhat, but it doesn't seem to work.

I'll keep trying, but if you have additional insights, do let me know.

Thanks!

Kmap
-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
-- dmegg...@aix1.uottawa.ca


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2011080101.ga20...@bluemoon.alumni.iitm.ac.in