Public bug reported:

Binary package hint: xserver-xorg-video-ati

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_depth(32);
set_gfx_mode(GFX_AUTODETECT_FULLSCREEN,640,480,0,0);
textprintf_ex(screen,font,100,200,255,0,"Press a key");
readkey();
/*hangs if next line is uncommented*/
/*set_gfx_mode(GFX_AUTODETECT_FULLSCREEN,800,600,0,0);*/
/*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-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  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-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  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)
$

** Affects: xserver-xorg-video-ati (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
[rage] Striped corner and mode switch failure
https://launchpad.net/bugs/82434

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to