This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Purple desktop

Tags: None
(comma "," separated)
Tanner1294
Registered Member
Posts
15
Karma
0
OS

Purple desktop

Thu Mar 08, 2012 2:06 am
I'm currently trying out the Kubuntu 11.10 PowerPC release and whenever the Kwin Desktop Effects are activated the desktop is what I can only describe as purple. It's as if somebody removed colors from the spectrum but I can't decide what colors it removed. For instance, anything that's normally blue is a violet color. So Blue and Red are there, but I'm thinking green isn't. Any ideas? I disabled the effects and I have correct coloring.

Oh and I also get funky artifacts when the effects are active, mainly around the window borders which come up as weird stretched out blocks.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Purple desktop

Thu Mar 08, 2012 4:19 am
What graphics card does this machine have?
It certainly sounds like the graphics driver has some issues here.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Tanner1294
Registered Member
Posts
15
Karma
0
OS

Re: Purple desktop

Thu Mar 08, 2012 7:45 pm
Here's the specs of the machine:

Model: Early 2005 PowerBook G4
CPU: 1.5ghz PowerPC G4
GFX: ATI Mobility Radeon 9700 with 64 megs of dedicated vram.
RAM: 2 Gigs SDRAM.
HDD: 80 gigs

I'll snap a picture of the screen in a minute.
mgraesslin
KDE Developer
Posts
572
Karma
7
OS

Re: Purple desktop

Thu Mar 08, 2012 8:24 pm
The hardware seems to be rather old (R300 chipset). Could you start kwin from a command line with
Code: Select all
kwin --replace &
and paste the debug output about GPU information. This would give us some more information about what the system actually uses.
Tanner1294
Registered Member
Posts
15
Karma
0
OS

Re: Purple desktop

Thu Mar 08, 2012 8:28 pm
Okay I'll place the output here in a moment. In the meantime, here's a video of what I'm talking about (it starts about the time I get an error message during boot which just states that the Broadcom wifi drivers are proprietary): http://www.youtube.com/watch?v=57ywnpJR ... detailpage
luebking
Karma
0

Re: Purple desktop

Thu Mar 08, 2012 8:36 pm
Oh and I also get funky artifacts when the effects are active, mainly around the window borders which come up as weird stretched out blocks.

Bug in NPOT codepath. Fixed in 4.8.1

For the rest, i'd say alpha is accounted as red, either for a bug in the graphics drivers, opengl or in kwin - likely because of the Big Endian architecture.

a) is /only/ the desktop affected or virtually every window (eg. also kwrite)
b) does this happen with the xrender backend
Code: Select all
kcmshell4 kwincompositing

check the 3rd tab
c) does it happen on the native graphicssystem
Code: Select all
kwin --replace --graphicssystem native &

d) does it happen with indirect rendering
Code: Select all
KWIN_DIRECT_GL=0 LIBGL_ALWAYS_INDIRECT=1 kwin --replace &
luebking
Karma
0

Re: Purple desktop

Thu Mar 08, 2012 8:46 pm
From the video i'd say R&G and B&A are swapped, so it seems all like an endian issue to me....
-> What do other GL applications (such as glxgears, or try tuxracer ;-) look like while compositing is suspended (SHIFT+alt+F12)ß
Tanner1294
Registered Member
Posts
15
Karma
0
OS

Re: Purple desktop

Thu Mar 08, 2012 8:53 pm
As you can see in the video I posted a link to, everything is affected including applications. This is the output I get from kwin --replace &:

Code: Select all
ubuntu@ubuntu:~$ kwin --replace &
[1] 4406
ubuntu@ubuntu:~$ OpenGL vendor string:                   DRI R300 Project
OpenGL renderer string:                 Mesa DRI R300 (RV350 4E50) AGP 4x PowerPC/Altivec TCL
OpenGL version string:                  1.4 (1.5 Mesa 7.11)
Driver:                                 R300C
GPU class:                              R300
OpenGL version:                         1.4
Mesa version:                           7.11
X server version:                       1.10.4
Linux kernel version:                   3.0
Direct rendering:                       no
Requires strict binding:                yes
GLSL shaders:                           no
Texture NPOT support:                   no
kwin(4406) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_blur"  is not supported
kwin(4406): Shaders are not supported
kwin(4406): Shaders are not supported
kwin(4406): Shaders are not supported
kwin(4406) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_screenshot"  is not supported
kwin(4406): Shaders are not supported
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported!  This is an application bug!
WARNING: Application calling GLX 1.3 function "glXQueryDrawable" when GLX 1.3 is not supported!  This is an application bug!


XRender seems to work with no problems but of course the performance is greatly reduced when using it. Using the kwin --replace --graphicssystem native & command The artifacts are all corrected, in other words, everything looks normal except everything's still purple.

Oh and this is actually KDE 4.7.1.
luebking
Karma
0

Re: Purple desktop

Thu Mar 08, 2012 9:33 pm
XRender will perform much better with the native graphicssystem.

This is likely endian unawareness of GL_texture_from_pixmap
The color twisting is likely endian unawareness of either GL_texture_from_pixmap or all OpenGL

a) are the titlebars and shadows color twisted as well? (notably only active windows would have "shadows" fading from blue to black ...) - also this might depend on the used graphicssystem ("native" ./. "raster")

b) please try glxgears w/o compositing. Just a static screenshot is sufficient.
mgraesslin
KDE Developer
Posts
572
Karma
7
OS

Re: Purple desktop

Fri Mar 09, 2012 6:44 am
what might also be interesting is using the raster graphicssystem and providing a screenshot of Present Windows with the filter being used. If it is an endian issue in GL_texture_from_pixmap the filter image should be fine as it doesn't use texture from pixmap for raster graphics system.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]