Created attachment 30672 [details] Xorg.log Bug description: When I log in from GDM, X frequently crashes and the GDM login screen is shown again. It only happens with compiz enabled. System environment: -- chipset: GM965 -- system architecture: 32-bit -- xf86-video-intel: git-master, commit 38ab403d7a1c461 -- xserver: 1.7.1 -- mesa: 7.7-devel, commit a74e53ddba246b1 -- libdrm: 2.4.15 -- kernel: 2.6.31-14-generic (based on 2.6.31.4) -- Linux distribution: Ubuntu Karmic -- Machine or mobo model: Compal IFL91 -- Display connector: LVDS Reproducing steps: Log in from GDM with compiz enabled and see the login screen appear again (50% chance). Additional info: see stacktrace and patch. The bug is triggered by gtk-window-decorator, which calls XRenderComposite with height=-1, but height is an unsigned int. Therefore -intel tries to create a pixmap with height=65535, which is not supported.
Created attachment 30673 [details] stacktrace
Created attachment 30674 [details] [review] Proposed fix
Thanks for the patch. Let Carl review.
Thanks very much for the patch, Albert. I've pushed this out to xf86-video-intel git master. -Carl PS. Would still be worth chasing down that -1 and fixing it. :-)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.