All times are UTC-06:00




Post new topic  Reply to topic  [ 51 posts ] 
Author Message
 Post subject:
PostPosted: Mon May 02, 2011 3:16 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Disabling 1080 doesn't help, and Efika's "logic" feels as weird as ever.
Quote:
[ 1.964464] SIIHDMI: Supported modelines:
[ 1.964481] SIIHDMI: C "1920x1080@24" 74.250 1920 2558 2602 2750 1080 1089 1094 1130 +hsync -vsync
[ 1.964502] SIIHDMI: C "640x480@60" 25.175 640 656 752 800 480 492 494 527 -hsync -vsync
[ 1.964522] SIIHDMI: C "720x480@60" 27.00 720 736 798 858 480 495 501 531 -hsync -vsync
[ 1.964542] SIIHDMI: C "720x576@50" 27.00 720 732 796 864 576 586 591 630 -hsync -vsync
[ 1.964563] SIIHDMI: C "1280x720@60" 74.250 1280 1390 1430 1650 720 730 735 755 +hsync -vsync
[ 1.964583] SIIHDMI: C "1280x720@50" 74.250 1280 1720 1760 1980 720 730 735 755 +hsync -vsync
[ 1.964604] SIIHDMI: "1024x768@60" 65.02 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
[ 1.964622] SIIHDMI: Setting Resolution: 1280x720@20.93
If I understood correctly, the "20.93" rate is some kind of number-to-text conversion bug, but whatever 1280x720 mode is eventually being attempted, the Sony TV cannot display it any more than the 1920x1080 modes. Sound is working through the HDMI, however.

To tell the truth, it never even crossed my mind that getting a working picture to an HDMI display isn't a plain vanilla standard piece of cake these days. So far I've been able to get all HDMI devices I've tried to work with the Sony W5500 TV, including PS3, Xbox360, Denon AV amplifier, Samsung DVD recorder, various Canon and Sony cameras, and a Samsung laptop PC.

The unsupported modelines are these:
Quote:
[ 1.964116] SIIHDMI: Unsupported modelines:
[ 1.964137] SIIHDMI: i "1440x480@60i" 13.500 1440 1478 1602 1716 480 494 500 531 -hsync -vsync
[ 1.964160] SIIHDMI: i "1440x576@50i" 13.500 1440 1464 1590 1728 576 586 592 631 -hsync -vsync
[ 1.964183] SIIHDMI: i "1920x1080@60i" 74.250 1920 2008 2052 2200 1080 1094 1104 1135 +hsync -vsync
[ 1.964204] SIIHDMI: i "1920x1080@50i" 74.250 1920 2448 2492 2640 1080 1094 1104 1135 +hsync -vsync
[ 1.964226] SIIHDMI: p "1920x1080@60" 148.500 1920 2008 2052 2200 1080 1089 1094 1130 +hsync -vsync
[ 1.964248] SIIHDMI: p "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1089 1094 1130 +hsync -vsync
[ 1.964270] SIIHDMI: i "1920x1080@100i" 74.250 1920 2448 2492 2640 1080 1084 1094 1124 +hsync +vsync
[ 1.964292] SIIHDMI: i "1920x1080@120i" 74.250 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync
[ 1.964314] SIIHDMI: c "1280x720@50" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
[ 1.964335] SIIHDMI: p "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
[ 1.964357] SIIHDMI: v "1280x1024@60" 108.03 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
[ 1.964379] SIIHDMI: v "800x600@60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
[ 1.964399] SIIHDMI: c "640x480@60" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
[ 1.964420] SIIHDMI: c "1280x720@60" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
[ 1.964441] SIIHDMI: P "1920x1080@60" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
If you can build your own kernel from the gitorious master branch the refresh rate "print bug" is fixed. It will tell you if it's using the 50Hz or 60Hz 720p mode.

The logic is sound, it's exactly the procedure your XBox goes through. It is picking the mode from the supported list that best fits - if your TV cannot display that mode, then your TV is sending out bad EDID data.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon May 02, 2011 4:09 pm 
Offline

Joined: Thu Apr 21, 2011 12:28 pm
Posts: 9
Building kernels starts to feel a bit involved for this thing that was supposed to be my new living room couch potato internet + media device... The last time I've had to build a Linux kernel was somewhere between 1995-1997 during the dark ages of humanity. If I recall correctly, it just took a very long time and forced me to learn all sorts of stuff that's useless outside the realm of kernel hacking.

Blaming my TV isn't really going to do any good. It's a perfectly good TV and there must be millions of devices from the same series out there. Spec hygiene is OK if you're making the control software of a space shuttle or something, but not when trying to communicate with consumer electronics from different manufacturers. Just my couch potato opinion.


Top
   
 Post subject:
PostPosted: Tue May 03, 2011 12:26 am 
Offline

Joined: Tue Apr 19, 2011 3:01 am
Posts: 12
Location: Helsinki, Finland
Even correct-looking EDID data doesn't seem to guarantee that there would be correct output. On my HP DVI display the EDID info seemed to be perfectly fine when read from /proc, but the only mode Ubuntu would ever display was 1024x768, in spite of any command line switches. Tried both with HDMI-DVI converter and cable. Android, however, did display 1280x720, so definitely it should be doable.

Autodetection is fine as long as it works, but not when it overrides even the manual settings. Wouldn't it make sense to let the user force whatever mode they see fit for their hw, even if risking getting a blank screen?


Top
   
 Post subject:
PostPosted: Tue May 03, 2011 7:38 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1594
Location: Austin, TX
Quote:
Even correct-looking EDID data doesn't seem to guarantee that there would be correct output. On my HP DVI display the EDID info seemed to be perfectly fine when read from /proc, but the only mode Ubuntu would ever display was 1024x768, in spite of any command line switches. Tried both with HDMI-DVI converter and cable. Android, however, did display 1280x720, so definitely it should be doable.

Autodetection is fine as long as it works, but not when it overrides even the manual settings. Wouldn't it make sense to let the user force whatever mode they see fit for their hw, even if risking getting a blank screen?
Because in the vast majority of cases specifying a mode on the command line gets it shoved through the core of the framebuffer subsystem and it has about as much of a clue about deriving mode timings for HDMI displays as my cats.

We are working on a little fix to allow users to specify their own modes on the command line, but a CVT mode is not guaranteed to display on an HDMI monitor, or even a DVI one. Unless you have one that specifically supports EDID 1.4, which is so rare as to be irrelevant anyway, we can't tell if the mode calculation being done is going to be supported, and if you don't have a monitor that supports EDID 1.4, we can't tell regardless.

With your average flat panel display, guessing that it can support "HxW@R" style modes based on anything but the EDID data reported is going to get you a black screen or a "no signal" prompt.

It's much, much safer to restrict you to supported modes. We're going to do a match against the mode you asked for, so it will still be an EDID reported mode, after the incompatibility cull, and if that doesn't work as in the cases above (i.e. an EDID reported mode doesn't display anything) you are still going to be totally out of luck.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Wed May 04, 2011 11:14 am 
Offline

Joined: Tue Apr 19, 2011 3:01 am
Posts: 12
Location: Helsinki, Finland
Since it has never worked for me with any configuration: is there (going to be) support for mode switching after booting up? Since the chip seems to be perfectly capable of it, is there a reason to stick to the initial mode only?


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 1:19 am 
Offline

Joined: Thu Apr 21, 2011 12:28 pm
Posts: 9
How is it possible that none of my other devices have any problems getting working output on the Sony over HDMI? Even the Android demo worked. If I had to make a choice between an elegant or working piece of software, I'd take the working one. But hey, it's just a matter of opinion, of course. YMMV.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 51 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group