Re: default resolution on distro boot

2012-01-24 Thread Darac Marjal
On Mon, Jan 23, 2012 at 03:47:10PM -0700, mik...@softhome.net wrote:
 Given that several Linux distros identify (on boot) my display brand
 and type, get the size only slightly wrong, but default to a
 resolution that isn't native and doesn't work correctly, how do I
 identify just what package, module, or kernel part this bug hides
 in?
 I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a 37.
 That's not as important as the default resolution, which comes up as
 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).

There is a functionality called EDID (Extended Display Identification
Data) which most display devices implement. Basically, one can ask the
display for what capabilities it has and then set the display to the
most suitable values.

To see what your display reports, try installing the read-edid
package, then run

$ $RUNASROOT get-edid | parse-edid | $PAGER

(where $RUNASROOT is whatever command you prefer to run 'get-edid' as
root. 'sudo', 'fakeroot', 'su -c' etc)

You should get a page of information telling you the manufacturer, model
etc of the display plus a list of modes it claims to support. It MAY BE
that native is not in that list (unlikely, but it has happened), in
which case you'll need to tell X to ignore it's autodetected resolution
and give it a modeline, just like in the old days :)

 
 
 -- 
 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/courier.4f1de36e.1...@softhome.net
 

-- 
Darac Marjal


--
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/20120124131620.ga24...@darac.org.uk



Re: default resolution on distro boot

2012-01-24 Thread Martin Steigerwald
Am Montag, 23. Januar 2012 schrieb mik...@softhome.net:
 Given that several Linux distros identify (on boot) my display brand
 and type, get the size only slightly wrong, but default to a
 resolution that isn't native and doesn't work correctly, how do I
 identify just what package, module, or kernel part this bug hides
 in?
 I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a
 37. That's not as important as the default resolution, which comes up
 as 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't
 doable).

I suggest to you reading:

TVs are all awful
Matthew Garrett

http://mjg59.dreamwidth.org/8705.html

as well as the linked postings

Why EDID is not trustworthy for DPI

Adam Jackson
http://lists.fedoraproject.org/pipermail/devel/2011-October/157671.html

Matthew Garrett
http://lists.fedoraproject.org/pipermail/devel/2011-October/157760.html


And then just stick to setting the resolution *manually*.

I know the latter are related to DPI and thus also how TVs report physical 
size. But at least in the Blog by Matthew Garrett are also hints, while 
resolutions would not be reported correctly.

The actual implementation as well as partly also specification for DDC 
appears to contain quite some crap it seems. Manufacturers of TVs do not 
seem to care much about reporting correct values in order of cheap, cheap, 
cheap.

That is at least what I gathered from above mentioned reading.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
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/201201241547.09969.mar...@lichtvoll.de



Re: default resolution on distro boot

2012-01-24 Thread Martin Steigerwald
Am Dienstag, 24. Januar 2012 schrieb Darac Marjal:
 On Mon, Jan 23, 2012 at 03:47:10PM -0700, mik...@softhome.net wrote:
  Given that several Linux distros identify (on boot) my display brand
  and type, get the size only slightly wrong, but default to a
  resolution that isn't native and doesn't work correctly, how do I
  identify just what package, module, or kernel part this bug hides
  in?
  I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a
  37. That's not as important as the default resolution, which comes
  up as 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't
  doable).
[… EDID …]
 You should get a page of information telling you the manufacturer,
 model etc of the display plus a list of modes it claims to support. It
 MAY BE that native is not in that list (unlikely, but it has
 happened), in which case you'll need to tell X to ignore it's
 autodetected resolution and give it a modeline, just like in the old
 days :)

For getting modelines try cvt or gtf:

martin@merkaba:~ cvt 1920 1080 60
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline 1920x1080_60.00  173.00  1920 2048 2248 2576  1080 1083 1088 
1120 -hsync +vsync
martin@merkaba:~ gtf 1280 1024 60

  # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
  Modeline 1280x1024_60.00  108.88  1280 1360 1496 1712  1024 1025 1028 
1060  -HSync +Vsync

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
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/201201241549.11264.mar...@lichtvoll.de



default resolution on distro boot

2012-01-23 Thread mikezb
Given that several Linux distros identify (on boot) my display brand and 
type, get the size only slightly wrong, but default to a resolution that 
isn't native and doesn't work correctly, how do I identify just what 
package, module, or kernel part this bug hides in?

I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a 37.
That's not as important as the default resolution, which comes up as
1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable). 



--
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/courier.4f1de36e.1...@softhome.net



Re: default resolution on distro boot

2012-01-23 Thread Scott Ferguson
On 24/01/12 09:47, mik...@softhome.net wrote:
 Given that several Linux distros identify (on boot) my display brand and
 type, get the size only slightly wrong, but default to a resolution that
 isn't native and doesn't work correctly, how do I identify just what
 package, module, or kernel part this bug hides in?
 I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a 37.
 That's not as important as the default resolution, which comes up as
 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).
 
What do you mean by doesn't work correctly?
You probably should not expect the same display quality on a tv
display as a PC display.

Are they all using the same driver[*1], have you cycled through all the
modes they support[*2], does your graphics card support all the modes
your display is capable of, etc.

[*2]Ctrl++, Ctrl--, or xrandr


The actual model of your television will allow you to find out what it's
capable of - unless the display shows errors you could presume that it
is being detected properly, just not the same RRate/Resolution/driver.

Please post the Debian information. Use pastebin.debian.net (or pastebinit).

[*1]/var/log/Xorg.0.log
$ lspci | grep VGA
and any warnings, errors, or fails from dmesg


Cheers
-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/

NOTE: new update available for Debian Buttons
(New button for querying Debian Developer Package):-
https://addons.mozilla.org/en-US/firefox/addon/debian-buttons/


-- 
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/4f1df6c5.5080...@gmail.com



Re: default resolution on distro boot

2012-01-23 Thread Ashton Fagg
On 24 January 2012 08:47,  mik...@softhome.net wrote:
 Given that several Linux distros identify (on boot) my display brand and
 type, get the size only slightly wrong, but default to a resolution that
 isn't native and doesn't work correctly, how do I identify just what
 package, module, or kernel part this bug hides in?
 I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a 37.
 That's not as important as the default resolution, which comes up as
 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).

Can you please clarify which build of Debian you're using? (stable,
testing etc) Also, do you mean that the boot process shows up at the
wrong resolution and it actually works fine when X starts, or it
doesn't work correctly at all? Perhaps I'm reading you're question
wrong...

Ashton


-- 
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/cafxd2aokykm+s5+qv7mchiscqaoryj_9qdct0edzh97fspk...@mail.gmail.com



Re: default resolution on distro boot

2012-01-23 Thread Paul E Condon
On 20120123_154710, mik...@softhome.net wrote:
 Given that several Linux distros identify (on boot) my display brand
 and type, get the size only slightly wrong, but default to a
 resolution that isn't native and doesn't work correctly, how do I
 identify just what package, module, or kernel part this bug hides
 in?
 I'm using a Sharp 32 LCD tv via hdmi cable, and it's identified as a 37.
 That's not as important as the default resolution, which comes up as
 1280x720, but should be 1360x768 (or 1024x768 if wxga isn't doable).

When I had a similar problem a few years ago, I was given a magic
spell that worked for me. Create a file, /etc/X11/xorg.conf, a put
the following in it:

Section Device
Identifier  Configured Video Device
Option  UseBIOS   off
EndSection

This disables a section of the BIOS of the video display
monitor. (NOT the 'BIOS' of the computer) . Some manufactures
seem to have seem to have recorded operating parameters for
a CRT monitor into their flatscreen displays. Or some such
craziness. As I say, except for the crazy explanation, this
is purely a magic incantation that has worked for me. 

YMMV, HTH, etc..etc. 
See man xorg.conf for a more impressive explanation.

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
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/20120124040611.ga...@big.lan.gnu