Bug 384457

Summary: Wrong render decoration on Nvidia
Product: [Plasma] kwin Reporter: varlesh <varlesh>
Component: auroraeAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 5.10.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Aurorae rendering buttons NVIDIA vs INTEL

Description varlesh 2017-09-07 06:35:30 UTC
Created attachment 107729 [details]
Aurorae rendering buttons NVIDIA vs INTEL

OS: KDE Neon 5.10.5
GPU: Nvidia GTX 1050Ti
Driver: Nvidia 384.69
Aurorae Theme: Arc-Dark (https://www.opendesktop.org/p/1167637/)

With propietary Nvidia driver Aurorae have wrong rendering buttons (close, minimize, maximize and etc)
Used settings by default on systemsettings (size buttons, window frames and etc).
This not reproduces on Intel GPU, but bugged on propietary NVidia driver
File for compare attached.
Comment 1 varlesh 2017-09-07 06:46:26 UTC
Xorg.conf:
https://pastebin.com/QyYLPVJ9

xrandr --prop:
https://pastebin.com/cyjqnaJC

Also used scripts for ArchWiki
/etc/profile.d/kwin.sh:
export KWIN_TRIPLE_BUFFER=1

Used OpenGL >= 2.0 as rendering backend

PS: I'm change rendering backend to OpenGL 3.1 and XRender, but it's not solve problem.
Comment 2 Martin Flöser 2017-09-07 15:09:54 UTC
Sorry, but that is nothing we can influence. Please note that 3D hardware does not guarantee pixel perfect rendering.
Comment 3 varlesh 2017-09-07 15:19:39 UTC
Disagree, see screen other elements and icons render right - with pixel align:
https://i.imgur.com/sWXy8nI.png

Also i'm report this bug on devtalk.nvidia.com forum:
https://devtalk.nvidia.com/default/topic/1023706/linux/-kde-wrong-render-buttons-aurorae-decoration-on-nvidia/
Comment 4 varlesh 2017-09-07 15:21:32 UTC
Why RESOLVED INVALID? Why on Intel this render right  but on NVidia not?
Comment 5 varlesh 2017-09-08 21:22:13 UTC
Solved!
~/.Xresources:

Xft.dpi:       96
Xft.antialias: true
Xft.hinting:   true
Xft.autohint:  false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.rgba:      rgb