Created attachment 67649 [details] kernel log with nouveau.reg_debug=0x600 When I try to run the mesa demos on the EGL/DRM backend I get a corrupted screen. You can find the demos here: http://cgit.freedesktop.org/mesa/demos/tree/src/egl/opengl The binaries for the EGL/DRM backend have a "_screen" suffix. The demos are using eglut with the eglut_screen/drm backend. The following kernel errors are printed: [drm] nouveau 0000:01:00.0: EvoCh 0 Mthd 0x086c Data 0x00005564 (0x0084 0x04) [drm] nouveau 0000:01:00.0: EvoCh 1 Mthd 0x080c Data 0x00005564 (0x0084 0x04) You can find a screenshot and an kernel log with the "nouveau.reg_debug=0x600" flag in the attachment. Kernel 3.6.0 RC5 on NV50. A similar kernel error can be found in this bug: https://bugs.freedesktop.org/show_bug.cgi?id=27483
Created attachment 67650 [details] Photograph of corrupted output
joi on the irc figured out that it has to do with the resolution I am trying to set (1366 x 768). With his patch on the demos http://bpaste.net/show/47560/ I was able to set a 1280 x 768 resolution successfully.
Created attachment 67694 [details] demo log with verbose egl flags
Created attachment 67841 [details] [review] fix This patch should do the trick.
Thank you very much for the patch. With the patched mesa I could successfully run the eglut demos with my native resolution on linux 3.6.0 rc7. Should this be a mesa / gallium bug then?
Created attachment 67956 [details] [review] fix v2 Yes. This is Mesa-side bug. I've changed product/component. After closer look, I came to a conclusion that my patch was not quite correct. Please test the new one (although I managed to reproduced this issue and both patches fix it).
The patch has been pushed upstream master 93eba269351c6e256db3a4cc7c7018f5a3fae5a1 Please reopen if the issue persist
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.