https://bugs.freedesktop.org/show_bug.cgi?id=101671
Bug ID: 101671
Summary: "classic" *ERROR* radeon: ring 0 test failed
(scratch(0x8504)=0xCAFEDEAD)
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: lyssdod(a)gmail.com
Hi guys,
This error goes for a very long time. I have a hybrid graphics laptop (sandy
bridge + radeon), and the only case radeon worked was fglrx. I'm using Gentoo
and they have recently dropped any support for fglrx (mostly because AMD and
Xorg had), so I tried fresh installation just to get some luck - and it failed
exactly as before. Trivia:
- radeon and i915 as modules;
- power on;
- after login manager shows a pic, everything hangs deadly;
- using netconsole I was able to get dmesg error when everything freezes:
[ 470.521009] [drm] PCIE gen 2 link speeds already enabled
[ 470.522846] radeon 0000:01:00.0: No VRAM object for PCIE GART.
[ 470.523493] [drm:evergreen_resume [radeon]] *ERROR* evergreen startup failed
on resume
I provide detailed system info shortly. Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=101593
Bug ID: 101593
Summary: Display errors with a R9 290x and a resolution of
3840x2160
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: tardingens(a)googlemail.com
Using the radeon driver with an AMD R9 290x and a 4k monitor causes display
corruption when set to the native resolution.
The problem was introduced with this change:
drm/radeon: change vblank_times calculation method to reduce computational
error.
https://patchwork.kernel.org/patch/9403897/
The issue is very easy to see when the mclk speed is forced to low, but it
occurs in normal usage too. Before the patch mclk switching was disabled at 4k
and the bug was not there.
The Windows driver has no such problems and does fine, even with mclk
switching.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=101491
Bug ID: 101491
Summary: Can't wake up the dedicated graphics card unless power
management is disabled
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: drkdfndr(a)rocketmail.com
Created attachment 132031
--> https://bugs.freedesktop.org/attachment.cgi?id=132031&action=edit
dmesg output
I have a ASUS K53TK with a AMD A6-3420M. It has an integrated graphics card the
AMD HD 6520G, and a dedicated one HD 7670M.
I am only able to use the dedicated card if I set the parameter
"radeon.runpm=0".
Otherwise xrandr only sees one provider, and DRI_PRIME=1 can't render any
program.
At boot time, if I don't disable the power management I get several error like
[ 458.460874] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed
(scratch(0x8504)=0xFFFFFFFF).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=101290
Bug ID: 101290
Summary: Radeon R9 390X regression - No output (CVT) or
corruption (CVT-R) at 4096x2160@60Hz over DisplayPort
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: freedesktop(a)nuclearsunshine.com
I had thought I had filed this bug a long time ago on here, but I can't find
it...
Graphics card: Radeon R9 390X (Saphhire 11241-04-20G)
Display: LG 31MU97 (via DisplayPort)
With Linux 4.4.x, 4096 x 2160 @ 60 Hz progressive output was working with
standard CVT timing.
With Linux 4.5.x onwards, standard CVT timing at that resolution fails (no
signal) with the following dmesg output:
kernel: [drm:radeon_dp_link_train [radeon]] *ERROR* channel eq failed
kernel: [drm:radeon_dp_link_train [radeon]] *ERROR* channel eq failed: 5 tries
CVT-R timing results in output, but with a flickering/corrupted full-height
band down the right hand side (it approximates the intended output, but pixels
seem be to be corrupt in single-pixel horizontal bands and/or flicker in
horizontal single-pixel bands) It could be complete coincidence, but the width
of the corrupt band seems to be the difference in width vs. 3840x2160, i.e.
aobut 256 pixels. With this timing there are no messages in dmesg.
There's a downstream Fedora bug report here:
https://bugzilla.redhat.com/show_bug.cgi?id=1353341
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=100941
Bug ID: 100941
Summary: Improve time to suspend on
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: paulepanter(a)users.sourceforge.net
Created attachment 131223
--> https://bugs.freedesktop.org/attachment.cgi?id=131223&action=edit
TML page generated by pm-graph (`sudo ./analyze_suspend.py -config
config/suspend-callgraph.cfg`)
The ASRock E350M1 has a Radeon HD 6310.
```
$ sudo lspci -s 0:01.0 -nn -v
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Wrestler [Radeon HD 6310] [1002:9802] (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD
6310] [1002:9802]
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at e0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 2000 [size=256]
Memory at f0100000 (32-bit, non-prefetchable) [size=256K]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
Kernel driver in use: radeon
Kernel modules: radeon
```
With Debian Sid/unstable with Linux 4.9.25 suspend and resume times are
benchmarked with pm-graph [1], and the command below.
```
sudo ./analyze_suspend.py -config config/suspend-callgraph.cfg
```
It turns out that with 258 ms the radeon module takes the majority of the time
during suspend.
In that cycle one `radeon_bo_evict_vram` call takes the longest with 198 ms.
```
[…]
459.186778 | 0) kworker-1495 | 0.974 us |
radeon_fence_wait_empty [radeon]();
459.186780 | 0) kworker-1495 | 0.440 us |
radeon_fence_wait_empty [radeon]();
459.186783 | 0) kworker-1495 | 0.501 us |
radeon_fence_wait_empty [radeon]();
459.186785 | 0) kworker-1495 | 5.424 us |
radeon_save_bios_scratch_regs [radeon]();
459.186793 | 0) kworker-1495 | 7625.511 us | evergreen_suspend
[radeon]();
459.194422 | 0) kworker-1495 | 10.158 us |
evergreen_hpd_fini [radeon]();
459.194434 | 0) kworker-1495 | 198203.3 us |
radeon_bo_evict_vram [radeon]();
[…]
```
Please see the attached files for more details.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=100800
Bug ID: 100800
Summary: With KMS:No link with displayport and A6-3600 APU from
4.4.x to 4.11.0.rc8, unless nomodeset kernel boot
parameter
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: abittner(a)opensuse.org
With KMS:No link with displayport and A6-3600 APU from 4.4.x to 4.11.0.rc8,
unless nomodeset kernel boot parameter
Please see my original distribution bugreport at
<https://bugzilla.opensuse.org/show_bug.cgi?id=1035240>
Tested with OpenSuSE Leap 42.2 (all x64) kernels 4.4.x up to 4.11.0.rc8 kernels
Hardware:
Motherboard: F1A75-V PRO by Asus, with AMD cpu/gpu/apu all-in-one: AMD A6-3600
APU with Radeon(tm) HD Graphics
hdmi port on motherboard and on the same monitor with hdmi cable works and
produces link, same motherboard with displayport cable and ports and same
monitor at its displayport port gives no link, unless one uses the "nomodeset"
kernel boot parameter.
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=100712
Bug ID: 100712
Summary: ring 0 stalled after bytes_moved_threshold reached -
Cap Verde - HD 7770
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: julien.isorce(a)gmail.com
Kernel 4.9 from
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-4.9 and latest
mesa. (same result with drm-next-4.12 branch)
Same result with kernel 4.8 and mesa 12.0.6.
In kernel radeon_object.c::radeon_bo_list_validate, once "bytes_moved >
bytes_moved_threshold" is reached (this is the case for 850 bo in the same
list_for_each_entry loop), I can see that radeon_ib_schedule emits a fence that
it takes more than the radeon.lockup_timeout to be signaled.
In radeon_fence_activity, I checked that the "last_emitted" is the seq number
for this last emited fence. And last_seq is equal to last_emitted-1.
Then the next call to ttm_wait_bo blocks (15 * HZ > radeon.lockup_timeout)
until gpu lockup which leads to a gpu reset.
Also it seems the fence is signaled by swapper after more than 10 seconds but
it is too late. I requires to reduce the "15" param above to 4 to see that.
Is it normal that radeon_bo_list_validate still tries to move the bo if
bytes_moved_threshold is reached ? Indeed ttm_bo_validate is always called (it
blits from vram to vram).
Is it also normal that ttm_bo_validate is called with evict flag as true once
bytes_moved_threshold is reached ?
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=100675
Bug ID: 100675
Summary: No signal on DisplayPort [drm:radeon_dp_link_train
[radeon]] *ERROR* displayport link status failed
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: oleg.hoefling(a)gmail.com
Created attachment 130835
--> https://bugs.freedesktop.org/attachment.cgi?id=130835&action=edit
dmesg log
First of all, this is the first bug reported by me, so I apologize in advance
if I assigned it to a wrong category. I have a monitor, a DisplayPort cable and
two notebooks. When the monitor is connected to the first notebook (Lenovo
T440), everything works fine, so the cable seems is working fine. Now, when the
monitor is connected to the second notebook, it shows "no signal is detected"
and switches into sleep mode. Here is what dmesg outputs (I will attach the
complete dmesg log):
[ 12.064503] [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link
status failed
[ 12.064517] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery
failed
Of course, after logging into the X session, the monitor remains black,
although Xorg does not report any errors in log:
$ grep -n EE /var/log/Xorg.0.log
16: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
System:
Linux msi_gx70 4.10.9-gentoo #2 SMP Thu Apr 13 21:30:04 CEST 2017 x86_64 AMD
A10-5750M APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=100616
Bug ID: 100616
Summary: With Radeon HD 8550M system freezes when running 3D
application
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: erham65t(a)yahoo.com
Created attachment 130753
--> https://bugs.freedesktop.org/attachment.cgi?id=130753&action=edit
dmesg output
My laptop has hybrid graphics.
Output of "lspci | grep AMD":
"0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE
[Radeon HD 8550M / R5 M230] (rev ff)"
I use an application called "Visual Molecular Dynamics", which opens an OpenGL
window and renders 3D images. There is no problem when using the integrated
GPU. But when I run the application using DRI_PRIME=1, the system freezes when
the OpenGL window is being opened. I need to use the dedicated GPU, because the
integrated GPU isn't powerful enough for my work.
OS: Ubuntu 16.04 64bit, with last updates
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=100465
Bug ID: 100465
Summary: Hard lockup with radeonsi driver on FirePro W600,
W9000 and W9100
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: julien.isorce(a)gmail.com
Created attachment 130563
--> https://bugs.freedesktop.org/attachment.cgi?id=130563&action=edit
dmesg
The machine completely freeze using radeonsi driver with FirePro W600, W9000
and W9100.
* Steps to reproduce:
wget
http://www.phoronix-test-suite.com/benchmark-files/GpuTest_Linux_x64_0.7.0.…
DISPLAY=:0 ./GpuTest /test=fur /fullscreen
* Acutal result:
System and screen are frozen after a few minutes (sometimes a few seconds,
sometimes 20 min). No mouse/keyboard. Does not respond to ping. No kernel
panic. Requires hard reboot.
After reboot, no error in /var/log/kern.log. Empty dir /var/crash, empty dir
/sys/fs/pstore. Sometimes some nul characters ^@ just before the next "Linux
version".
Using a serial console does not show additional debug messages.
* Expected result:
No system freeze.
* List of things that have been tried but leading to the same result:
- kernel 4.4.X, 4.8.x packaged by ubuntu.
- amd-staging-4.9 from https://cgit.freedesktop.org/~agd5f/linux.
- a few 4.10 kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/ .
- radeon.dpm=1 (all values for power_dpm_state /
power_dpm_force_performance_level)
- radeon.dpm=0 (power_mode=profile and all values for power_profile)
- radeon.msi=1 / 0.
- DRI2 / DRI3
- glamor / no accel, TearFree on / off
- single monitor, multi monitor, resolutions 1600x1200, 1920x1080.
- Latest libdrm / mesa. llvm 3.8, 4 and 5.
* List of things that avoids the system freeze:
- radeon.gartsize=512 radeon.vramlimit=1024
* Others:
- apitrace trace then replay does not lead to the freeze.
- No errors with R600_DEBUG=* or MESA_DEBUG.
- strace sometimes shows that the last call is ioctl(RADEON_CS) but not sure
how reliable this is provinding the last print might not be flush.
- Happens with 2 differents brand for the mother board.
- takes a bit longer for the mentioned GpuTest to freeze the machine on W9000
and W9100.
* TODOs:
- Try again kgdb.
- Try amdgpu instead of radeonsi.
--
You are receiving this mail because:
You are the assignee for the bug.