Summary: | shadow on volume OSD is wrong the first time | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Mark <markg85> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.10 | |
Sentry Crash Report: | |||
Attachments: |
screenshot that demonstrates the issue
glxinfo |
Description
Mark
2012-05-04 19:03:12 UTC
These shadows are part of and drawn by the window - can you make a screenshot? Created attachment 70861 [details]
screenshot that demonstrates the issue
(In reply to comment #1) > These shadows are part of and drawn by the window - can you make a > screenshot? Ahh sorry. I forgot to add it. Added now. And it's only occurring the _first_ time you press mute (or vol up/down). So if you 't see it i recommend that you logout and back in again to see it. Looks like uninitialized pixmap - can you try suspending compositing, run xcompmgr and call the OSD (it should be translucent and have shadows, the interesting question is whether they're broken) and/or select the xrender backend ("kcmshell4 kwincompositing")? (In reply to comment #4) > Looks like uninitialized pixmap - can you try suspending compositing, run > xcompmgr and call the OSD (it should be translucent and have shadows, the > interesting question is whether they're broken) and/or select the xrender > backend ("kcmshell4 kwincompositing")? Done. With xcompmgr : No shadows at all - anywhere! - but also no bug in the shadows :p With xrender : Shadows work just fine and no visible bug. With OpenGL : there is the bug again... Anything else that i can test for you? try deactivating the blur effect (In reply to comment #6) > try deactivating the blur effect Bingo, jackpot! Deactivating blur fixes the issue. Obviously that's not a "fix" ;-) - try "KWIN_DIRECT_GL=1 kwin --replace&" and activate OpenGL2 shaders - does the radeon driver support your GPU? (xf86-video-ati) - what happens if you draw the blur strength to the lowest possible value? (In reply to comment #8) > - try "KWIN_DIRECT_GL=1 kwin --replace&" and activate OpenGL2 shaders I can't reliable test that one. It requires me to have konsole open to restart kwin and that "might" cause the shadow to somehow just work. > - does the radeon driver support your GPU? (xf86-video-ati) Yes it does. However, the amount of noise that is coming from my card is not fun with that oss driver. Without proper power management that driver is sadly close to useless for desktop usage. > - what happens if you draw the blur strength to the lowest possible value? Interesting! If i change it to the lowest value the issue also seems to be "fixed". Putting it back to the second biggest (and biggest) value makes the issue visible again. I haven't tried other values in between. (In reply to comment #9) > (In reply to comment #8) > > - try "KWIN_DIRECT_GL=1 kwin --replace&" and activate OpenGL2 shaders > I can't reliable test that one. It requires me to have konsole open to > restart kwin and that "might" cause the shadow to somehow just work. you can #!/bin/sh export KWIN_DIRECT_GL=1 in some 740 file in .kde[4]/env for the same effect. Notice that direct rendering might still have issues in fglrx, so keep that in mind and remove it in case of other trouble. > Interesting! If i change it to the lowest value the issue also seems to be > "fixed". might be bug #284984 - just try what strength works and please attach "glxinfo -l > my.glxinfo" Did this occur with a recent update? Created attachment 70864 [details]
glxinfo
(In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > - try "KWIN_DIRECT_GL=1 kwin --replace&" and activate OpenGL2 shaders > > I can't reliable test that one. It requires me to have konsole open to > > restart kwin and that "might" cause the shadow to somehow just work. > you can > > #!/bin/sh > export KWIN_DIRECT_GL=1 > > in some 740 file in .kde[4]/env for the same effect. Notice that direct > rendering might still have issues in fglrx, so keep that in mind and remove > it in case of other trouble. Just by trying it in the command line i got a dog slow compositing. So i rather avoind adding that. > > > Interesting! If i change it to the lowest value the issue also seems to be > > "fixed". > might be bug #284984 - just try what strength works and please attach > "glxinfo -l > my.glxinfo" > Did this occur with a recent update? Well, I've noticed this since all of the KDE 4.8 cycle. Don't know from before that. Funny fact, i actually added the blurred background in the OSD volume thing: https://svn.reviewboard.kde.org/r/6770/ ok, this: GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 2147483647 GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 2147483647 ... GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 2147483647 GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 2147483647 ... GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 2147483647 GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 2147483647 GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 2147483647 GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 2147483647 GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 2147483647 GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 2147483647 looks a "tiny" bit ambitious - i tend to believe this is a dupe of bug #284984 but wonder why it only should happen on the first pass then (possibly because of the windows blur region?) Other blurring (eg. with bespin/oxygen-transparent) works fine? (In reply to comment #13) > ok, this: > GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 2147483647 > ... > GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 2147483647 > ... > GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 2147483647 > GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 2147483647 > > looks a "tiny" bit ambitious - i tend to believe this is a dupe of bug > #284984 but wonder why it only should happen on the first pass then > (possibly because of the windows blur region?) > Other blurring (eg. with bespin/oxygen-transparent) works fine? No issues on any other place that i can see... But yeah, those values look wrong unless the max integer size is commonly used in opengl ;-) The shadow rendering code for Plasma styled elements changed in 4.10 which should bypass the effects described in this bug report. In case you still see this with 4.10 please reopen (note: if you are running a current RC - shadows are broken, so you need to wait at least till RC 3). |