TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Resolution help... again.

Fri Jun 01, 2012 6:24 pm

I posted here yesterday asking about some help with the resolution on my pi; I changed the config file; it now looks like this:

Code: Select all

hdmi_group=2
hdmi_mode=16
overscan_left=15
overscan_right=15
So the resolution is supposed to be 1024x768 but it comes out as 930x704
I'd like to have it as 1280x1024 but it doesn't show any image on the screen when i set this in the config file:

Code: Select all

hdmi_group=2
hdmi_mode=35
Any help guys?

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

Re: Resolution help... again.

Fri Jun 01, 2012 9:13 pm

The long way is to check the EDID (and use edidparser) on your screen to check all the possibilities (there is another thread started by Gert on this somewhere). The short way is probably to add
framebuffer_width=1024
framebuffer_height=68
to your config.txt
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

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Fri Jun 01, 2012 9:40 pm

It didn't make any difference :| I'm still getting 930x704. Anything else i can do?

redcatster
Posts: 4
Joined: Tue Feb 28, 2012 8:23 am

Re: Resolution help... again.

Sat Jun 02, 2012 11:56 am

i tried setting up the config.txt with all sorts of things but it doesn't do anything.
what i'm not sure of is this for cmdline or xwindows.
i know in the past i've had to use a script for xwindows to generate the right xorg.conf for me
i haven't sat down and done a manual setup of a xorg.conf file yet but i think this is what i'm after and maybe everyone else

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

Re: Resolution help... again.

Sat Jun 02, 2012 12:00 pm

@TheFreeman04
update your firmware (e.g. with Hexxeh's rpi-updater) and then try dukla2000 suggestion.

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sat Jun 02, 2012 3:05 pm

I'm getting no where the hexxeh updater doesn't work all i get is /usr/bin/rpi-update persmision denied, even if i run as root. when i do "sudo su rpi-update" all i get is "Unknown id: rpi-update"
This sucks :( any more help would be greatly appreciated!

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

Re: Resolution help... again.

Sat Jun 02, 2012 3:28 pm

We you either want to:
sudo rpi-update

or
su
(type in root password)
rpi-update

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sat Jun 02, 2012 6:29 pm

After having a lot of trouble updating; having to re-format my sd card 3 times because it stopped working somehow... I got to update, updated my config file and nothing changed. I checked my compatible modes using "/opt/vc/bin/tvservice -m CEA" and "/opt/vc/bin/tvservice -m DMT" Nothing has changed. :evil:

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

Re: Resolution help... again.

Sat Jun 02, 2012 6:41 pm

So from Pi can you show output of:
/opt/vc/bin/tvservice -s
cat /boot/config.txt

and explain what the resolution you are getting is, and what you expect.

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sat Jun 02, 2012 6:59 pm

/opt/vc/bin/tvservice -s shows "state 0x120001, 1024x768 @ 60hz progressive"
My config file looks like this:
hdmi_group=2
hdmi_mode=16
overscan_left=15
overscan_right=15
framebuffer_width=68
framebuffer_height=1024
I would like to have:
hdmi_group=2
hdmi_mode=36
But it doesn't work. The current output resolution (whats actually appearing on my screen) 930x704 :?

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

Re: Resolution help... again.

Sun Jun 03, 2012 10:14 am

I don't think you have the latest firmware. Can you report output of:
/opt/vc/bin/vcgencmd version

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 12:35 pm

Apr 18 2012 15:04:56
Copyright (c) Broadcom
version 310376 (release)

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

Re: Resolution help... again.

Sun Jun 03, 2012 12:43 pm

Well there's your problem. It's six weeks old. You should get:

May 31 2012 13:35:03
Copyright (c) 2012 Broadcom
version 317494 (release)

Please run Hexxeh's rpi-update.

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 12:50 pm

Damn. I ran it twice yesterday, first time i got a kernel panic. Just done it again, and now it says "fatal: Not a git repository: '//root/.rpi-firmware/.git'"
I am so sorry for this taking so long too sort out, I have never had this many problems at once :|
Thanks again for any help!

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

Re: Resolution help... again.

Sun Jun 03, 2012 1:06 pm

Can you show output of the following commands:

md5sum /usr/bin/rpi-update
ls -l /usr/bin/rpi-update
rpi-update

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 1:16 pm

md5sum /usr/bin/rpi-update:
#1a0e4e39f2497116ffd9e5fb4bcddd0e /usr/bin/rpi-update
ls -l /usr/bin/rpi-update:
-rwxr-xr-x 1 root root 5574 jun 3 1353 /usr/bin/rpi-update
rpi-update:
fatal: Not a git repository: '//root/.rpi-firmware/.git'

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

Re: Resolution help... again.

Sun Jun 03, 2012 1:30 pm

Your rpi-update file is good.

However I get this output:
[email protected]:~$ sudo rpi-update
Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
Performing self-update
Autodetecting memory split
Using ARM/GPU memory split of 128MB/128MB
We're running for the first time
Setting up firmware (this will take a few minutes)

There's something wrong with the other tools. Have you changed default shell? Anything else you've changed from defaults?
I can only suggest you try with a fresh debian image.

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 2:23 pm

OK, I've got the update to work (finally after a fresh image, thanks :D ) and now I've lost all modes in DMT :evil: is there anything else I can do, or do i just have to deal with it?

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 2:27 pm

And i'm still getting weird resolutions, even after messing with framebuffer :(

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 3:26 pm

After disabling overscan, i am able to get the resolutions i expect; but i'm still not getting the resolutions that 'fit' my monitor (1152x865 or 1280x1024) both of which are in DMT which after the update has "0 modes"...

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

Re: Resolution help... again.

Sun Jun 03, 2012 3:37 pm

Can you report:
cat /boot/config.txt
/opt/vc/bin/tvservice -s
/opt/vc/bin/tvservice -m DMT
/opt/vc/bin/tvservice -m CEA
/opt/vc/bin/tvservice -d edit.dat (and post edid.dat here)

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 3:53 pm

cat /boot/config.txt
hdmi_group=1
hdmi_mode=4
disable_overscan=1
/opt/vc/bin/tvservice -s
state: hpd high | HDMI mode | HDCP off | composite off (0x12002a), 1280x720 @ 60Hz progressive
/opt/vc/bin/tvservice -m DMT
Group DMT has 0 modes:
/opt/vc/bin/tvservice -m CEA
Group CEA has 9 modes:
mode 1: 640x480 @ 60Hz, progressive
mode 2: 720x480 @ 60Hz, progressive
mode 3:720x480 @ 60Hz, progressive
(native) mode 4: 1280x720 @60Hz, progressive
(native) mode 16: 1920x1080 @60Hz, progressive
mode 17: 720x576 @ 50Hz, progressive
mode 18: 720x576 @ 50Hz, progressive
mode 19:1280x720 @ 50Hz, progressive
mode 31: 1920x108 @ 50Hz, progressive
/opt/vc/bin/tvservice -d edit.dat
written 256 bytes to edit.dat

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 3:54 pm

My monitor isn't even capable of 1080p/i its a 17" lg flatron maximum resolution of 1280x1024 :|

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

Re: Resolution help... again.

Sun Jun 03, 2012 4:08 pm

TheFreeman04 wrote:My monitor isn't even capable of 1080p/i its a 17" lg flatron maximum resolution of 1280x1024 :|
You didn't attach edid.dat to the post. You can run /opt/vc/bin/edidparser edid.dat to see all the modes possible.

You get no DMT modes because of hdmi_group=1 (which is CEA).

So, if you delete config.txt and boot what is the problem?
What mode would you like monitor to be in? 1280x720? 1280x1024?

From here:
http://elinux.org/RPi_config.txt

I would expect that
hdmi_group=2
hdmi_mode=35

would be a better fit, but I need to see the edid to be sure.

TheFreeman04
Posts: 28
Joined: Mon Feb 20, 2012 4:42 pm

Re: Resolution help... again.

Sun Jun 03, 2012 4:13 pm

Sorry! /opt/vc/bin/edidparser edid.dat reports:
failed to open edid.dat
edid_parser exited with code -1
I've tried:
hdmi_group=2
hdmi_mode=35
No picture! 1280x1024 would be perfect!

Return to “Troubleshooting”