https://bugzilla.kernel.org/show_bug.cgi?id=87791
Bug ID: 87791
Summary: radeonsi lockup and oops
Product: Drivers
Version: 2.5
Kernel Version: 3.17
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: acab(a)digitalfuture.…
[View More]it
Regression: No
Created attachment 156761
--> https://bugzilla.kernel.org/attachment.cgi?id=156761&action=edit
lockup example (no oops)
After upgrading mesa from mesa-10.3.0 to mesa-10.3.1 the Radeon HD 7700 card
locks up several times a day without any specific trigger (or reliable way to
reproduce it).
Xorg appears frozen with just the mouse pointer moving. It's not even possible
to switch to a VT, however everything else works just fine. At any given time
the X bt looks like this:
Thread 2 (Thread 0x7fe8147be700 (LWP 2415)):
#0 0x00007fe81b4d911c in pthread_cond_wait () from /lib64/libpthread.so.0
#1 0x00007fe816a807a3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2 0x00007fe816a7ffc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3 0x00007fe81b4d5083 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fe81b9da3ad in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fe81d607880 (LWP 2380)):
#0 0x00007fe81b9836e9 in __memcpy_sse2_unaligned () from /lib64/libc.so.6
#1 0x00007fe816857a46 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2 0x00007fe816858742 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3 0x00007fe816859452 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#4 0x00007fe8168abf13 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#5 0x00007fe8168ac993 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#6 0x00007fe81684ad74 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#7 0x00007fe81684c510 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#8 0x00007fe81a58b883 in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#9 0x00007fe81a58c64e in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#10 0x00007fe81a58d160 in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#11 0x00007fe81a58d81c in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#12 0x00007fe81a56c674 in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#13 0x00007fe81a56cd84 in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#14 0x00007fe81a56dd5e in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#15 0x00007fe81a56e6ba in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#16 0x0000000000563e2d in miCopyRegion ()
#17 0x00000000005643b6 in miDoCopy ()
#18 0x00007fe81a56e6fd in ?? () from /usr/lib64/xorg/modules/libglamoregl.so
#19 0x0000000000511828 in ?? ()
#20 0x0000000000432291 in ?? ()
#21 0x0000000000435d3e in ?? ()
#22 0x0000000000439b6a in ?? ()
#23 0x00007fe81b913a65 in __libc_start_main () from /lib64/libc.so.6
#24 0x000000000042531e in _start ()
--
You are receiving this mail because:
You are watching the assignee of the bug.
[View Less]
So since -rc5/6 cutoff last merge windows was so successful from my
POV, I think I'll keep trucking with the idea.
Things I have on my radar for this window, outside normal driver pull requests:
a) rockchip drm - this needs IOMMU driver merged first so I can even
compile it, on hold but shouldn't be a problem if the iommu driver
gets merged somewhere first.
b) atmel hlcdc - where are we on the precursor patches for this?
c) atomic - Daniel seems to have done a good job pulling the helpers
…
[View More]in line, Rob, Sean, Collabora - please jump on board and get this
thing over the line.
d) Exynos/bridge/make my chromebook work upstream patches, where are
we on these, Ajay/Thierry I believe you are in the know.
e) AMD new driver, if this was aiming for next merge window you are
probably late, since it will require review at a guess.
Dave.
[View Less]
On Wed, Nov 05, 2014 at 04:15:54PM -0500, James Cloos wrote:
> I'm getting odd temp readings on an A8-7600 with 3.3.4 and Linus'
> current kernel.
>
> Eg, the gpu temp shows up when (mostly) idle as:
>
> radeon-pci-0008
> Adapter: PCI adapter
> temp1: -1.0°C (crit = +120.0°C, hyst = +90.0°C)
>
The driver for the Radeon chips is maintained by the radeon driver
maintainers, so you might want to ask at dri-devel(a)lists.freedesktop.org
(copied with this …
[View More]reply). The driver supports different chips with
different methods to read the temperature, so it might help to know
which chip is in your system (lspci -nn should tell you).
> aka:
>
> radeon-pci-0008
> Adapter: PCI adapter
> temp1: +32.0°F (crit = +248.0°F, hyst = +194.0°F)
>
>
> And the cpu temp is similar:
>
> k10temp-pci-00c3
> Adapter: PCI adapter
> temp1: +0.0°C (high = +70.0°C)
> (crit = +80.0°C, hyst = +79.0°C)
> aka:
>
> k10temp-pci-00c3
> Adapter: PCI adapter
> temp1: +32.0°F (high = +158.0°F)
> (crit = +176.0°F, hyst = +174.2°F)
>
AMD CPUs are known report wildly off temperatures especially at
low temperatures. Does the temperature increase with load ?
Thanks,
Guenter
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=80365
Priority: medium
Bug ID: 80365
Assignee: dri-devel(a)lists.freedesktop.org
Summary: [drm:ci_dpm_set_power_state] *ERROR*
ci_upload_dpm_level_enable_mask failed
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: neatnoise(a)gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: 10.2
…
[View More] Component: Drivers/Gallium/radeonsi
Product: Mesa
Created attachment 101540
--> https://bugs.freedesktop.org/attachment.cgi?id=101540&action=edit
dmesg
Hello,
Since few kernel releases I've got problems with DPM working correctly on
graphics card Asus Radeon 7790 OC. Few seconds after the kernel boot messages
appear:
[ 11.456134] [drm:ci_dpm_set_power_state] *ERROR*
ci_upload_dpm_level_enable_mask failed
[ 11.728030] [drm:ci_dpm_set_power_state] *ERROR*
ci_upload_dpm_level_enable_mask failed
Tested kernel versions:
3.14.6
3.15.1
3.16-rc2
Distro: Arch linux
Mesa: 10.2.1
llvm: 3.4.2
Xorg: 1.15.1
--
You are receiving this mail because:
You are the assignee for the bug.
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=71134
Priority: medium
Bug ID: 71134
Assignee: dri-devel(a)lists.freedesktop.org
Summary: AMD Radeon 7790 (BONAIRE Sea Islands) rendering,
stability, performance issues
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: neatnoise(a)gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
…
[View More] Component: Drivers/Gallium/radeonsi
Product: Mesa
Created attachment 88495
--> https://bugs.freedesktop.org/attachment.cgi?id=88495&action=edit
dmesg
Hello, I would like to report a list of issues I've run into after some time of
using mesa gallium driver for AMD Radeon 7790 (BONAIRE Sea Islands chip).
Used components:
OS: Gentoo
User space packages:
media-libs/mesa git
sys-devel/llvm git
x11-libs/libdrm git
x11-libs/glamor git
x11-drivers/xf86-video-ati git
x11-base/xorg-server 1.14.3
Linux Kernel: 3.12.0-rc7
Rendering issues (tested with window managers: metacity and compiz):
- rendering corruption while scrolling web pages even if inbrowser hardware
acceleration is disabled (in Chrome as well as in Firefox). There is kind of
pixel offset on the diagonal of rendered web page and corruption of images,
borders (it happens only while scrolling).
- Taking screenshot and using gksu (I'm using gnome 2 environment) results in
huge rendering slow down (about 1 fps). I have to reload a window manager to
fix this issue.
- Introduced dpm to Sea Islands in 3.12 kernel (while enabled) leads to image
corruption when moving windows, playing videos (in a browser and a video
player), scrolling websites. The corrupted image shows as flickering and
messing around parts of the screen. The rendered image is ok only if nothing
happens on the screen.
- anisotropic filtering doesn't seem to work (tested in sauerbraten game).
After applaying there is no visual difference between bilinear filtering and
anisotropic filtering.
Stability issues:
- Any use of OpenGL hardware acceleration after few minutes leads to GPU lockup
(from basic OpenGL games like sauerbraten, inbrowser hardware acceleration, to
compiz window manager). Glamor + metacity seems to work without GPU lockups.
- Playing videos in mplayer (VO: [vdpau]) also leads to a GPU lockup from time
to time. The same happens in firefox browser while playing youtube videos in
uvd decoding + flash
Performance issues:
- I get much less fps compared to my old card - Radeon 4850 (r600g driver) even
if the clocks are manually set to a maximal frequency.
- Compiz with basic effects is sometimes not fluent - drops to less than 30 fps
especially when there are more windows opened.
I would like attach any GPU lockup logs but dmesg doesn't leave any trace. More
than half of lockups are not recoverable and I have to reboot the computer.
Screens and logs are in the attachments.
Thank you for any help in resolving these issues.
--
You are receiving this mail because:
You are the assignee for the bug.
[View Less]
This patch resolves temporarily infinite loop issue incurred
when Exynos drm driver is enabled and multi-platform kernel
is used by registering Exynos drm device object only in case
of Exynos SoC. So this patch will be replaced with more generic
way later.
Signed-off-by: Inki Dae <inki.dae(a)samsung.com>
---
drivers/gpu/drm/exynos/exynos_drm_drv.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/…
[View More]exynos_drm_drv.c
index 443a206..ecc86aa 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -734,6 +734,18 @@ static int exynos_drm_init(void)
{
int ret;
+ /*
+ * Register device object only in case of Exynos SoC.
+ *
+ * Below codes resolves temporarily infinite loop issue incurred
+ * by Exynos drm driver when using multi-platform kernel.
+ * So these codes will be replaced with more generic way later.
+ */
+ if (!of_machine_is_compatible("samsung,exynos3") &&
+ !of_machine_is_compatible("samsung,exynos4") &&
+ !of_machine_is_compatible("samsung,exynos5"))
+ return -ENODEV;
+
exynos_drm_pdev = platform_device_register_simple("exynos-drm", -1,
NULL, 0);
if (IS_ERR(exynos_drm_pdev))
--
1.7.9.5
[View Less]
From: Andy yan <andy.yan(a)rock-chips.com>
We found freescale imx6 and rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS)
use the interface compatible Designware HDMI IP, but they also have some
lightly difference, such as phy pll configuration, register width(imx hdmi
register is one byte, but rk3288 is 4 bytes width and can only access by word),
4K support(imx6 doesn't support 4k, but rk3288 does).
To reuse the imx-hdmi driver, we do this patch set:
patch (1): split out imx-soc code …
[View More]from imx-hdmi to dw_hdmi-imx.c
patch (2): move imx-hdmi to bridge/, and rename to dw-hdmi to
make this driver indepent of drm-imx . And we will add rockchip
platform specific code dw_hdmi-rockchip.c later, this is depend
on drm-rockchip.
Andy Yan (1):
imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi
Andy yan (1):
move imx-hdmi to bridge/dw-hdmi
drivers/gpu/drm/bridge/Kconfig | 5 +
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/dw_hdmi.c | 1651 ++++++++++++++++++++++++++++++
drivers/gpu/drm/bridge/dw_hdmi.h | 1032 +++++++++++++++++++
drivers/staging/imx-drm/Kconfig | 1 +
drivers/staging/imx-drm/Makefile | 2 +-
drivers/staging/imx-drm/dw_hdmi-imx.c | 214 ++++
drivers/staging/imx-drm/imx-hdmi.c | 1767 ---------------------------------
drivers/staging/imx-drm/imx-hdmi.h | 1032 -------------------
include/drm/bridge/dw_hdmi.h | 114 +++
10 files changed, 3019 insertions(+), 2800 deletions(-)
create mode 100644 drivers/gpu/drm/bridge/dw_hdmi.c
create mode 100644 drivers/gpu/drm/bridge/dw_hdmi.h
create mode 100644 drivers/staging/imx-drm/dw_hdmi-imx.c
delete mode 100644 drivers/staging/imx-drm/imx-hdmi.c
delete mode 100644 drivers/staging/imx-drm/imx-hdmi.h
create mode 100644 include/drm/bridge/dw_hdmi.h
--
1.8.3.2
[View Less]