Bug 331840

Summary: Can only see brush outline when pressing down on tablet
Product: [Applications] krita Reporter: Paul <pcvonz>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, halla, jakob.riepler, prodanov, witte2008
Priority: NOR    
Version: 2.8 Beta   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Texture buffer glitch

Description Paul 2014-03-07 07:41:32 UTC
GPU/driver:
Amd hd 5700 propreitary 
Tablet: Wacom Intuos 4.

This only happens when I'm using opengl.

Reproducible: Always

Steps to Reproduce:
1. Enable open gl
2. Make sure cursor shape is Brush Outline (others work)
3. Brush outline will not "update" unless drawing on canvas.
Actual Results:  
Brush outline did not "update" until I drew on the canvas.

Expected Results:  
The brush outline should have followed the stylus while hovering the stylus over the tablet.
Comment 1 Dmitry Kazakov 2014-03-11 04:52:27 UTC
Probably, this is also some partial updates problem? Or something like that?
Comment 2 Paul 2014-03-11 05:23:22 UTC
(In reply to comment #1)
> Probably, this is also some partial updates problem? Or something like that?

Is this aimed at me? If so, I have no idea.
Comment 3 Halla Rempt 2014-03-14 12:06:33 UTC
This is probably a bug in the proprietary AMD opengl driver. Not that the open source one is much better: AMD is giving us grief all the time.
Comment 4 Nik Prodanov 2014-03-17 09:46:49 UTC
I'm having the exact same issue on Linux Mint 15 - anything that has to do with showing the brush outline while using OpenGL doesn't work. If you switch to "crosshair with outline", it will show the crosshair fine, but the outline is missing until you make a stroke. After that, it stops updating again and remains in its last position until you move the canvas. 

I'm also using the latest AMD proprietary driver.
Comment 5 Halla Rempt 2014-04-25 09:02:21 UTC
And we don't have the hardware here to experiment with, so I'm not sure how we can find a workaround for AMD's brokenness :-(
Comment 6 Halla Rempt 2014-04-28 13:38:50 UTC
There's a new AMD driver released today, if I'm not mistaken. Could you try to install that and try again? We're also going to try and acquire an AMD card for testing purposes, a HD5770, probably.

we've also got this report often enough that it' s pretty well confirmed now.
Comment 7 Philip Witte 2014-04-28 21:09:03 UTC
Commenting to confirm this also happens on my system - AMD Radeon HD 7850, Wacom Cintiq 12WX, Arch Linux (up to date), Catalyst 14.4 (stable), Krita 2.8.2 (KDE Dev Platform 4.13.0). Brush outline only updates (follows cursor) if I'm applying pressure (or clicking with mouse). Only in OpenGL canvas mode.
Comment 8 Jakob Riepler 2015-01-21 12:39:01 UTC
I can confirm this too.
It happens on both my notebook and my PC (Radeon HD7730M and R9 280X both with proprietary drivers).

An (most likely) releated issue appears when moving arround a selection using the transform tool.
the canvas doesn't update until you move it arround or draw on it...

Both issues only appear when opengl is active and the AMD-GPU is active (switchable graphics on my notebook).

If there is a way to help you debugg it let me know (logs, test patches, ...)

-Jakob
Comment 9 Jakob Riepler 2015-03-06 22:29:48 UTC
I just built the latest git version (2.9.0 git 02d2fe9) and the bug no longer exists (both on my PC & Notebook).
I don't know if it's releated but the color Picker is missing now (right klick is still working) :3

-Jakob
Comment 10 Dmitry Kazakov 2015-06-21 12:04:57 UTC
Hi, all!

Could you check if the bug still exists and reproducible with current version of Krita and AMD drivers?

Here is info on how to get the latest versions of Krita on different OSes:
http://nonaynever.ru/kwiki/krita/MostRecentBuilds#Krita_Lime_for_Ubuntu
Comment 11 Jakob Riepler 2015-06-21 13:03:31 UTC
Created attachment 93276 [details]
Texture buffer glitch

The bug does not exist with Krita 2.9.5 (git 6db68a4) but when I have Texture buffer enabled I have another graphical glitch (when I turn it back off everything looks normal).
I use Ubuntu 15.04 with fglrx 2:15.200-0ubuntu4.
Comment 12 Halla Rempt 2015-06-21 14:06:38 UTC
Yes, that's an amd driver bug. I guess I can close the issue now?
Comment 13 Jakob Riepler 2015-06-21 14:09:13 UTC
As they added something new in relation to texture buffering in the release of fglrx I use I think it's a AMD driver bug so the issues on the Krita side are finally resolved :)
Comment 14 Halla Rempt 2015-06-21 14:15:51 UTC
Good! Thanks for getting back to us!