Bug#897993: random black flickering
On 2019-04-25 1:35 a.m., Eduard Bloch wrote: > On Mon, 7 May 2018 12:15:37 +0200 =?UTF-8?Q?Michel_D=c3=a4nzer?= > wrote: >> On 2018-05-05 04:20 PM, Eduard Bloch wrote: >>> Package: xserver-xorg-video-amdgpu >>> Version: 18.0.1-1 >>> Severity: normal >>> >>> Hello, >>> >>> my card (cheaper version of Rx560) has been working quite well for months. >>> But I made a dist-upgrade a few weeks ago and since then I see strange >>> flickering happening every few minutes, sometimes even multiple times >>> per minute. Feels like a quick insertion of a black frame. Maybe a >>> silent GPU reset or something? >>> >>> It seems to happen more often when mouse is moving and/or Firefox is >>> active. First I suspected the application where I saw it most in the >>> first days (another web browser) but now I see this happen from time to >>> time with other applications, like the gvim window I see in front of me >>> right now. >>> >>> First I attribute this to the amdgpu.dc=1 kernel option which I have set >>> for testing purposes before, but removing it did not change the >>> behavior. >> >> That's because DC is enabled by default for you, you need amdgpu.dc=0 to >> disable it. This is a DC issue which is fixed in current 4.16.y upstream. > > Hi, > > not sure this was the issue or maybe the root cause is somewhere else. > I got my graphics card replaced in the meantime (now a RX580) and the > problem still appears, although less frequent. I can reproduce it well > when screen config is set to 2560x1440 and 75Hz, latest Sid version of > xserver-xorg-video-amdgpu. Which kernel version? Have you tried disabling DC? > And the temporarily visible overlay looks more like garbage (i.e. it > feels like a quick GPU restart). A GPU reset would take more time, and would likely leave your session unusable without at least restarting Xorg. > The flickering is much less disturbing if the moved window is a simple > one, like xterm, so it might have some connection to the drawing > performance? It might be related to GPU load, e.g. to the GPU memory clock being changed dynamically. You could try if forcing the clock to a certain value avoids the problem. -- Earthling Michel Dänzer | https://www.amd.com Libre software enthusiast | Mesa and X developer
Bug#897993: random black flickering
On Mon, 7 May 2018 12:15:37 +0200 =?UTF-8?Q?Michel_D=c3=a4nzer?= wrote: > On 2018-05-05 04:20 PM, Eduard Bloch wrote: > > Package: xserver-xorg-video-amdgpu > > Version: 18.0.1-1 > > Severity: normal > > > > Hello, > > > > my card (cheaper version of Rx560) has been working quite well for months. > > But I made a dist-upgrade a few weeks ago and since then I see strange > > flickering happening every few minutes, sometimes even multiple times > > per minute. Feels like a quick insertion of a black frame. Maybe a > > silent GPU reset or something? > > > > It seems to happen more often when mouse is moving and/or Firefox is > > active. First I suspected the application where I saw it most in the > > first days (another web browser) but now I see this happen from time to > > time with other applications, like the gvim window I see in front of me > > right now. > > > > First I attribute this to the amdgpu.dc=1 kernel option which I have set > > for testing purposes before, but removing it did not change the > > behavior. > > That's because DC is enabled by default for you, you need amdgpu.dc=0 to > disable it. This is a DC issue which is fixed in current 4.16.y upstream. Hi, not sure this was the issue or maybe the root cause is somewhere else. I got my graphics card replaced in the meantime (now a RX580) and the problem still appears, although less frequent. I can reproduce it well when screen config is set to 2560x1440 and 75Hz, latest Sid version of xserver-xorg-video-amdgpu. Example: for a still image, there are no issues, but when I open Firefox in background (maximized) and I start moving the gvim window (mail editor) around the screen in circles then it flickers at least once per second, often even faster. And the temporarily visible overlay looks more like garbage (i.e. it feels like a quick GPU restart). The flickering is much less disturbing if the moved window is a simple one, like xterm, so it might have some connection to the drawing performance? 60Hz mode is okay, though. And there are no such issues with Windows. Also, I have had a 4K monitor here once (60Hz device) and there were no such problems IIRC. Best regards, Eduard. -- error compiling committee.c: too many arguments to function
Bug#897993: random black flickering
On 2018-05-05 04:20 PM, Eduard Bloch wrote: > Package: xserver-xorg-video-amdgpu > Version: 18.0.1-1 > Severity: normal > > Hello, > > my card (cheaper version of Rx560) has been working quite well for months. > But I made a dist-upgrade a few weeks ago and since then I see strange > flickering happening every few minutes, sometimes even multiple times > per minute. Feels like a quick insertion of a black frame. Maybe a > silent GPU reset or something? > > It seems to happen more often when mouse is moving and/or Firefox is > active. First I suspected the application where I saw it most in the > first days (another web browser) but now I see this happen from time to > time with other applications, like the gvim window I see in front of me > right now. > > First I attribute this to the amdgpu.dc=1 kernel option which I have set > for testing purposes before, but removing it did not change the > behavior. That's because DC is enabled by default for you, you need amdgpu.dc=0 to disable it. This is a DC issue which is fixed in current 4.16.y upstream. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
Bug#897993: random black flickering
Package: xserver-xorg-video-amdgpu Version: 18.0.1-1 Severity: normal Hello, my card (cheaper version of Rx560) has been working quite well for months. But I made a dist-upgrade a few weeks ago and since then I see strange flickering happening every few minutes, sometimes even multiple times per minute. Feels like a quick insertion of a black frame. Maybe a silent GPU reset or something? It seems to happen more often when mouse is moving and/or Firefox is active. First I suspected the application where I saw it most in the first days (another web browser) but now I see this happen from time to time with other applications, like the gvim window I see in front of me right now. First I attribute this to the amdgpu.dc=1 kernel option which I have set for testing purposes before, but removing it did not change the behavior. Temps are normal. The is no such problem with Windows! $ sensors amdgpu-pci-0100 Adapter: PCI adapter fan1: 974 RPM temp1:+31.0°C (crit = +0.0°C, hyst = +0.0°C) Regards, Eduard. -- Package-specific info: X server symlink status: lrwxrwxrwx 1 root root 13 Jun 1 2009 /etc/X11/X -> /usr/bin/Xorg -rwxr-xr-x 1 root root 274 Jan 18 13:11 /usr/bin/Xorg VGA-compatible devices on PCI bus: -- 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] [1002:67ef] (rev e5) /etc/X11/xorg.conf does not exist. /etc/X11/xorg.conf.d does not exist. KMS configuration files: /etc/modprobe.d/i915-kms.conf: options i915 modeset=1 /etc/modprobe.d/radeon-kms.conf: options radeon modeset=1 dynclks=1 options radeonfb default_dynclk=1 mirror=1 #parm: force_sleep:bool: force D2 sleep mode on all hardware (bool) Kernel version (/proc/version): --- Linux version 4.16.2 (nobody@zombie) (gcc version 7.3.0 (Debian 7.3.0-15)) #22 SMP PREEMPT Thu Apr 12 19:29:27 CEST 2018 Xorg X server log files on system: -- -rw-r--r-- 1 root root 31530 Mar 21 2017 /var/log/Xorg.2.log -rw-r--r-- 1 root root 58920 Sep 1 2017 /var/log/Xorg.1.log -rw-r--r-- 1 root root 47715 May 5 14:45 /var/log/Xorg.0.log Contents of most recent Xorg X server log file (/var/log/Xorg.0.log): - [11.563] X.Org X Server 1.19.6 Release Date: 2017-12-20 [11.563] X Protocol Version 11, Revision 0 [11.563] Build Operating System: Linux 4.9.0-5-amd64 x86_64 Debian [11.563] Current Operating System: Linux zombie 4.16.2 #22 SMP PREEMPT Thu Apr 12 19:29:27 CEST 2018 x86_64 [11.563] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.2 root=UUID=5df203d7-fe19-44e6-87e9-3228b863f54a ro [11.563] Build Date: 26 January 2018 04:30:21PM [11.563] xorg-server 2:1.19.6-1 (https://www.debian.org/support) [11.563] Current version of pixman: 0.34.0 [11.563]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [11.563] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [11.563] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 5 14:44:57 2018 [11.573] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [11.577] (==) No Layout section. Using the first Screen section. [11.577] (==) No screen section available. Using defaults. [11.577] (**) |-->Screen "Default Screen Section" (0) [11.577] (**) | |-->Monitor "" [11.579] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [11.579] (==) Automatically adding devices [11.579] (==) Automatically enabling devices [11.579] (==) Automatically adding GPU devices [11.579] (==) Max clients allowed: 256, resource mask: 0x1f [11.604] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [11.604] (==) ModulePath set to "/usr/lib/xorg/modules" [11.604] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [11.604] (II) Loader magic: 0x55ac97cb0de0 [11.604] (II) Module ABI versions: [11.604]X.Org ANSI C Emulation: 0.4 [11.604]X.Org Video Driver: 23.0 [11.604]X.Org XInput driver : 24.1 [11.604]X.Org Server Extension : 10.0 [11.605] (++) using VT number 7 [11.605] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling