summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-04-18 23:26:05 +0000
committerJeremy Katz <katzj@redhat.com>2007-04-18 23:26:05 +0000
commit90acb76b43292f339e971d45bd30ee4a995e5275 (patch)
tree5e0547d6cfc935416c3c85a76f0c9e9431439a4f /anaconda
parent64e84600b7f1343b854316e49da496e34b35a755 (diff)
downloadanaconda-90acb76b43292f339e971d45bd30ee4a995e5275.tar.gz
anaconda-90acb76b43292f339e971d45bd30ee4a995e5275.tar.xz
anaconda-90acb76b43292f339e971d45bd30ee4a995e5275.zip
2007-04-18 Jeremy Katz <katzj@redhat.com>
* anaconda: Add a hack so that we go to lowres for PS3 video at 480i (#236510)
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda8
1 files changed, 8 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 760bbf3e6..762a8428b 100755
--- a/anaconda
+++ b/anaconda
@@ -767,6 +767,14 @@ if __name__ == "__main__":
if not opts.isHeadless:
xserver = rhpxl.xserver.XServer()
xserver.resolution = opts.runres
+ # hack for PS3 video (#236510)
+ if rhpl.getArch() == "ppc":
+ try:
+ (x, y, bpp) = isys.fbinfo()
+ if x < 800 or y < 600:
+ xserver.resolution = "640x480"
+ except Exception, e:
+ log.debug("error getting fbinfo: %s" %(e,))
else:
xserver = None