Hi -
I’ve recently been trying to get my SDL/pygame app
that’s worked great with the dga/x11 drivers under linux
for years working on the linux framebuffer device (/dev/fb).
Generally things seem to work, until I exit my app and
then the framebuffer gets left in a wedged state that
required reboot to correct, even though all the pygame
and SDL close routines are getting called.
Anyone else seen this? Anyone know how to hard reset
a video card under the linux framebuffer? It’s almost
impossible to debug, since I have reboot the machine each
time
Thanks
/jamie–
office: 510-643-3573 mail: 3210 Tolman Hall #1650
lab: 510-642-1950 U.C. Berkeley
fax: 801-697-4179 Berkeley, CA 94720-1650
email: @James_Mazer
Jamie Mazer wrote:
Hi -
I’ve recently been trying to get my SDL/pygame app
that’s worked great with the dga/x11 drivers under linux
for years working on the linux framebuffer device (/dev/fb).
Generally things seem to work, until I exit my app and
then the framebuffer gets left in a wedged state that
required reboot to correct, even though all the pygame
and SDL close routines are getting called.
Anyone else seen this? Anyone know how to hard reset
a video card under the linux framebuffer? It’s almost
impossible to debug, since I have reboot the machine each
time
Can’t you reset the console to a sane state with fbset?
And besides, debugging over a network or a serial console would
work too.
.s
On Tue, 28 Jan 2003 12:01:01 -0800
…
Can’t you reset the console to a sane state with fbset?
Unfortunately, whatever the fb’s in, fbset can’t undo it. Running
fbset has (at best) no effect and (at worst) results in fbset locking
up waiting on /dev/fb.
And besides, debugging over a network or a serial console would
work too.
Well, that’s exactly what I’ve been doing – the problem is that once
the buffer’s wedged, I can’t reset it without a full reboot. Running
another pygame/sdl app or my program dies trying to open the
framebuffer.
/jamie> From: Santeri_Hernejrvi
To: sdl at libsdl.org
–
office: 510-643-3573 mail: 3210 Tolman Hall #1650
lab: 510-642-1950 U.C. Berkeley
fax: 801-697-4179 Berkeley, CA 94720-1650
email: @James_Mazer