Summary: | [GME965] opengl.org example of glDrawPixels doesn't draw correctly | ||
---|---|---|---|
Product: | Mesa | Reporter: | smith <stopads> |
Component: | Drivers/DRI/i965 | Assignee: | Gordon Jin <gordon.jin> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Bundle of files showing rendering output, log files, etc.
Picture of bad rendering Picture of good rendering, taken from opengl.org site Source code of example, from opengl.org site verbose output of glxinfo verbose output of Xorg log file Xorg config file lspci output (more system info, if desired) dmesg output (more system info, as suggested) |
Description
smith
2009-02-01 21:28:01 UTC
Thanks for filing the bug. But please refer to http://www.intellinuxgraphics.org/how_to_report_bug.html. It will be better not to use zipped attachment. Created attachment 22479 [details]
Picture of bad rendering
Created attachment 22480 [details]
Picture of good rendering, taken from opengl.org site
Created attachment 22481 [details]
Source code of example, from opengl.org site
Created attachment 22482 [details]
verbose output of glxinfo
Created attachment 22483 [details]
verbose output of Xorg log file
Created attachment 22484 [details]
Xorg config file
Created attachment 22485 [details]
lspci output (more system info, if desired)
Created attachment 22486 [details]
dmesg output (more system info, as suggested)
Also, here is some more info (recommended by the bug reporting link): I'm using a DVI connection to a HP LP2065 panel. $ pkg-config --modversion libdrm 2.4.0 $ glxinfo OpenGL version string: 1.4 Mesa 7.3-devel $ more /var/log/Xorg.0.log X.Org X Server 1.5.3 (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so (II) Module intel: vendor="X.Org Foundation" compiled for 1.5.3, module version = 2.5.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 4.1 Thanks! Please let me know if I can provide anything else. It occurred to me that this bug may get pushed to low priority because "it's just a trivial example". I selected the example because it's easier to post than pieces of my real project, plus it's easy to test, easy to obtain, and known to work. So, while it may seem insignificant, the attached example mimics my real-world problem. Thanks again. This is a problem with detecting tile swizzling for software fallbacks on your chipset. It should go away if you update to current Mesa, as drawpixels will be accelerated instead of being a software fallback. Closing this according to Eric's comment. Please reopen if you find mesa master still not working. I have a chicken and egg problem. I downloaded the latest Mesa, but Bug #19935 is preventing me from running the example. I guess I'll try to gather the tarball versions used by Fedora and do another build, but I suspect the latest Mesa will ask for newer sources, which will trigger Bug #19935 again. Please let me know if you have a better idea. Thanks. Good news, it works now... almost. glDrawPixels works correctly with the latest Mesa, however, now my keyboard is not responding to the up arrow correctly. When I push the up arrow, a "save screenshot" dialog appears! I'll do some searching to see if there's a fix for this problem. If I can't find anything, I'll open a new bug. For others with the glDrawPixels problem, here are my build versions based on Fedora 10, which were required avoid the problems of Bug #19935 (still unresolved at this time): dri2proto-1.99.3.tar.bz2 libdrm-2.4.3.tar.bz2 mesa-mesa_7_4_branch-2009-02-03_22-40-16.tar.bz2 (I tried master too) util-macros-1.1.6.tar.bz2 xf86-input-evdev-2.1.0.tar.bz2 xf86-input-keyboard-1.3.0.tar.bz2 xf86-input-mouse-1.3.0.tar.bz2 xf86-video-intel-2.5.0.tar.bz2 xf86-video-vesa-2.0.0.tar.bz2 xorg-server-1.5.3.tar.bz2 Note that Fedora 10 is based on libdrm-2.4.0 and dri2proto-1.99.1. I had to upgrade these two components to satisfy the Mesa build requirements. Thanks for your help. |
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.