https://bugs.freedesktop.org/show_bug.cgi?id=108261
Bug ID: 108261
Summary: [amdgpu][GL_ARB_bindless_texture][opengl 4] GPU hang
on AMD Raven
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: RobusGrobus95(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
GPU hang appears when trying to render scene to FBO (framebuffer object) with
attached texture with resident handle, but if all the handles of attached
texture are not reesident (or if there is no handles), hang disappears. For
example this pseudocode causes GPU hang:
GLuint renderbufId;
glCreateRenderbuffers(1, &renderbufId);
glNamedRenderbufferStorage(renderbufId, GL_DEPTH_COMPONENT, width(),
height());
GLuint texId;
glCreateTextures(GL_TEXTURE_2D, 1, &texId);
glTextureStorage2D(texId, 1, GL_RGBA8, width(), height());
GLuint64 handle = glGetTextureHandleARB(texId);
glMakeTextureHandleResidentARB(handle);
glBindFramebuffer(GL_FRAMEBUFFER, fboID);
glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texId, 0);
glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT,
GL_RENDERBUFFER, rboId);
//render some triangles
glBindFramebuffer(GL_FRAMEBUFFER, 0);
//render main scene
glSwapBuffers();
And this not:
GLuint renderbufId;
glCreateRenderbuffers(1, &renderbufId);
glNamedRenderbufferStorage(renderbufId, GL_DEPTH_COMPONENT, width(),
height());
GLuint texId;
glCreateTextures(GL_TEXTURE_2D, 1, &texId);
glTextureStorage2D(texId, 1, GL_RGBA8, width(), height());
GLuint64 handle = glGetTextureHandleARB(texId);
std::cout << handle << std::endl; //prevent optimizing out
glBindFramebuffer(GL_FRAMEBUFFER, fboID);
glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texId, 0);
glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT,
GL_RENDERBUFFER, rboId);
//render some triangles
glBindFramebuffer(GL_FRAMEBUFFER, 0);
//render main scene
glSwapBuffers();
I can try to write full cpp sample for exposing the hang, if it's needed. There
is already open source graphic engine (my "pet" project) affected by the hang,
but code is quite complex (https://gitlab.com/KawaiiGraphics/Kawaii3Dhttps://gitlab.com/KawaiiGraphics/Misaka3D ;
workaround added in commit b53d98dacff2b0392c2143c8901289e93ddd8623, so only
previous versions are affected).
My hardware:
APU: AMD Ryzen 5 2400G (with integrated GPU Radeon Vega 11 Graphics)
System board: MSI AM4 X470 Gaming Pro
RAM: Goodram Iridium 16Gb (8+8 Gb dual-channel 2800MHz)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=108194
Bug ID: 108194
Summary: Civilization VI - Animated leader characters small
black squares artifacts
Product: Mesa
Version: 18.2
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: freedesktop(a)psydk.org
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 141871
--> https://bugs.freedesktop.org/attachment.cgi?id=141871&action=edit
A leader character covered with multiple small black squares
See the attached picture.
I'm not sure if the problem is related to bug 108111 so I prefer opening a new
one. If both are related to a LLVM regression it's possible we'll be able to
close both.
Computer info:
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.23.0,
4.15.0-34-generic, LLVM 7.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.1 - padoka PPA
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=108036
Bug ID: 108036
Summary: VA-API implementation reports support for unsupported
endpoints
Product: Mesa
Version: 18.2
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: notkurufu(a)cock.li
QA Contact: dri-devel(a)lists.freedesktop.org
Videos encoded via VA-API on amd hardware using the h264 High profile end up
corrupt. This appears to be a known flaw and unsupported by mesa drivers. My
reference for this is here:
https://bugs.freedesktop.org/show_bug.cgi?id=104920#c8
Notably the mesa team claims that the issue is with applications using an
unsupported profile and that applications should query VA-API for supported
features. However it can be see with `vainfo` on AMD hardware that h264 High
profile support IS advertised by the drivers. So the error is not in the
applications which correctly query the information. But in the drivers
returning false information.
An example of vainfo output on AMD hardware advertising h264 High profile
support. I also have a source video and resultant reencoding at high profile
which is corrupt which is the same issue in the earlier bug where it was
claimed it was not supported.
$ vainfo --display drm
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Mesa Gallium driver 18.1.6 for AMD Radeon (TM) RX 480
Graphics (POLARIS10, DRM 3.26.0, 4.18.5-200.fc28.x86_64, LLVM 6.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=107912
Bug ID: 107912
Summary: Please add support for PIPE_CAP_TGSI_MUL_ZERO_WINS to
radeonsi
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: davyaxel0(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
PIPE_CAP_TGSI_MUL_ZERO_WINS is a cap currently supported by nv50, nvc0 and
r600, which means that TGSI_PROPERTY_MUL_ZERO_WINS is supported.
When enabled, the affected shaders have the behaviour 0*anything = 0 (including
inside a mad). It is used by gallium nine when available.
All GCN cards support special legacy instructions to handle the behaviour.
Since opengl compat used to be a thing "we will never support because lack of
time" and is now implemented, I thought maybe this MUL_ZERO_WINS may get added
to the new radeonsi TODO list.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=107864
Bug ID: 107864
Summary: Specific Shadertoy demo renders garbage in empty parts
of target surface
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: kode54(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
The following Shadertoy demo:
https://www.shadertoy.com/view/Xt3cWS
renders garbage in the top and bottom strips of the target surface, which
appears to be uninitialized VRAM being copied to the display surface.
It does not appear to matter which WebGL capable browser I use to run the demo,
they all replicate the issue on my RX480.
I cannot get apitrace to run on Firefox without that particular page crashing
on load, and I cannot get RenderDoc to attach to the tab's process and actually
capture anything.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=107694
Bug ID: 107694
Summary: [wine] RAGE: texture problems
Product: Mesa
Version: 18.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: sa(a)whiz.se
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 141292
--> https://bugs.freedesktop.org/attachment.cgi?id=141292&action=edit
screenshot of bug in RAGE
The game RAGE starts and runs, but have some quite severe texture problems. See
attached screenshot. The problem is especially bad when loading new areas.
Settings these options in default.cfg minimizes but doesn't get rid of the bug
fully:
jobs_numThreads 1
vt_maxPPF 128
as suggested in https://store.steampowered.com/news/6464/
This bug looks quite a lot like one that plagued the Windows drivers (ATI
Performance) back when the game was released:
https://www.youtube.com/watch?v=z-yl6pDFgtw
I have seen video of RAGE rendering fine with radeonsi
(https://www.youtube.com/watch?v=OgqgNrN16KM) so I tried jumping back quite a
few Mesa releases* to see if there was a regression somewhere, but AFAICT it is
still there as far back as 11.2.2.
I'm guessing the bug happened as a change from radeon to amdgpu on the kernel
side?
* Using a hack for Wine to skip the check for a compat profile.
System environment:
-- system architecture: 64-bit
-- Linux distribution: Debian unstable
-- GPU: TONGA
-- Model: Asus Strix R9 285 2GB
-- Display connector: DVI
-- xf86-video-amdgpu: 18.0.1
-- xserver: 1.20.1
-- mesa: 18.2.0~rc4
-- drm: 2.4.93
-- kernel: 4.17
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=107572
Bug ID: 107572
Summary: Unrecoverable GPU hang with IP block:gfx_v8_0 is hung
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: madcatx(a)atlas.cz
Hello,
I have been experiencing a worrying amount of these ever since I got my RX 570
a few months ago. I can reproduce the hang quite reliably by with some 3D
workloads, for instance the Unigine Superposition run on High quality or
Witcher 3 (through WINE) crash the GPU quite reliably within minutes.
Once that happens I can always SSH into the machine and try to get at least
some debugging information. Unfortunately, there does not seem to be much to go
on.
dmesg does not tell me more than this:
[ 254.704581] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout,
last signaled seq=103742, last emitted seq=103745
[ 254.704586] [drm] IP block:gfx_v8_0 is hung!
[ 254.704629] [drm] GPU recovery disabled.
Here are a few things I have tried so far:
- Boot with amdgpu.dc=0
- Boot with amdgpu.vm_update_mode=3
- Force the GPU to max power state
- Disable IOMMU (both by iommu=off and by disabling VT-d in BIOS)
- Boot with amdgpu.gpu_recovery=1 (does not produce any additional info)
I grabbed the umr tool to try to get the state of the GPU when in crashes but
it does not seem to be able to read anything. Running:
umr -R gfx[.]
Leaves me with:
[ERROR]: Could not open ring debugfs file#
I check that entries in /sys/kernel/debug/amdgpu that look relevant are there,
cat'ing them gives me "Operation not permitted". Yes, I am doing it as root.
Once this happens the only way out is a hard reboot.
I am running up-to-date Fedora 28, kernel 4.17.2, Mesa 18.0 series, LLVM 6.0.1.
Is there anything else I can do?
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=107509
GitLab Migration User <gitlab-migration(a)fdo.invalid> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #9 from GitLab Migration User <gitlab-migration(a)fdo.invalid> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1322.
--
You are receiving this mail because:
You are the assignee for the bug.