pascalts
Posts: 6
Joined: Thu Jun 28, 2012 3:58 pm
Location: Germany
Contact: Website

Wrong resolution at X

Tue Jul 03, 2012 3:05 pm

Hi,

I'm using a raspberry with an 7Inch touchscreen. The touchscreens native resolution is 800x480px.

I tried to edit the /boot/config.txt file as said at elinux - my goal was 1280x768 @ 60Hz - so

Code: Select all

hdmi_group = 2
hdmi_mode = 23
this mode is DEFINETLY SUPPORTED by the screen (tested under Windows and raspBMC), but if I get an image (sometimes just happens nothing and I have to login using ssh), it is a resolution like 1152x864px (so hdmi mode 21...) and it is not possible to change it in LXDE. :twisted:

So my questions:
Is it possible to force a resolution?
Is it possible to set a new resolution like 800x480px? (Isn't the HDMI-port programmable?)

Pascal

pascalts
Posts: 6
Joined: Thu Jun 28, 2012 3:58 pm
Location: Germany
Contact: Website

Re: Wrong resolution at X

Tue Jul 03, 2012 3:45 pm

Er by the way I am now able to do 1280x720 - ok, not bad.

Code: Select all

[email protected]:~# /opt/vc/bin/tvservice -m CEA
Group CEA has 6 modes:
           mode 1: 640x480 @ 60Hz, progressive
           mode 2: 720x480 @ 60Hz, progressive
           mode 3: 720x480 @ 60Hz, progressive
  (native) mode 4: 1280x720 @ 60Hz, progressive
  (native) mode 5: 1920x1080 @ 60Hz, interlaced
           mode 16: 1920x1080 @ 60Hz, progressive
[email protected]:~# /opt/vc/bin/tvservice -m DMT
Group DMT has 5 modes:
           mode 4: 640x480 @ 60Hz, progressive
           mode 16: 1024x768 @ 60Hz, progressive
           mode 35: 1280x1024 @ 60Hz, progressive
           mode 47: 1440x900 @ 60Hz, progressive
           mode 58: 1680x1050 @ 60Hz, progressive
[email protected]:~# /opt/vc/bin/tvservice -s
state 0x12001a, 1280x720 @ 60Hz, progressive
but no idea to reach 800x480px.

framebuffer_width and framebuffer_height do only make the x run at a special resolution, bus the signal goes on at 1280x720px... :evil:

dukla2000
Posts: 190
Joined: Tue Jan 10, 2012 12:02 am
Location: Reading.UK.EU

Re: Wrong resolution at X

Tue Jul 03, 2012 6:37 pm

Well if your screen supports 800*480 it certainly isn't admitting it! In the HDMI thread (I presume you have read as you have run tvservice) I think Gert or Dom gives the code to ignore your screen EDID if you want to try that.

Faster would be to revert to raspBMC and check the config.txt, resulting boot sequence (especially Pi fb setup consequences as reported by dmesg) and X11 consequences (/var/log/Xorg.log) and then try repeat them in Raspbian.
Daily driver: Pi3B, 64GB Samsung Evo+ @100MHz, DVB-T, onboard WiFi for internet, BT/USB dongle for KB/mouse, 250GB HDD via USB for media, Raspbian Jessie Lite with Openbox desktop.
Museum: Pi B

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: Wrong resolution at X

Tue Jul 03, 2012 6:59 pm

hdmi_ignore_edid=0xa5000080
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

pascalts
Posts: 6
Joined: Thu Jun 28, 2012 3:58 pm
Location: Germany
Contact: Website

Re: Wrong resolution at X

Wed Jul 04, 2012 10:52 am

Thank you, I'll test it soon.

User avatar
joshje
Posts: 16
Joined: Wed Jul 04, 2012 4:47 pm

Re: Wrong resolution at X

Sun Jul 29, 2012 6:02 pm

I am also trying to set the display to output at 800x480.

Setting hdmi_ignore_edid=0xa5000080 has let me specify any resolution defined, but 800x480 still isn't an option.

Is there another config file where new resolutions can be defined?

pascalts
Posts: 6
Joined: Thu Jun 28, 2012 3:58 pm
Location: Germany
Contact: Website

Re: Wrong resolution at X

Mon Jul 30, 2012 4:55 pm

I heard that the hdmi is programmable... so it might be possible to FORCE this resolution?

someone any ideas?

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: Wrong resolution at X

Mon Jul 30, 2012 5:01 pm

If you edit the config.txt file located in /boot (you might have to make this file if it doesn't exist), you can add the hdmi_mode modifier to force a specific resolution.

full details on config.txt and the hdmi_mode options can be found here

http://elinux.org/RPi_config.txt
Dear forum: Play nice ;-)

User avatar
joshje
Posts: 16
Joined: Wed Jul 04, 2012 4:47 pm

Re: Wrong resolution at X

Mon Jul 30, 2012 5:13 pm

abishur wrote:If you edit the config.txt file located in /boot (you might have to make this file if it doesn't exist), you can add the hdmi_mode modifier to force a specific resolution.

full details on config.txt and the hdmi_mode options can be found here

http://elinux.org/RPi_config.txt
I did try this, but 800x480 isn't available as a resolution to set. I'm using 848x480 at the moment, which is close, but still not the right size (so text is blurry).

pascalts
Posts: 6
Joined: Thu Jun 28, 2012 3:58 pm
Location: Germany
Contact: Website

Re: Wrong resolution at X

Mon Jul 30, 2012 5:27 pm

joshje wrote:
abishur wrote:If you edit the config.txt file located in /boot (you might have to make this file if it doesn't exist), you can add the hdmi_mode modifier to force a specific resolution.

full details on config.txt and the hdmi_mode options can be found here

http://elinux.org/RPi_config.txt
I did try this, but 800x480 isn't available as a resolution to set. I'm using 848x480 at the moment, which is close, but still not the right size (so text is blurry).
same problem here. 800x480 not reachable. if i use an usual ubuntu x86 installation, 800x480 works, so it is not a problem of the monitor, i think.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Wrong resolution at X

Tue Aug 07, 2012 10:43 am

pascalts wrote:I heard that the hdmi is programmable... so it might be possible to FORCE this resolution?

someone any ideas?
Can you post your edid.dat (with /opt/vc/bin/tvservice -d edid.dat). You can zip it up and attach it to this thread.
I'd like to see if there is anything in there that indicates 800x480 is supported.

User avatar
joshje
Posts: 16
Joined: Wed Jul 04, 2012 4:47 pm

Re: Wrong resolution at X

Tue Aug 07, 2012 3:53 pm

Here's my edid output:
http://pastebin.com/8V6YzYs1

It doesn't specify 800x480 as an option, but definitely does support this resolution. It's also the native resolution of the display.

Should it matter if the resolution is reported by the edid? Surely we should be able to override this and set it to any arbitrary width and height?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Wrong resolution at X

Tue Aug 07, 2012 4:05 pm

joshje wrote:Here's my edid output:
http://pastebin.com/8V6YzYs1

It doesn't specify 800x480 as an option, but definitely does support this resolution. It's also the native resolution of the display.

Should it matter if the resolution is reported by the edid? Surely we should be able to override this and set it to any arbitrary width and height?
Well, we're looking into better support for non-standard modes. Can you post the binary edid.dat file?

User avatar
joshje
Posts: 16
Joined: Wed Jul 04, 2012 4:47 pm

Re: Wrong resolution at X

Tue Aug 07, 2012 5:33 pm

dom wrote:
joshje wrote:Here's my edid output:
http://pastebin.com/8V6YzYs1

It doesn't specify 800x480 as an option, but definitely does support this resolution. It's also the native resolution of the display.

Should it matter if the resolution is reported by the edid? Surely we should be able to override this and set it to any arbitrary width and height?
Well, we're looking into better support for non-standard modes. Can you post the binary edid.dat file?
That's great to know! Here's my edid.dat file: http://cl.ly/312t3G1X1946

User avatar
joshje
Posts: 16
Joined: Wed Jul 04, 2012 4:47 pm

Re: Wrong resolution at X

Mon Aug 13, 2012 9:38 pm

Hey Dom, is there a thread where I can see progress on this?

Thanks

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5370
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Wrong resolution at X

Mon Aug 13, 2012 10:10 pm

joshje wrote:Hey Dom, is there a thread where I can see progress on this?

Thanks
rpi_newbie2 is the hdmi guy at Broadcom. He's looking at fuzzy matching first, then generalised timing. You might get some info here:
http://www.raspberrypi.org/phpBB3/viewt ... 01#p146846

Return to “Raspbian”