diff options
author | Mike Fulbright <msf@redhat.com> | 2003-01-30 21:09:08 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-01-30 21:09:08 +0000 |
commit | b5114bbf027fcf753e5130bbd5819d5133226d0f (patch) | |
tree | 460c9716e1d108aae49df34ebfc6155ef3de5426 /xsetup.py | |
parent | e0833a02b35ec2cb0644f7c8dd8d957afe60571d (diff) | |
download | anaconda-b5114bbf027fcf753e5130bbd5819d5133226d0f.tar.gz anaconda-b5114bbf027fcf753e5130bbd5819d5133226d0f.tar.xz anaconda-b5114bbf027fcf753e5130bbd5819d5133226d0f.zip |
fix for when vram unknown (bug #81948)
Diffstat (limited to 'xsetup.py')
-rw-r--r-- | xsetup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -67,7 +67,9 @@ class XSetup: vc = self.xhwstate.videocard args = args + [ "--card", '"' + vc.primaryCard().shortDescription() + '"' ] - args = args + [ "--videoram", vc.primaryCard().getVideoRam() ] + vram = vc.primaryCard().getVideoRam() + if vram is not None: + args = args + [ "--videoram", vram] args = args + [ "--hsync", monitor.getMonitorHorizSync() ] args = args + [ "--vsync", monitor.getMonitorVertSync() ] |