[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] BUG in initialization



On Sat, Jan 14, 2006 at 04:13:48PM -0200, Eduardo Rocha Costa wrote:
> Ok, I can solve the problem for myself, but I don't correct the bug, I
> only disable the composite extension. 
> This extension was the problem that every pygame program that I start,
> throw me that error.
> Only to complement if anyone is interested, 2 resolutions was 1024x768
> and 1 resolution was 800x600 and only with xinerama on, that error
> appear.

FWIW I use dual-head (with MergedFB, not Xinerama), with a spare
monitor attached to my laptop when I'm at work.  I can only use
fullscreen at 1024x768; with any other resolution I get this error:

  X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  136 (XFree86-VidModeExtension)
    Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
    Value in failed request:  0x48
    Serial number of failed request:  113
    Current serial number in output stream:  115

pygame.display.list_modes() returns [(2048, 768), (1024, 768)], and this
causes problems with games that try to use the largest available
fullscreen mode.

Marius Gedminas
-- 
I code in vi because I don't want to learn another OS. :)
		-- Robert Love

Attachment: signature.asc
Description: Digital signature