Summary: | [bisected] Wrong display after "prefer native texture formats when possible" commit - part2 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Victor Tseng <palatis> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | palatis |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
window only repaint on resize
window only redraw part of itself on maximize Patch |
Description
Victor Tseng
2011-07-13 15:33:32 UTC
Created attachment 49064 [details]
window only repaint on resize
Created attachment 49065 [details]
window only redraw part of itself on maximize
Created attachment 49066 [details] [review] Patch Does the attached patch help? (In reply to comment #3) > Created an attachment (id=49066) [details] > Patch > > Does the attached patch help? nope it doesn't. (In reply to comment #4) > (In reply to comment #3) > > Created an attachment (id=49066) [details] [details] > > Patch > > > > Does the attached patch help? > > nope it doesn't. btw, there's no src/gallium/drivers/r600/eg_state_inlines.h in my tree (mesa master). I found that r600_translate_colorformat() is in evergreen_state.c and comment the stuff there. If I switch to a non-composite window manager (emerald -> metacity) then the windows (both cairo-dock and gnome-terminal) starts to render correctly. I think that's a r700 card, so changing evergreen_state.c probably won't do much. Okay, I found it DOES impact my Radeon HD 3300, too. If I turn on "Loose Binding" option in fusion-icon, both computer have the same problem (not properly rendering itself). If I turn that option off, both computer starts to render correctly (with commit 7e2827fad95071e04e382be0117c654445764c52). I previously had "Loose Binding" off on the HD3300 and didn't realize that. I think this is another problem instead of colorformat. ========== I added some debug output in st_choose_format() (st_format.c). With 98ce1373e47d05d7150933c391fdeddbc897a3cd it does print something: st_choose_format(): return PIPE_FORMAT = 1 st_choose_format(): return PIPE_FORMAT = 19 most of them are 1. But with commits after that, it doesn't print anything. I think it's not taking that path anymore. (In reply to comment #6) > I think that's a r700 card, so changing evergreen_state.c probably won't do > much. thx for pointing this out. this time I patched the function "r600_translate_colorformat()" in file "r600_state.c". and it's all working again now. and I found the buggy pipe_format is 67 (PIPE_FORMAT_R8G8B8A8_UNORM). Hi Victor Can you please test the latest mesa/master A patch that should resolve your issue has been pushed [1] Cheers Emil [1] http://cgit.freedesktop.org/mesa/mesa/commit/?id=d84791a72b33f96fab54ff2399e8053c50205454 commit d84791a72b33f96fab54ff2399e8053c50205454 does address this bug. |
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.