Games that switch video modes make display into bars
Some games that switch video modes such as Bumprace, Tux Racer, and Powermanga will not work on my system. It somehow changes the display into bars. For example, a portion of the left side of the screen is repeated like this:
[display] [black] [display] [black] etc...
The [display] is just a small portion of the left side of the screen and the [display] area is also interlaced, ie. has black lines like stripes.
This is obviously looking to be a display mode problem with the system not setting the modes correctly. But how do I go about fixing it?
Here's the relevent parts of /etc/X11/XF86Config-4 (there is no XF86Config on my system, apparently, as I checked):
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
HorizSync 30-60
VertRefresh 50-75
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "Trident Microsystems"
BoardName "Trident CyberBlade (generic)"
Driver "trident"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
The video card is detected right, and when I set up Mandrake 10 Community, it detected my monitor as a SYS152L, which is right. I have a Syntax (Via chipset) motherboard and a SYS 15" LCD monitor. I run it at 1024 x 768 x 24-bit mode just fine. But if it changes modes in Linux, it screws up the display. In Windows 98SE (which I also have, as I'm dual-booting), I can switch video modes just fine.
I tried the config tool in HardDrake to set up video modes but they all seemed to display fine during tests of each mode.
I'm stumped as to what to do to fix this problem so I can try out some of these games.
|