https://bugs.freedesktop.org/show_bug.cgi?id=93784
Bug ID: 93784
Summary: Hybrid graphics: GPU lockup when running glxgears
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: nioko1337(a)googlemail.com
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 121146
--> https://bugs.freedesktop.org/attachment.cgi?id=121146&action=edit
dmesg output
My laptop has the following discrete graphics card (lspci output):
0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE
[Radeon HD 8550M / R5 M230] (rev ff)
When running glxgears (or any graphical application) with DRI_PRIME=1, the
window appears but it stays just black (also it does not print any FPS in the
console).
After starting glxgears the first time, the GPU locks up (see dmesg.txt).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=93101
Bug ID: 93101
Summary: GPU Fault almost burned the CPU
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: dev(a)illwieckz.net
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 120103
--> https://bugs.freedesktop.org/attachment.cgi?id=120103&action=edit
syslog (short)
Hi, this is an issue about the fact that some GPU lockup can lead to some CPU
burn (for real).
Some hours ago I get a GPU lockup while I was trying to read a DVD with VLC.
The video rendering wasn't functionnal (no picture), then the GPU started to
display weird things (see attached photo) then locked up.
I've joined some log, one very long syslog, and some abstract for this one
(more easy to read, but I gave you the original one in case of I missed
something).
To summarize, you can read lines like that in the syslog:
```
Nov 24 22:58:18 gollum gnome-session[3720]: [00007f134c173c20] avcodec decoder:
Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
Nov 24 22:58:18 gollum kernel: [97035.599456] radeon 0000:01:00.0:
VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00002126
Nov 24 22:58:18 gollum kernel: [97035.599460] radeon 0000:01:00.0:
VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0408800C
Nov 24 22:58:18 gollum kernel: [97035.599465] VM fault (0x0c, vmid 2) at page
8486, read from 'TC4' (0x54433400) (136)
Nov 24 22:58:55 gollum kernel: [97072.747472] radeon 0000:01:00.0: ring 0
stalled for more than 10088msec
Nov 24 22:58:55 gollum kernel: [97072.747483] radeon 0000:01:00.0: GPU lockup
(current fence id 0x000000000059fcff last fence id 0x000000000059fd12 on ring
0)
Nov 24 22:59:04 gollum kernel: [97081.259933] WARNING: CPU: 4 PID: 23502 at
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_object.c:83
radeon_ttm_bo_destroy+0xe7/0xf0 [radeon]()
```
My system is running:
vlc 3.0.0~~git20151123+r62463+34~ubuntu15.10.1
linux-image-4.3.0-040300-generic 4.3.0-040300.201511020949
libdrm-radeon1 2.4.65+git1511161830.8913cd~gd~w
xserver-xorg-video-radeon 7.6.99+git1511170732.10b7c3~gd~w
libgl1-mesa-dri 11.2~git1511231930.e4c122~gd~w
mesa-vdpau-drivers 11.2~git1511231930.e4c122~gd~w
That is a real issue but it's not the topic of this ticket.
The really big problem is this bug almost burned my CPU. I explain.
When the bug occurred, I tried to track it. Instead of rebooting my computer I
started a laptop in order to connect to my computer using ssh, and to diagnose
some stuff on the living system. While the laptop were booting, I took some
photo of my screen.
But suddenly, my computer shutdown itself. The CPU critical temperature was
reached.
Normal operation temperature is normally between 30°C and 40°C on my system. In
case of emergency, I have two regulators running on my computer. The first one
raises fan speed from 128 tr/min to 1400 tr/min when temperature reaches 50°C,
and the second one downclocks all the 8 core from 4.7 GHz to 1.4GHz when the
temperature reaches 70°C.
Both regulators are userspace regulators. The first is the well-known
fancontrol, and the other one is mine. Both works well (if I use cpuburn for
example).
The fact is, when the GPU lockup occurred, something from the driver goes wrong
on the CPU side. It looks like some infinite loop started on my cores, doing
some extensive tasks, probably without having to deal with external components
(like central memory unit) in order to never slow done the CPU.
In fact, the computer acted exactly like if I was running one cpuburn process
per core using performance cpu governor during a summer noon. But there was an
exception, the fan never accelerated (so it was still running at 128 tr/min
when the CPU reached 90°, and the cpu was never downclocked too.
That's why I wrote this issue. When this bug occured, the system goes so wrong
the CPU was on knees and no regulator was able to control the CPU fan so the
CPU endlessly heating.
Hopefully, the internal CPU temperature protection shutdown automatically my
computer to save itself. But if someone use a CPU with a faulty temperature
safety mechanisme, this GPU lockup can lead to a CPU burn for real !
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=92428
Bug ID: 92428
Summary: Sword Coast Legends causing GPU lockup. radeon
0000:01:00.0: GPU lockup (current fence id
0x000000000000afd1 last fence id 0x000000000000b194 on
ring 3)
Product: Mesa
Version: 10.6
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: h0ser(a)h0sed.org
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 118821
--> https://bugs.freedesktop.org/attachment.cgi?id=118821&action=edit
System Logs
Bear with me as it's my first time submitting a bug report. When loading a
level in Sword Coast Legends, the driver crashes and hard locks the PC.
Attached is what I believe are the relevant portions of the logs.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=92302
Bug ID: 92302
Summary: Unigine Tropics freeze-crashes R390X
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: mc.return(a)gmx.net
QA Contact: dri-devel(a)lists.freedesktop.org
I understand that this benchmark might not use the latest version of the
Unigine engine, but starting it should not make my machine lock up with actual
high-end hardware, especially since the benchmark works flawless on pre-GCN AMD
hardware.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=91880
Bug ID: 91880
Summary: Radeonsi on Grenada cards (r9 390) exceptionally
unstable and poorly performing
Product: Mesa
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: minor
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: luutifa(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
I have an r9 390, and I had to disable DPM (on Linux 4.2) to get a stable
destop. The performance is less than half of r9 290 (which is almost the same
GPU) on the same driver.
How is Grenada support planned and can I get an estimate of it's arrival?
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=91009
Bug ID: 91009
Summary: [radeonsi, R9 270X] Random system lockup when start to
play H.264 video in mplayer with VDPAU
Product: Mesa
Version: 10.6
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: yurikoles(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 116559
--> https://bugs.freedesktop.org/attachment.cgi?id=116559&action=edit
dmesg
As I can count, it's happens about every 10-15 start of VDPAU decoding, kernel
traces vary.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=90668
Bug ID: 90668
Summary: vertical stripes/glitches on secondary screen r9 280x
Product: Mesa
Version: 10.5
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: net(a)ianni.de
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 116062
--> https://bugs.freedesktop.org/attachment.cgi?id=116062&action=edit
photo
This is my first bug report here, so I hope i got everything right.
My system is Fedora 22. My GPU is a Sapphire 280x OC. My secondary screen,
connected via dvi, is showing strange vertical stripes, ca 3 cm wide. It seems
like someone cut the actual image in stripes and glued it together slightly
overlapping with flickering borders.
If I take a screenshot everything looks normal (as it actually should look).
If I use it as the only screen, the stripes are also there.
(Is it a problem with the screen or the dvi connection?) I tried the second dvi
connection with the same result.
Using Windows, the screen has no issues.
output of xrandr:
http://paste.fedoraproject.org/225798/67516614
output of glxinfo:
http://paste.fedoraproject.org/225799/43267525
As mentioned, screenshots show the image as it should be, I had to take a photo
of the screen. I used a text file with the repeated series if numbers from 1 to
7.So one can see where the overlapping I mentioned happens (also in the spacing
of the buttons, missing glyphs etc..)
for example, after the first 1-7 sequence, the 1 and 2 are left out and so on.
I am sorry but I found no better way to show it, except making a video
If you need more information please let me know.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=90515
Bug ID: 90515
Summary: memory use increase with vdpau
Product: Mesa
Version: 10.4
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: fabrice(a)bellet.info
QA Contact: dri-devel(a)lists.freedesktop.org
I noticed a constant increase of rss memory while playing a video using vdpau +
radeonsi, caused by X events accumulating in read_packet (c=0x8275a0) at
xcb_in.c:333, and never flushed, and corresponding to this backtrace :
Breakpoint 6, read_packet (c=0x8275a0) at xcb_in.c:333
(gdb) bt
#0 0x00007fffec99b281 in read_packet (c=0x8275a0) at xcb_in.c:333
#1 0x00007fffec99c742 in _xcb_in_read (c=0x8275a0) at xcb_in.c:936
#2 0x00007fffec999ae4 in _xcb_conn_wait (c=0x8275a0, cond=0x7fffe1636960,
vector=0x0, count=0x0) at xcb_conn.c:495
#3 0x00007fffec99b78b in wait_for_reply (c=0x8275a0, request=207, e=0x0) at
xcb_in.c:493
#4 0x00007fffec99b8a4 in xcb_wait_for_reply (c=0x8275a0, request=207, e=0x0)
at xcb_in.c:523
#5 0x00007fffea7c5ac8 in xcb_dri2_swap_buffers_reply (c=0x8275a0, cookie=...,
e=0x0) at dri2.c:893
#6 0x00007fffe6a982f0 in vl_dri2_get_flush_reply (scrn=0x83cab0) at
../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:103
#7 0x00007fffe6a984b4 in vl_dri2_destroy_drawable (scrn=0x83cab0) at
../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:146
#8 0x00007fffe6a98524 in vl_dri2_set_drawable (scrn=0x83cab0,
drawable=41943041) at ../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:162
#9 0x00007fffe6a988ed in vl_screen_get_timestamp (vscreen=0x83cab0,
drawable=41943041) at
../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:269
#10 0x00007fffe6aa193d in vlVdpPresentationQueueGetTime
(presentation_queue=11, current_time=0x7fffe1636b80) at presentation.c:189
#11 0x00007fffe6aa1f04 in vlVdpPresentationQueueBlockUntilSurfaceIdle
(presentation_queue=11, surface=13, first_presentation_time=0x7fffe1636b80) at
presentation.c:335
#12 0x00007fffe719fb51 in put_surface () at
/usr/lib64/dri/radeonsi_drv_video.so
#13 0x00007fffe719fdcf in vdpau_PutSurface () at
/usr/lib64/dri/radeonsi_drv_video.so
#14 0x00007fffed5ead37 in gst_vaapi_texture_glx_put_surface (flags=0,
crop_rect=0x7fffe1636d20, surface=0x7fffdc08fd90,
base_texture=0x7fffcc1385a0) at gstvaapitexture_glx.c:315
#15 0x00007fffed5ead37 in gst_vaapi_texture_glx_put_surface
(texture=0x7fffcc1385a0, surface=0x7fffdc08fd90, crop_rect=0x7fffe1636d20,
flags=0) at gstvaapitexture_glx.c:378
#16 0x00007fffedf6e1b1 in gst_vaapi_texture_put_surface
(texture=0x7fffcc1385a0, surface=0x7fffdc08fd90, crop_rect=<optimized out>,
flags=<optimized out>) at gstvaapitexture.c:332
#17 0x00007fffe99118ec in _do_upload_with_meta (context=<optimized out>,
upload=0x7fffdc029600 [GstGLUpload]) at gstglupload.c:357
#18 0x00007fffe9913198 in _run_message_sync (message=0x7fffe1e37840) at
gstglwindow.c:353
#19 0x00007fffe9917a82 in _run_message (message=0x7fffd8001b60) at
gstglwindow_x11.c:598
#20 0x00007ffff73857fb in g_main_context_dispatch (context=0x7fffcc010980) at
gmain.c:3111
#21 0x00007ffff73857fb in g_main_context_dispatch
(context=context@entry=0x7fffcc010980) at gmain.c:3710
#22 0x00007ffff7385b98 in g_main_context_iterate (context=0x7fffcc010980,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3781
#23 0x00007ffff7385ec2 in g_main_loop_run (loop=0x7fffcc010b70) at
gmain.c:3975
#24 0x00007fffe9901cf7 in gst_gl_context_create_thread (context=0x7fffdc023260
[GstGLContextGLX]) at gstglcontext.c:959
#25 0x00007ffff73ac3d5 in g_thread_proxy (data=0x7fffdc0234a0) at gthread.c:764
#26 0x00007ffff6f2352a in start_thread (arg=0x7fffe1637700) at
pthread_create.c:310
#27 0x00007ffff6c5f22d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
The commands generating this case is :
# ln -s vdpau_drv_video.so /usr/lib64/dri/radeonsi_drv_video.so
$ export VDPAU_DRIVER=radeonsi
$ wget
http://samples.mplayerhq.hu/MPEG-4/NeroRecodeSample-MP4/NeroRecodeSample.mp4
$ gst-launch-1.0 filesrc location=NeroRecodeSample.mp4 ! qtdemux !
mpeg4videoparse ! vaapidecode ! videoconvert ! glimagesink
The two malloc() occuring in libxcb in read_packet() are sufficient to make
gst-launch-1.0 memory use grow out of control. It seems to occur because
vl_dri2_set_drawable() is called alternatively with two different drawables,
each call destroying the previous drawable.
--
You are receiving this mail because:
You are the assignee for the bug.