Screen-Shifting wierdness in 109pre2 (in SVGAlib / Quake 1+2)

Mark Orr (markorr@intersurf.com)
Tue, 14 Jul 1998 15:57:15 -0500 (CDT)


I've read the various posts about 109pre2 and the
screen shifting in X, so I thought I'd add another data point to
the observations...

----

System Info: Pentium-100 (90 o.c'ed), 16 Mb RAM, 17 Mb swap,
Linux 2.1.109pre2, glibc 2.0.7, svgalib 1.2.13, Xfree86 3.2.2pl2,
Diamond Viper PCI 2 Mb VRAM (Weitek Power 9000), XF86_P9000 server.
fully modularized kernel. selected VGA text consoles, video
mode selection support (vga=2 at boot), no framebuffer console stuff

----

I am *NOT* seeing any screen shifting in X, not even when modules
are loaded/unloaded. I'm also not seeing any unusual messages in
the system log. No shifting or odd text scrolling on the text console
either.

However, I _AM_ seeing the shifting, in a different place. I only
seem to get it when I run Quake I or II under svgalib.

When I run Quake II, the screen shifts upward -- it acts as though
it is _scrolling_ like a text console would. With enough of this
shifting, you can only see the bottom portion of the screen (either
in Quake II console mode, or in the game.

I can trigger the shifting -- if I press ~ to get to the quake2
console, each time I press enter it shifts upward a small amount.
Looking at the inventory (tab?), and going thru the Quake II menus
also trigger the shifting. (I'm running Linux Quake II 3.17)

The game itself plays perfectly, even with the shifted screen. I
can get it to reset a normal unshifted screen by trying to do a
video mode change -- i have an old card, which doesnt support all
the svgalib video modes, so it doesnt actually change the resolution.
It tries, fails -- but the screen is reset to an unshifted state.
(but the above triggers cause it to shift again).

As the screen in Quake II shifts, the area at the bottom of the
screen is blank/black.

Quake 1 also shifts -- in a different way. The screen scrolls upward,
but the region scrolled off the top of the screen, is displayed on
the bottom -- like it wrapping around....the wrapped around part is
also shifted to the left, and wrapped around on the right. It looks
like i've got 3 windows:

-----------------------------
| |
| bottom portion |
| |
-----------------------------
| top right | top |
| portion | left |
-----------------------------

Quake I also plays perfectly, even with the shifting.

Other svgalib programs (Acidwarp, linplasma, lockvc, acidworm) do NOT
exhibit these problems.

This never happened until 2.1.109pre2 -- I ran 109pre1 for several
days, and I never observed this problem. I never seen any of these
problems (w/ quake or any other program) in any previous kernel.

To try to isolate the problem, I ran the games at init 1, will all
unnecessary modules unloaded....and all unnecessary programs/daemons
killed. I'm low on disk space, so I must run these programs from a
loop device (posing as 200Mb ext2 partition) on my MSDOS partition.

I also recompiled my kernel: first time, I did Make bzImage/bzlilo...
second time I did make zImage/zlilo and compiled with Trevor Johnson's
config.h patches to 2.1.109pre2...and no other kernel option changes.
No effect.

For what it's worth, I've tried playing sounds -- .wav/.au files, both
on the console and in X -- that didnt cause any shifting for me.

Oh, and Quake I/II using the X versions/renderers are fine.

---

Mark Orr markorr@intersurf.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html