[mach64] Striped corner and mode switch failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-ati (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xserver-
Hardware: ATI Rage Pro Turbo AGP 2X
Desktop: Gnome default, 800x600
Frequently on startup, dark vertical stripes appear in an approximately 64x64 area in the top left corner of the screen; they usually disappear after a while and are not shown on a screenshot.
My Allegro programs only seem to be able to change the screen mode once in each run; any attempt to do so again (including the automatic return to normal desktop resolution on exit) fails with the error message below and crashes/hangs the program.
Both these problems appeared on installation of Ubuntu 6.10 and were not present in Debian 3.1 (XFree86).
(My system also crashes a great deal, a common pattern being X restarting over and over again, but I think this is a separate problem.)
Test program (requires liballegro4.2-dev):
#include <allegro.h>
int main(){
allegro_init();
install_timer();
install_keyboard();
set_color_
set_gfx_
textprintf_
readkey();
/*hangs if next line is uncommented*/
/*set_gfx_
/*readkey();*/
exit(0);
}
END_OF_MAIN()
As above (appeared to run normally, but on exit the following error appeared and resolution stayed at 640x480)
$ gcc -o gfxerror gfxerror.c `allegro-config --libs`
$ ./gfxerrorX Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 134 (XFree86-
Minor opcode of failed request: 10 (XF86VidModeSwi
Value in failed request: 0x2600001
Serial number of failed request: 235
Current serial number in output stream: 240
With second mode change uncommented:
$ gcc -o gfxerror gfxerror.c `allegro-config --libs`
$ ./gfxerror
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 134 (XFree86-
Minor opcode of failed request: 10 (XF86VidModeSwi
Value in failed request: 0x2600001
Serial number of failed request: 189
Current serial number in output stream: 194
[Program appeared to have closed, but terminal prompt did not reappear, so pressed Ctrl+C. Resolution again stayed at 640x480]
Aborted (core dumped)
$
Thanks for your bugreport. Could you try 7.10beta which has a newer driver, and report back what happens.