https://bugzilla.kernel.org/show_bug.cgi?id=200695
Bug ID: 200695
Summary: Blank screen on RX 580 with amdgpu.dc=1 enabled (no
displays detected)
Product: Drivers
Version: 2.5
Kernel Version: 4.18.0-rc7
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: claude(a)mathr.co.uk
Regression: No
Created attachment 277633
--> https://bugzilla.kernel.org/attachment.cgi?id=277633&action=edit
dmesg after boot with amdgpu.dc=1 amdgpu.dc_log=1 drm.debug=6
When amdgpu.dc=1 is initialized at boot, the console goes blank as it thinks
all displays are disconnected. Xorg is not able to enable the display either.
With amdgpu.dc=0 all is fine. Tried with various (mostly Debian) kernels from
4.16 through 4.18~rc4, all have the issue. I built a 4.18~rc7 from kernel.org
to rule out Debian patches being the issue and will provide logs.
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=197327
Bug ID: 197327
Summary: radeon 0000:01:00.0: failed VCE resume (-110).
Product: Drivers
Version: 2.5
Kernel Version: 4.13.8
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: mad_sam(a)bk.ru
Regression: No
Created attachment 260297
--> https://bugzilla.kernel.org/attachment.cgi?id=260297&action=edit
dmesg log
Have some trouble on my laptop with Radeon HD 8550G + Radeon HD 8750M
I have error message radeon 0000:01:00.0: failed VCE resume (-110) in boot
time, and i think my discrette card Radeon HD 8750M possibly not work (3D with
DRI_PRIME=1 gives a worse or the same FPS than without it)
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=201139
Bug ID: 201139
Summary: amdgpu: [drm] enabling link 1 failed: 15 (vega)
Product: Drivers
Version: 2.5
Kernel Version: 4.19-rc3
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: mezin.alexander(a)gmail.com
Regression: No
My setup:
- RX Vega 64
- Arch Linux
- GNOME 3.28.3 on Xorg 1.20.1
- modesetting Xorg driver
- LG 27UD69P and Dell P2415Q
I have "screen blanking" enabled in Gnome. Sometimes (very rarely) one display
(Dell, connected to 2nd DisplayPort) doesn't wake up correctly. It turns on,
shows only black screen, then quickly shows "no signal" message. In kernel log
I see:
[39215.008773] [drm] enabling link 1 failed: 15
If I manually turn the display off and on, it starts to work.
Can't tell if it is a regression (hardly it is) because on 4.18 and earlier
screen blanking just makes the driver hang:
https://bugzilla.kernel.org/show_bug.cgi?id=200531
I've never seen a similar issue on Windows on the same machine.
If I'm not mistaken, I've seen the same issue with Gnome on Wayland too (but
I'm not sure).
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=94061
Bug ID: 94061
Summary: [radeon - Kaveri] dpm works badly - much to high power
consumption compared to catalyst
Product: Drivers
Version: 2.5
Kernel Version: 3.14.x ... 3.19.
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: abcdmail(a)freenet.de
Regression: No
With all kernel versions >= 3.14 (I didn't test versions below), radeon / dpm
consumes about 6 W more compared to catalyst in idle mode (X-server 1.15 /
1.16) with Kaveri graphics (AMD A10-7800 Radeon R7).
Idle mode: Xorg runs (KDE 4.11.x), screen saver off, static screen, load: 0.0
If the screen is turned off by X, the power consumption finally reaches the
same level as with catalyst. It's raising immediately again at the moment the
screen is switched on again by X.
Seams the lowest rate is never reached as long as even a static screen has to
be drawn - but it should!
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=78111
Bug ID: 78111
Summary: APU turbo core boost not working when radeon.dpm=1
Product: Drivers
Version: 2.5
Kernel Version: 3.14.6
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: bgz.marko(a)gmail.com
Regression: No
I am testing with A6-1450 APU on Arch Linux. If I pass radeon.dpm=1 parameter
at boot and start a single core workload then turbostat will report max
frequency of about 1000 MHz:
Core CPU Avg_MHz Bzy_MHz TSC_MHz time
- - 262 998 998 5**
0 0 12 998 998 5**
1 1 998 998 998
2 2 16 998 998
3 3 21 998 998
"cpupower frequency-info" reports that boost state support is supported, but
not active:
boost state support:
Supported: yes
Active: no
However, when dynamic power management is disabled (radeon.dpm=0), turbostat
reports higher frequencies for single core load, up to 1300 Mhz:
Core CPU Avg_MHz Bzy_MHz TSC_MHz time
- - 320 1214 998 5**
0 0 9 1226 998 5**
1 1 13 1194 998
2 2 41 1143 998
3 3 1216 1216 998
"cpupower frequency-info" confirms that boost is now active.
boost state support:
Supported: yes
Active: yes
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=201763
Bug ID: 201763
Summary: amdgpu: [powerplay] VBIOS did not find boot engine
clock value in dependency table. Using Memory DPM
level 0!
Product: Drivers
Version: 2.5
Kernel Version: 4.18.10
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: rbrito(a)ime.usp.br
Regression: No
Dear developers,
I have a notebook that is giving me a lot of trouble, especially as it is the
newest computer that I have at my disposal where I can perform any actual work.
This notebook has VERY frequent lockups (hard freezes, where the screen
displays something where I am working, but the keyboard does not respond, the
mouse doesn't either etc.).
The only way that I can resume any work is by forcibly shutting it down (by
pushing the power button for many seconds) and, of course, having all previous
unsaved work lost (including a previous report of this bug with the bugzilla
interface). :-(
There is no particular pattern that I could discover so far that triggers the
problem (for the past year, at least), but I do see some error messages on my
dmesg logs and I would like start with some of the more salient points by
sharing some problems that I have and, perhaps, zero in on potentially loose
ends that may help everybody with hardware that is similar.
The notebook in question is a Dell Inspiron 5548 with a Core i7-5500U, with two
graphic cards (or so I am told), with one of them being integrated with the CPU
and another being a discrete AMD GPU.
The userspace that I am using is a Debian testing (soon to be Debian 10) with
Debian's kernel 4.18.0-2-amd64 (which is actually a kernel 4.18.10-2). I can,
of course, test any other kernels for the sake of getting things fixed. Just
let me know and I will do my best to fix things.
BTW, no kernel that I have ever used on this machine has every worked
perfectly, even the prebuilt, unpatched kernels that Ubuntu compiles daily.
With that being said, when the kernel boots up, there are some red messages on
the dmesg log that are related to this AMD GPU (the entire dmesg log will be
attached) with some prominent lines being:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ dmesg | grep -E -i "drm|amdgpu|i965"
[ 13.054583] fb: switching to inteldrmfb from EFI VGA
[ 13.059874] [drm] Replacing VGA console driver
[ 13.060448] [drm] ACPI BIOS requests an excessive sleep of 10000 ms, using
1500 ms instead
[ 13.061122] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 13.061126] [drm] Driver supports precise vblank timestamp query.
[ 13.067596] [drm] Initialized i915 1.6.0 20180514 for 0000:00:02.0 on minor
0
[ 13.071479] fbcon: inteldrmfb (fb0) is primary device
[ 13.475640] [drm] amdgpu kernel modesetting enabled.
[ 14.237446] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 14.238730] amdgpu 0000:04:00.0: enabling device (0100 -> 0103)
[ 14.240876] [drm] initializing kernel modesetting (TOPAZ 0x1002:0x6900
0x1028:0x0643 0x00).
[ 14.240888] [drm] register mmio base: 0xC2000000
[ 14.240888] [drm] register mmio size: 262144
[ 14.240898] [drm] probing gen 2 caps for device 8086:9c98 = 5323c42/0
[ 14.240899] [drm] probing mlw for device 8086:9c98 = 5323c42
[ 14.240901] [drm] add ip block number 0 <vi_common>
[ 14.240901] [drm] add ip block number 1 <gmc_v7_0>
[ 14.240902] [drm] add ip block number 2 <iceland_ih>
[ 14.240902] [drm] add ip block number 3 <powerplay>
[ 14.240903] [drm] add ip block number 4 <gfx_v8_0>
[ 14.240904] [drm] add ip block number 5 <sdma_v2_4>
[ 14.240905] amdgpu 0000:04:00.0: kfd not supported on this ASIC
[ 14.262237] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment
size is 9-bit
[ 14.346850] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_mc.bin
[ 14.347897] amdgpu 0000:04:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[ 14.348877] amdgpu 0000:04:00.0: GTT: 256M 0x0000000000000000 -
0x000000000FFFFFFF
[ 14.350661] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 14.351494] [drm] RAM width 64bits DDR3
[ 14.358584] [drm] amdgpu: 2048M of VRAM memory ready
[ 14.359442] [drm] amdgpu: 3072M of GTT memory ready.
[ 14.360290] [drm] GART: num cpu pages 65536, num gpu pages 65536
[ 14.361807] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[ 14.363257] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 14.364522] [drm] Driver supports precise vblank timestamp query.
[ 14.365629] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_pfp.bin
[ 14.366113] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_me.bin
[ 14.366262] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_ce.bin
[ 14.366264] [drm] Chained IB support enabled!
[ 14.366414] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_rlc.bin
[ 14.381603] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_mec.bin
[ 14.384759] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_sdma.bin
[ 14.386476] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_sdma1.bin
[ 14.461717] amdgpu 0000:04:00.0: firmware: direct-loading firmware
amdgpu/topaz_smc.bin
[ 14.465233] amdgpu: [powerplay] can't get the mac of 5
[ 14.467411] amdgpu: [powerplay] VBIOS did not find boot engine clock value
in dependency table. Using Memory DPM level 0!
[ 14.477284] [drm] Initialized amdgpu 3.26.0 20150101 for 0000:04:00.0 on
minor 1
[ 21.824595] amdgpu: [powerplay] VI should always have 2 performance levels
[ 21.871775] amdgpu 0000:04:00.0: GPU pci config reset
[ 22.574755] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[ 22.577374] amdgpu: [powerplay] can't get the mac of 5
[ 22.578782] amdgpu: [powerplay] VBIOS did not find boot engine clock value
in dependency table. Using Memory DPM level 0!
[ 29.802702] amdgpu: [powerplay] VI should always have 2 performance levels
[ 29.848230] amdgpu 0000:04:00.0: GPU pci config reset
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Well, that's it. Please let me know whatever information you want me to get and
I will post it here.
Reiterating: I can compile kernels and or run other programs to diagnose
anything that you want me to to fix these issues.
Thanks in advance,
Rogério Brito.
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=199979
Bug ID: 199979
Summary: amdgpu: changing pwm1_enable from 1 to 2 does not
resume automatic fan control
Product: Drivers
Version: 2.5
Kernel Version: 4.17.0
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: CWidmer(a)umbrox.de
Regression: No
When using the hardware monitoring interface to change pwm1_enable to 2
(automatic) from 1 (manual), the automatic fan control does not work as
expected. Instead, the pwm1 value keeps jumping around between at least two
values and a continuous, persisting, and unpleasantly high-pitched sound can be
heard from inside the computer case. The only way to stop those things is
writing some valid value to pwm1, which in turn also switches pwm1_enable back
to 1. If the system is booted without ever manually changing the pwm1_enable
value, which then defaults to 2, automatic fan control does work as intended.
I am using a custom RX 580 (Sapphire Nitro+ Radeon RX 580 8GD5 Special Edition)
on a Gentoo x86_64 system and was able to reproduce the issue with the 4.17.0
kernel with Gentoo patches, the Ubuntu kernel on the 18.04 image (should be a
4.15 one) and also with amd-staging-drm-next.
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=198551
Bug ID: 198551
Summary: amdgpu error on shutdown or gpu intense game
Product: Drivers
Version: 2.5
Kernel Version: 4.14.14-1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: illuslion1998(a)gmail.com
Regression: No
Created attachment 273797
--> https://bugzilla.kernel.org/attachment.cgi?id=273797&action=edit
amdgpu error log
I get this error sometimes when I try to shutdown my computer. It freezes
everything and I have to hard reset my computer. This sometimes also happens
when I play a GPU intense game. (Example CS:GO). My GPU is Radeon R5 M255.
--
You are receiving this mail because:
You are watching the assignee of the bug.
When doing an atomic modeset with ALLOW_MODESET drivers are allowed to
pull in arbitrary other resources, including CRTCs (e.g. when
reconfiguring global resources).
But in nonblocking mode userspace has then no idea this happened,
which can lead to spurious EBUSY calls, both:
- when that other CRTC is currently busy doing a page_flip the
ALLOW_MODESET commit can fail with an EBUSY
- on the other CRTC a normal atomic flip can fail with EBUSY because
of the additional commit inserted by the kernel without userspace's
knowledge
For blocking commits this isn't a problem, because everyone else will
just block until all the CRTC are reconfigured. Only thing userspace
can notice is the dropped frames without any reason for why frames got
dropped.
Consensus is that we need new uapi to handle this properly, but no one
has any idea what exactly the new uapi should look like. As a stop-gap
plug this problem by demoting nonblocking commits which might cause
issues by including CRTCs not in the original request to blocking
commits.
v2: Add comments and a WARN_ON to enforce this only when allowed - we
don't want to silently convert page flips into blocking plane updates
just because the driver is buggy.
References: https://lists.freedesktop.org/archives/dri-devel/2018-July/182281.html
Bugzilla: https://gitlab.freedesktop.org/wayland/weston/issues/24#note_9568
Cc: Daniel Stone <daniel(a)fooishbar.org>
Cc: Pekka Paalanen <pekka.paalanen(a)collabora.co.uk>
Cc: stable(a)vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter(a)intel.com>
---
drivers/gpu/drm/drm_atomic.c | 34 +++++++++++++++++++++++++++++++---
1 file changed, 31 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index d5cefb1cb2a2..058512f14772 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -2018,15 +2018,43 @@ EXPORT_SYMBOL(drm_atomic_commit);
int drm_atomic_nonblocking_commit(struct drm_atomic_state *state)
{
struct drm_mode_config *config = &state->dev->mode_config;
- int ret;
+ unsigned requested_crtc = 0;
+ unsigned affected_crtc = 0;
+ struct drm_crtc *crtc;
+ struct drm_crtc_state *crtc_state;
+ bool nonblocking = true;
+ int ret, i;
+
+ /*
+ * For commits that allow modesets drivers can add other CRTCs to the
+ * atomic commit, e.g. when they need to reallocate global resources.
+ *
+ * But when userspace also requests a nonblocking commit then userspace
+ * cannot know that the commit affects other CRTCs, which can result in
+ * spurious EBUSY failures. Until we have better uapi plug this by
+ * demoting such commits to blocking mode.
+ */
+ for_each_new_crtc_in_state(state, crtc, crtc_state, i)
+ requested_crtc |= drm_crtc_mask(crtc);
ret = drm_atomic_check_only(state);
if (ret)
return ret;
- DRM_DEBUG_ATOMIC("committing %p nonblocking\n", state);
+ for_each_new_crtc_in_state(state, crtc, crtc_state, i)
+ affected_crtc |= drm_crtc_mask(crtc);
+
+ if (affected_crtc != requested_crtc) {
+ /* adding other CRTC is only allowed for modeset commits */
+ WARN_ON(state->allow_modeset);
+
+ DRM_DEBUG_ATOMIC("demoting %p to blocking mode to avoid EBUSY\n", state);
+ nonblocking = false;
+ } else {
+ DRM_DEBUG_ATOMIC("committing %p nonblocking\n", state);
+ }
- return config->funcs->atomic_commit(state->dev, state, true);
+ return config->funcs->atomic_commit(state->dev, state, nonblocking);
}
EXPORT_SYMBOL(drm_atomic_nonblocking_commit);
--
2.18.0