* [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350.
@ 2010-05-06 20:27 bugzilla-daemon
2010-05-06 22:24 ` [Bug 28003] " bugzilla-daemon
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-06 20:27 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
Summary: [r300g] Compiz fails to start using gallium on rv350.
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: oreaus@gmail.com
Compiz will only start with GALLIUM_ABORT_ON_ASSERT=0 or it crashes. I bisected
and on current master 7ed2f953c0b109d35ddb4c58effb18bd0fac4592 the message is:
r300: Implementation error: Format mismatch in r300_surface_copy
: src: b8g8r8a8_unorm dst: b8g8r8x8_unorm
r300_blit.c:134:r300_surface_copy: Assertion `0' failed.
debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE
while with the first bad commit found 968bf9634ec03e61441834603f13f0c914bbb0ce
the message is:
r300_blit.c:136:r300_surface_copy: Assertion `dst->texture->format ==
src->texture->format' failed.
debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE
This last good commit is: 821abff8c03031603111abc17dabe7cfa28a31e1
I will provide any further requested information.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
@ 2010-05-06 22:24 ` bugzilla-daemon
2010-05-07 2:43 ` bugzilla-daemon
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-06 22:24 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #1 from Marek Olšák <maraeo@gmail.com> 2010-05-06 15:24:58 PDT ---
This is a state tracker bug. We shouldn't get two different formats in
surface_copy.
Could you please give me a backtrace?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
2010-05-06 22:24 ` [Bug 28003] " bugzilla-daemon
@ 2010-05-07 2:43 ` bugzilla-daemon
2010-05-07 7:49 ` bugzilla-daemon
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 2:43 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #2 from Scott Moreau <oreaus@gmail.com> 2010-05-06 19:43:42 PDT ---
Created an attachment (id=35476)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35476)
compiz output
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
2010-05-06 22:24 ` [Bug 28003] " bugzilla-daemon
2010-05-07 2:43 ` bugzilla-daemon
@ 2010-05-07 7:49 ` bugzilla-daemon
2010-05-07 8:53 ` bugzilla-daemon
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 7:49 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |olvaffe@gmail.com
--- Comment #3 from Michel Dänzer <michel@daenzer.net> 2010-05-07 00:49:58 PDT ---
(In reply to comment #1)
> This is a state tracker bug. We shouldn't get two different formats in
> surface_copy.
Indeed. There should never be a need for copies for texture-from-pixmap anyway,
should probably use a sampler view.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (2 preceding siblings ...)
2010-05-07 7:49 ` bugzilla-daemon
@ 2010-05-07 8:53 ` bugzilla-daemon
2010-05-07 9:18 ` bugzilla-daemon
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 8:53 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
Chia-I Wu <olvaffe@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |airlied@freedesktop.org
--- Comment #4 from Chia-I Wu <olvaffe@gmail.com> 2010-05-07 01:53:20 PDT ---
(In reply to comment #3)
> Indeed. There should never be a need for copies for texture-from-pixmap anyway,
> should probably use a sampler view.
The assertion failure is hit when using an RGBA pixmap as an RGB texture. It
was discussed here
http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg12992.html
and using a sampler view should be the correct fix to my knowledge.
I might not be able to find the time to work on it anytime soon. If no one
volunteers, setting GLX_BIND_TO_TEXTURE_RGB_EXT to GLX_FALSE for RGBA visuals
should be a valid workaround, if compiz does check the attribute.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (3 preceding siblings ...)
2010-05-07 8:53 ` bugzilla-daemon
@ 2010-05-07 9:18 ` bugzilla-daemon
2010-05-07 10:11 ` bugzilla-daemon
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 9:18 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #5 from Michel Dänzer <michel@daenzer.net> 2010-05-07 02:18:21 PDT ---
(In reply to comment #4)
> I might not be able to find the time to work on it anytime soon.
FWIW I think it's a regression of one of your EGL reworks though.
> If no one volunteers, setting GLX_BIND_TO_TEXTURE_RGB_EXT to GLX_FALSE for RGBA
> visuals should be a valid workaround, if compiz does check the attribute.
I suspect that would take about the same amount of work, and I wouldn't
consider it very useful (not sure if compiz/kwin/... could even handle it).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (4 preceding siblings ...)
2010-05-07 9:18 ` bugzilla-daemon
@ 2010-05-07 10:11 ` bugzilla-daemon
2010-05-07 10:19 ` bugzilla-daemon
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 10:11 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #6 from Chia-I Wu <olvaffe@gmail.com> 2010-05-07 03:11:11 PDT ---
Created an attachment (id=35484)
View: https://bugs.freedesktop.org/attachment.cgi?id=35484
Review: https://bugs.freedesktop.org/review?bug=28003&attachment=35484
work around the assertion failure
Does this patch help? It effectively reverts
968bf9634ec03e61441834603f13f0c914bbb0ce by ignoring internal_format in
st/mesa. It is better than reverting the commit in that the workaround is
closer to the bug (both in st/mesa).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (5 preceding siblings ...)
2010-05-07 10:11 ` bugzilla-daemon
@ 2010-05-07 10:19 ` bugzilla-daemon
2010-05-07 10:23 ` bugzilla-daemon
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 10:19 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #7 from Chia-I Wu <olvaffe@gmail.com> 2010-05-07 03:19:48 PDT ---
(In reply to comment #5)
> (In reply to comment #4)
> > I might not be able to find the time to work on it anytime soon.
>
> FWIW I think it's a regression of one of your EGL reworks though.
>
> > If no one volunteers, setting GLX_BIND_TO_TEXTURE_RGB_EXT to GLX_FALSE for RGBA
> > visuals should be a valid workaround, if compiz does check the attribute.
>
> I suspect that would take about the same amount of work, and I wouldn't
> consider it very useful (not sure if compiz/kwin/... could even handle it).
Ok, I've created a patch to work around the bug triggered by 968bf963. It
restores the old (and wrong) behavior, but with comments. Could you or Scott
help me verify the patch?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (6 preceding siblings ...)
2010-05-07 10:19 ` bugzilla-daemon
@ 2010-05-07 10:23 ` bugzilla-daemon
2010-05-09 0:24 ` bugzilla-daemon
2010-05-10 3:31 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-07 10:23 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #8 from Chia-I Wu <olvaffe@gmail.com> 2010-05-07 03:23:55 PDT ---
(In reply to comment #7)
> Ok, I've created a patch to work around the bug triggered by 968bf963. It
> restores the old (and wrong) behavior, but with comments. Could you or Scott
^^^^^^^^^
I meant, "wrong, but better than the assertion failure". I am sorry to
introduce the regression in the first place.
> help me verify the patch?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (7 preceding siblings ...)
2010-05-07 10:23 ` bugzilla-daemon
@ 2010-05-09 0:24 ` bugzilla-daemon
2010-05-10 3:31 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-09 0:24 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
--- Comment #9 from Scott Moreau <oreaus@gmail.com> 2010-05-08 17:24:56 PDT ---
(In reply to comment #8)
> (In reply to comment #7)
> > Ok, I've created a patch to work around the bug triggered by 968bf963. It
> > restores the old (and wrong) behavior, but with comments. Could you or Scott
> ^^^^^^^^^
> I meant, "wrong, but better than the assertion failure". I am sorry to
> introduce the regression in the first place.
> > help me verify the patch?
Thanks for everyones replies. I applied the patch against latest master and it
works around the issue. I enabled ccsm>Workarounds>Force Sync Between X and GLX
because of redraw/refresh issues using firefox but still having problems with
it though compiz works without any warnings or errors.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 28003] [r300g] Compiz fails to start using gallium on rv350.
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
` (8 preceding siblings ...)
2010-05-09 0:24 ` bugzilla-daemon
@ 2010-05-10 3:31 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-05-10 3:31 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28003
Chia-I Wu <olvaffe@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Chia-I Wu <olvaffe@gmail.com> 2010-05-09 20:31:04 PDT ---
Thanks for testing. I've committed the patch and am closing the bug. Feel
free to open a new bug if you have other issues.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-05-10 3:31 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 20:27 [Bug 28003] New: [r300g] Compiz fails to start using gallium on rv350 bugzilla-daemon
2010-05-06 22:24 ` [Bug 28003] " bugzilla-daemon
2010-05-07 2:43 ` bugzilla-daemon
2010-05-07 7:49 ` bugzilla-daemon
2010-05-07 8:53 ` bugzilla-daemon
2010-05-07 9:18 ` bugzilla-daemon
2010-05-07 10:11 ` bugzilla-daemon
2010-05-07 10:19 ` bugzilla-daemon
2010-05-07 10:23 ` bugzilla-daemon
2010-05-09 0:24 ` bugzilla-daemon
2010-05-10 3:31 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.