Summary: | texture_from_pixmap produces blank textures | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Ben Gamari <bgamari> | ||||||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | ||||||||||
Version: | git | ||||||||||
Hardware: | Other | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Ben Gamari
2008-04-18 01:08:00 UTC
Are you using DRI2 or making sure it's using indirect rendering? (see bug 15477) If that's not the problem, please attach at least the full xorg.conf and Xorg.0.log files and the full compiz output. Not using DRI2 (using xf86-video-intel master) and LIBGL_ALWAYS_INDIRECT is set (already made that mistake once). Created attachment 16018 [details]
Xorg log
Created attachment 16019 [details]
Xorg.conf
Created attachment 16020 [details]
Compiz output
The strange thing about this bug is that applications using texture_from_pixmap (both the xdemo and compiz) detect no failure, as can be seen in this compiz log
Most likely the DRI1 driver support for GLX_EXT_texture_from_pixmap has been broken. It would be useful if you could try and find out which change of mesa or xf86-video-intel caused this. Do you suppose the problem is mesa or xf86-video-intel? I'll start with xf86-video-intel as it's substantially easier to bisect without breakage. Any tips for bisecting mesa without touching too many other packages? (In reply to comment #7) > Do you suppose the problem is mesa or xf86-video-intel? I'll start with > xf86-video-intel as it's substantially easier to bisect without breakage. Any > tips for bisecting mesa without touching too many other packages? > I guess what I was really asking in my first question is how (where) xf86-video-intel supports texture_from_pixmap. Are there any codepaths in particular to be looking for changes in? Alright, I just tried xf86-video-intel all the way back to 2e43bec8731ba1b172f7a0bf867bbb5c1adbda2d (Jan 30 2008) to no avail. Seems unlikely the problem is in the intel driver. This definitely presents some issues as that means I'll need to move back mesa. I'll report back as to how it went but I don't hold out much hope. Last night's bisections were slow and painful at best. Only I830TexOffsetStart() is directly involved, so I'm afraid mesa is more likely. Alright finally. After an hour of fudging around with dozens of mesa and xserver revisions, I finally managed to get one combination to build (mesa 42a04ada10 and xserver 13bfa5937d) but unfortunately, compiz still doesn't work. Off to the next combination. (In reply to comment #11) > Alright finally. After an hour of fudging around with dozens of mesa and > xserver revisions, I finally managed to get one combination to build (mesa > 42a04ada10 and xserver 13bfa5937d) but unfortunately, compiz still doesn't > work. Off to the next combination. > I'm beginning to think I'm missing something critical here. I have tried (mesa 403b161 (Mar 25), xserver d04ea267a (Feb 28)) and (mesa 1fd82451e (Feb 7), xserver fbd776894 (Feb 16); mid February) and neither have worked. I only recently started using the Intel driver so I can't be sure, but it seems unlikely that texture_from_pixmap has been broken for this long. Right? That's it. I give up. I can't bisect any further back. I've made it to mid-January (8517079cbcbbf31291b05420f3b776df712dfd47) and now mesa won't even compile (TTM crap). There must be a better way to do this. I don't mind gdbing (it's certainly a whole lot less frustrating than sifting through xserver/mesa commits) What are the steps involved in the texture_from_pixmap extension? Where is the code involved? Thanks for your help so far! (In reply to comment #12) > [...] it seems unlikely that texture_from_pixmap has been broken for this long. > Right? Right. (In reply to comment #13) > What are the steps involved in the texture_from_pixmap extension? Where is the > code involved? Thanks for your help so far! The central piece is __glXDRIbindTexImage() in GL/glx/glxdri.c. (In reply to comment #14) > (In reply to comment #12) > > [...] it seems unlikely that texture_from_pixmap has been broken for this long. > Right? > > Right. > > (In reply to comment #13) > > What are the steps involved in the texture_from_pixmap extension? Where is the > > code involved? Thanks for your help so far! > > The central piece is __glXDRIbindTexImage() in GL/glx/glxdri.c. > Thank you very much for this. I'll do what I can with it. If I had to guess, I think bug #14441 might be this same issue. Any input? *** This bug has been marked as a duplicate of bug 14441 *** |
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.