WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xvesa automatic max resolution hack  (Read 2549 times)

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Xvesa automatic max resolution hack
« on: December 07, 2011, 10:46:16 AM »
Heyho guys,

a while ago I uploaded the read-edid.tcz extension with a script monitor_modes in it, which returns display data values of supported modes.
The next step is to ask Xvesa -listmodes about the modes of the gfx card. Find the greatest common value of both and use it ;-)

I tried it with my 1920x1200 LCD display and at least I get 1600x1200 instead of 1024x768!

So usage:
1. put vesa_max_res.sh to /opt/
2. replace 1024x768x32 with $(/opt/vesa_max_res.sh) in your .xession file
3. backup /opt/vesa_max_res.sh and your .xsession

Feel free to report fail or success, might be useless to some or most ;)

Cheers
Robert
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Xvesa automatic max resolution hack
« Reply #1 on: December 07, 2011, 11:30:47 PM »
Thanks, that's real handy to have when 1920x1200 is such a common resolution.

;)
« Last Edit: December 08, 2011, 12:21:28 AM by coreplayer2 »

Offline andrewb

  • Full Member
  • ***
  • Posts: 121
Re: Xvesa automatic max resolution hack
« Reply #2 on: December 08, 2011, 02:59:30 PM »
A suggestion for improving this script:

If you use the two resolution numbers you extract & multiply them you will be able to select the max resolution & should be able to get 1900x1200 in your case.