Page 1 of 1

Monitor resolution

Posted: Fri Jan 22, 2016 8:38 pm
by mmkw43
All of a sudden my display size has been reduced. Is there supposed to be a listing in the menu Preferences>Monitor settings ?
I don't see one. I had everything setup in config.txt and didn't touch it. Why is there so much gibberish with the PI and monitors?
I really need to have it detect and display correctly. Using a PI2 would think they would have it figured out by now.

It's displaying wide screen but not filling the monitor like it WAS.

Re: Monitor resolution

Posted: Fri Jan 22, 2016 8:44 pm
by mmkw43
well obviously it has to do with overscan.

Re: Monitor resolution

Posted: Fri Jan 22, 2016 8:47 pm
by mmkw43
when are they going to get this so it gets it right? I disabled overscan and now I see I have to go in there and tweek the values. I'm working on a product using the PI and no user will be able to do this. -- again, sholud there be a preferences> monitor settings in the GUI ?

Re: Monitor resolution

Posted: Fri Jan 22, 2016 8:52 pm
by mmkw43
Is there a set of overscan values that will generally work well with any new monitor? Something I can put in there and users should be ok?

Re: Monitor resolution

Posted: Fri Jan 22, 2016 8:55 pm
by DirkS
mmkw43 wrote:Is there a set of overscan values that will generally work well with any new monitor? Something I can put in there and users should be ok?
In the majority of cases disabling overscan completely seems to be the best option :roll:

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:00 pm
by GTR2Fan
mmkw43 wrote:Is there a set of overscan values that will generally work well with any new monitor? Something I can put in there and users should be ok?
Other than just disabling it, probably not. The amount a TV (or ocassionally a monitor) overscans varies quite widely between manufacturers, so there is no 'correct' value to compensate for it. That's why it's adjustable. The only way you'll get it spot-on for every display is to disable overscan on the Pi and include instructions for the end-user to make sure that overscan isn't enabled on the display. The same goes for any device driving a display with overscan enabled via HDMI or DVI-D. It's not a Pi-specific problem.

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:27 pm
by mmkw43
seems at least on the 2 monitors I've used with both a PI2 and a B model it has a tendency to overfill the screen? typical ?

My top bar with the menu is only half visible which is really the only problem -- I can move the desktop icons where I want.

That GUI preferences>monitor settings ? should it be there ? just curious.

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:45 pm
by GTR2Fan
It is possible to store multiple TV/monitor profiles in config.txt and have them auto-select if that's any help. The following pseudo-code shows how...

Code: Select all

# Global options go here
hdmi_force_hotplug=1

[EDID=ABC-DE1234]
# Options in here execute only if `tvservice -n` gives `device_name=ABC-DE1234`
hdmi_group=2
hdmi_mode=82

[EDID=ABC-HDMI]
# Options in here execute only if `device_name=ABC-HDMI`
disable_overscan=1
hdmi_group=2
hdmi_mode=87
Note: I have never tried this personally, only seen it suggested, so I can't vouch for how well it works.

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:49 pm
by DirkS
GTR2Fan wrote: I have never tried this personally, only seen it suggested, so I can't vouch for how well it works.
Documented in https://www.raspberrypi.org/documentati ... fig-txt.md (section 'THE [EDID=*] FILTER')

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:52 pm
by GTR2Fan
Thank you.

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:54 pm
by mmkw43
# Global options go here
could you brief me on these? I know the first one forces hdmi but what's going on with group and mode?
and the mode "number"

thanks.


hdmi_force_hotplug=1

[EDID=ABC-DE1234]
# Options in here execute only if `tvservice -n` gives `device_name=ABC-DE1234`
hdmi_group=2
hdmi_mode=82

[EDID=ABC-HDMI]
# Options in here execute only if `device_name=ABC-HDMI`
disable_overscan=1
hdmi_group=2
hdmi_mode=87

Re: Monitor resolution

Posted: Fri Jan 22, 2016 9:56 pm
by GTR2Fan
It's all documented in the link DirkS kindly gave immediately below my previous post.

Re: Monitor resolution

Posted: Sat Jan 23, 2016 7:38 am
by rpdom
GTR2Fan wrote:It is possible to store multiple TV/monitor profiles in config.txt and have them auto-select if that's any help

Note: I have never tried this personally, only seen it suggested, so I can't vouch for how well it works.
It works. I use it on the Pi I do various development work on and can be connected to one of five different screens.
Based on the name the screen reports, it sets the overscan and video modes accordingly :)