diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-05-03 15:58:06 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-05-03 15:58:06 +0000 |
commit | 1201666d2bc412f6c8b8101291c4d795753c8712 (patch) | |
tree | 45e46a89c5f3b829564d06229d5d93767d52d830 | |
parent | ccea543bd77a8a3034a27acfa0fc5b3b6fa328f1 (diff) | |
download | anaconda-1201666d2bc412f6c8b8101291c4d795753c8712.tar.gz anaconda-1201666d2bc412f6c8b8101291c4d795753c8712.tar.xz anaconda-1201666d2bc412f6c8b8101291c4d795753c8712.zip |
2005-05-03 Jeremy Katz <katzj@redhat.com>
* anaconda: More pmac X hacking -- look at what the fb is running
at and use that as the resolution to try.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | anaconda | 8 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-05-03 Jeremy Katz <katzj@redhat.com> + + * anaconda: More pmac X hacking -- look at what the fb is running + at and use that as the resolution to try. + 2005-05-02 Jeremy Katz <katzj@redhat.com> * anaconda.spec: Bump version. @@ -911,6 +911,14 @@ if display_mode == 'g' and not os.environ.has_key('DISPLAY') and not flags.usevn # if no monitor probed lets guess based on runres hsync = monitorhw.getMonitorHorizSync() vsync = monitorhw.getMonitorVertSync() + + # if we're on a pmac, try to use the fb resolution + if not runres_override and iutil.getPPCMachine() == "PMac": + fbinfo = isys.fbinfo() + fbres = "%sx%s" %(fbinfo[0], fbinfo[1]) + if monitor.monitor_supports_mode(hsync, vsync, fbres): + runres = fbres + res_supported = monitor.monitor_supports_mode(hsync, vsync, runres) # XXX: this is a bit of a hack, but there are a reasonable number of |