Using the actual NVidia 304.43 driver enabling 30 bit color makes using kde impossible. The colors become strange changes (see url) yet only on the desktop and in most windows. The top line remains correcty displayed (see url), kdm als login manager is messed up too, but ksplash correctly displays every color. Gwenview shows images correctly too. Using argyll to display test colors patches is possible without errors. Is further information needed? Reproducible: Always Steps to Reproduce: 1. Use actual NVidia driver and modify xorg.conf to Depth 30 and DefaultDepth to 30 2. Restart X Server 3. Problem visible even in kdm Actual Results: Colors are changed in certain desktop parts Expected Results: Show correct colors
a) compositing does not seem to be enabled on the screenshot, correct? (even if, the reference to kdm says it's not related to compositing) b) try "QT_GRAPHICSSYSTEM=native oxygen-demo" - what does that look like? -> most likely bug #214011 - not that there would not be bug #273347
Updated to new 304.51 nvidia driver, problem persists. Solution b) displays the application correctly, without the environment variable it appears colorcorrupted. Yet in SystemSettings - Desktop-Effect- QT Graphic System is already set to native without help Is it possible to set above Environtment variable for all applications?
export QT_GRAPHICSSYTEM=native in an executable shell script in ~/.kde/env
Exporting above variable doesn't help. Colors are still corrupt. Oxygen-demo is broken too. Yet "export" in terminal shows correct declaration of variable as declare -x QT_GRAPHICSSYTEM="native" But using "export QT_GRAPHICSYSTEM=native oxygen-demo" shows correct colors again. What happens there?
This is a bug in Qt with conversion of 24 bit raster images to 30 bit native pixmaps. Please report to Qt developers via https://bugreports.qt-project.org/
You do not export that somewhere in ~/.bashrc or so, do you? (declare is a shell built-in) The environment must be set so that it's exported all the way down across the launcher (plasma) ie. actually have an executable script in ~/.kde/env (possibly ~/.kde4/env) that says #!/bin/sh export QT_GRAPHICSSYSTEM=native
The script > cat .kde4/env/qtnative.sh #!/bin/sh export QT_GRAPHICSSYTEM=native is executable in the ~/.kde4/env. User is my standard user, group is users. But it doesn't correct colors after login (not expected) neither in kdm (expected, as script is not yet run)
export QT_GRAPHICSSYTEM=native ^^^ I'm really a typo king and you don't read close enough ;-)
Thanks, your right. Now I see the typo too, plasma is fixed. kdm still doesn't display correctly. But even worse, the intended purpose is not met as digikam preview images are now miscolored and rawtherapee doesn't display any images at all. So more bugs need to be filed. Thanks for your help
The upstream bug report is: https://bugreports.qt-project.org/browse/QTBUG-25998