summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-04 20:03:55 +0000
committerMike Fulbright <msf@redhat.com>2002-06-04 20:03:55 +0000
commit49cc366b31af6fb2a7e9524bd995ab6a4ec42a03 (patch)
treee32d68c5c672edbcb94c10cd60cca094dea5b3e8 /xf86config.py
parentf13d37314c81388d0d34e7d5a4ec7c05e9b7f578 (diff)
downloadanaconda-49cc366b31af6fb2a7e9524bd995ab6a4ec42a03.tar.gz
anaconda-49cc366b31af6fb2a7e9524bd995ab6a4ec42a03.tar.xz
anaconda-49cc366b31af6fb2a7e9524bd995ab6a4ec42a03.zip
dont set displaysize for vesa driver cause its busted at the moment
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/xf86config.py b/xf86config.py
index d85ad7ed5..6af466849 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -956,6 +956,10 @@ class XF86Config:
# elif self.videocard.hasFixedMode():
# self.manualModes = self.videocard.FixedMode()
+ # needed for VGA16 to work?
+ if self.videocard.hasFixedMode():
+ self.manualModes = self.videocard.FixedMode()
+
# save current manually selected mode, override if non-existant
manmodes = self.manualModes
if not manmodes:
@@ -1267,7 +1271,7 @@ Section "Screen"
# only works when starting X server in real install environment
displaySizeOpts = ""
fdpi = self.getForcedDPI()
- if fdpi and self.res:
+ if fdpi and self.res and (carddata.has_key("DRIVER") and carddata["DRIVER"] != "vesa"):
try:
idx = string.find(self.res, 'x')
if idx >= 0: