https://bugs.freedesktop.org/show_bug.cgi?id=98271
GitLab Migration User <gitlab-migration(a)fdo.invalid> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #25 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/1238.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=98005
Bug ID: 98005
Summary: VCE dual instance encoding inconsistent since st/va:
enable dual instances encode by sync 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: adf.lists(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
Bit late with this one, but I didn't notice initially.
It seems there is some timing/sync issue on R9285 with dual instance enabled
after
c59628d11b134fc016388a170880f7646e100d6f
st/va: enable dual instances encode by sync surface
Testing with large rawvideo/higher bitrates lucked me out of noticing initially
as visually these tend to be OK, though making say 20 and md5summing them will
show inconsistencies. I can change the number of "bads" in some tests by
flipping my cpus between cpufreq on_demand and perf.
At lower sizes/bitrates/transcoding it's possible to get corruption, either in
the form of some runs giving abnormally low bitrate with vbr, or sometimes with
cbr there is a chance of an out of order frame around an IDR frame.
Testing this with gstreamer.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=97119
GitLab Migration User <gitlab-migration(a)fdo.invalid> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |MOVED
--- Comment #22 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/1236.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=97075
Bug ID: 97075
Summary: VCE encoding slow when GPU is not stressed (HD 7970M)
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: haagch(a)frickel.club
This is on an intel + radeon laptop, so I need to run encoding with gstreamer
with DRI_PRIME=1.
Here is an example video:
http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4
DRI_PRIME is doing a good job of waking up the GPU from runpm when needed for
encoding via VAAPI and OMX, but for comparison I'll run glxgears both times.
I'm encoding the mentioned example video with VAAPI with this exact command:
$ time DRI_PRIME=1 LIBVA_DRIVER_NAME=radeonsi gst-launch-1.0 -e filesrc
location=big_buck_bunny_720p_1mb.mp4 ! qtdemux ! h264parse ! avdec_h264 ! queue
! videoconvert ! queue ! video/x-raw,format=NV12 ! vaapih264enc ! h264parse !
matroskamux ! filesink location=output.mkv
For low GPU stress I run the gst pipeline while glxgears with vsync is running:
$ DRI_PRIME=1 glxgears
Result: 0.75s user 0.33s system 2% cpu 52.779 total
For higher GPU stress I run the gst pipeline while glxgears without vsync is
running:
$ DRI_PRIME=1 vblank_mode=0 glxgears
Result: 0.99s user 0.28s system 43% cpu 2.928 total
I also tried a very similar pipeline with OMX:
$ time DRI_PRIME=1 gst-launch-1.0 -e filesrc
location=big_buck_bunny_720p_1mb.mp4 ! qtdemux ! h264parse ! avdec_h264 ! queue
! videoconvert ! queue ! video/x-raw,format=NV12 ! omxh264enc ! h264parse !
matroskamux ! filesink location=output.mkv
Low GPU stress: 0.96s user 0.24s system 19% cpu 6.298 total
High GPU stress: 1.10s user 0.24s system 141% cpu 0.949 total
Overall OMX encoding does a lot better, but it's still a large difference and
still below "real time" for the 5 second video.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=96860
Bug ID: 96860
Summary: Aliasing when using vdpau with mpv
Product: Mesa
Version: 11.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: dolohow(a)outlook.com
QA Contact: dri-devel(a)lists.freedesktop.org
When using hardware decoding with radeonsi along with mpv I can observe
aliasing on rough edges.
It was previously reported on mpv issue tracker
https://github.com/mpv-player/mpv/issues/3317
but the main developer pointed out that the bug is in mesa.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=96508
Bug ID: 96508
Summary: Artefacts while playing video with vaapi or vdpau
acceleration on amd apu (Radeon HD 8280E)
Product: Mesa
Version: 11.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: jan.burgmeier(a)unicon-software.com
QA Contact: dri-devel(a)lists.freedesktop.org
Created attachment 124502
--> https://bugs.freedesktop.org/attachment.cgi?id=124502&action=edit
Video with artefacts
While playing the attached video with mpv and vaapi or vdpau acceleration some
artefacts are shown.
The same artefacts are also shown when using gstreamer-0.10 with vaapi
acceleration.
Versions used:
- Mesa: 11.2.2 and 12.0.0-rc4
- MPV: git commit 2b1656b1aced3d81b31c83e8c310a630ca5d5d1c
- FFmpeg: 3.0.2
Hardware:
- CPU: AMD GX-217GA SOC with Radeon(tm) HD Graphic
- GPU: Radeon HD 8280E
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=95659
Bug ID: 95659
Summary: HD 7450, R9-270, GPU locked when testing glmark2
Product: DRI
Version: XOrg git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel(a)lists.freedesktop.org
Reporter: zduo006(a)163.com
[ 427.367567] radeon 0000:01:00.0: ring 0 stalled for more than 10070msec
[ 427.374151] radeon 0000:01:00.0: GPU lockup (current fence id
0x000000000000ea28 last fence id 0x000000000000ea2d on ring 0)
[ 427.500439] radeon 0000:01:00.0: Saved 151 dwords of commands on ring 0.
[ 427.500464] radeon 0000:01:00.0: GPU softreset: 0x00000009
[ 427.500471] radeon 0000:01:00.0: GRBM_STATUS = 0xB2732828
[ 427.500476] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x1C000005
[ 427.500481] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000007
[ 427.500486] radeon 0000:01:00.0: SRBM_STATUS = 0x20000AC0
[ 427.500491] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[ 427.500495] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 427.500500] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x400C0000
[ 427.500505] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00048004
[ 427.500509] radeon 0000:01:00.0: R_008680_CP_STAT = 0x80268647
[ 427.500513] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 427.513320] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B
[ 427.513378] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
[ 427.514540] radeon 0000:01:00.0: GRBM_STATUS = 0x00003828
[ 427.514544] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x00000007
[ 427.514549] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000007
[ 427.514554] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
[ 427.514558] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[ 427.514563] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 427.514567] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000
[ 427.514571] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00000000
[ 427.514576] radeon 0000:01:00.0: R_008680_CP_STAT = 0x00000000
[ 427.514580] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 427.514607] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[ 427.543125] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=0
[ 427.612472] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[ 427.612666] radeon 0000:01:00.0: WB enabled
[ 427.612673] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffffffc8dc366c00
[ 427.612678] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffffffc8dc366c0c
[ 427.662677] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffff8018332118
[ 427.679867] [drm] ring test on 0 succeeded in 1 usecs
[ 427.679884] [drm] ring test on 3 succeeded in 7 usecs
[ 427.856598] [drm] ring test on 5 succeeded in 2 usecs
[ 427.856613] [drm] UVD initialized successfully.
[ 427.977870] [drm] ib test on ring 0 succeeded in 0 usecs
[ 427.977919] [drm] ib test on ring 3 succeeded in 0 usecs
[ 428.128994] [drm] ib test on ring 5 succeeded
[ 792.996810] radeon 0000:01:00.0: ring 0 stalled for more than 10140msec
[ 793.003403] radeon 0000:01:00.0: GPU lockup (current fence id
0x00000000000184b0 last fence id 0x00000000000184b5 on ring 0)
[ 793.140947] radeon 0000:01:00.0: Saved 151 dwords of commands on ring 0.
[ 793.140974] radeon 0000:01:00.0: GPU softreset: 0x00000009
[ 793.140981] radeon 0000:01:00.0: GRBM_STATUS = 0xF7730828
[ 793.140986] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0xFC000001
[ 793.140992] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000007
[ 793.140996] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
[ 793.141001] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[ 793.141006] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 793.141010] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x400C0000
[ 793.141015] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00048004
[ 793.141019] radeon 0000:01:00.0: R_008680_CP_STAT = 0x80268647
[ 793.141024] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 793.154522] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B
[ 793.154580] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
[ 793.155741] radeon 0000:01:00.0: GRBM_STATUS = 0x00003828
[ 793.155746] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x00000007
[ 793.155751] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000007
[ 793.155755] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
[ 793.155759] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[ 793.155764] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 793.155768] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000
[ 793.155772] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00000000
[ 793.155777] radeon 0000:01:00.0: R_008680_CP_STAT = 0x00000000
[ 793.155781] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 793.155808] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[ 793.184357] [drm] enabling PCIE gen 2 link speeds, disable with
radeon.pcie_gen2=0
[ 793.253690] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[ 793.253884] radeon 0000:01:00.0: WB enabled
[ 793.253891] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffffffc8dc366c00
[ 793.253896] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffffffc8dc366c0c
[ 793.303888] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffff8018332118
[ 793.321047] [drm] ring test on 0 succeeded in 2 usecs
[ 793.321064] [drm] ring test on 3 succeeded in 7 usecs
[ 793.497767] [drm] ring test on 5 succeeded in 2 usecs
[ 793.497781] [drm] UVD initialized successfully.
[ 793.619052] [drm] ib test on ring 0 succeeded in 0 usecs
[ 793.619102] [drm] ib test on ring 3 succeeded in 0 usecs
[ 793.770188] [drm] ib test on ring 5 succeeded
when testing the following cases, GPU locked. First it stops responding for
some seconds and screen goes black, then it return to normal.
loop:vertex-step=5, fragment-steps=5, fragment-loop=false;
loop:vertex-step=5, fragment-steps=5, fragment-uniform=false;
loop:vertex-step=5, fragment-steps=5, fragment-uniform=ture;
I've already tried several radeon boot flags, such as DPM on and off,
radeon_lockup_timeout = 20000, without success. Upgrading the kernel version to
4.5.3 and 4.6.0 but it not fixed.
The problem does not occur when i add a delay(such as 1ms using msleep) in the
problem scene's draw function.
I thought is the problem of Synchronization between the cpu and gpu using
fence , can anyone have some idea?
lspci:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
libdrm 2.4.67,
xserver-xorg-video-ati 7.6.0,
xorg-server 1.18.2,
mesa 11.2.0
kernel 4.4
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=95517
GitLab Migration User <gitlab-migration(a)fdo.invalid> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |MOVED
--- Comment #12 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/1231.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=94471
Bug ID: 94471
Summary: Tonga UVD 4Kx4K = failed to allocate a buffer
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: adf.lists(a)gmail.com
QA Contact: dri-devel(a)lists.freedesktop.org
I see >= tonga uvd height has recently been increased -
https://cgit.freedesktop.org/mesa/mesa/commit/?id=353a4f844f9e845dad93de9c2…
radeon/uvd: increase max height to 4096 for VI and newer
With this issue 'mpv --hwdec=vdpau --vo=vdpau <stream>' fails
for vdpau decode if the stream height is 4096. Vdpau decode of
height upto 4096 is necessary usecase on amdgpu driver for VI
and newer platforms.
The fix is in driver specific implementation of "Decoder
Query Capabilities" API to return 4096 for VI and newer
platforms. With this fix vdpauinfo reports height support as
4096 and mpv for vdpau decode works fine for 4096 height streams.
On agd5f drm-fixes-4.5 4096x4096 fails for me (also fails with --vo vdpau)
andy [~]$ mpv --hwdec=vdpau /mnt/sdb1/ffmpeg-mpl-tests/x264-4096.mkv
Playing: /mnt/sdb1/ffmpeg-mpl-tests/x264-4096.mkv
(+) Video --vid=1 (*) (h264)
amdgpu: Failed to allocate a buffer:
amdgpu: size : 0 bytes
amdgpu: alignment : 4096 bytes
amdgpu: domains : 2
amdgpu: Failed to allocate a buffer:
amdgpu: size : 0 bytes
amdgpu: alignment : 4096 bytes
amdgpu: domains : 2
EE radeon_uvd.c:1109 ruvd_create_decoder UVD - Can't allocated bitstream
buffers.
[vo/opengl/x11] Disabling screensaver failed (-1). Make sure the
xdg-screensaver script is installed.
Using software decoding.
VO: [opengl] 4096x4096 => 7282x4096 yuv420p
dmesg
[ 8308.529176] [TTM] Illegal buffer object size
[ 8308.529210] [drm:amdgpu_gem_object_create [amdgpu]] *ERROR* Failed to
allocate GEM object (0, 2, 4096, -22)
[ 8308.529326] [TTM] Illegal buffer object size
[ 8308.529339] [drm:amdgpu_gem_object_create [amdgpu]] *ERROR* Failed to
allocate GEM object (0, 2, 4096, -22)
--
You are receiving this mail because:
You are the assignee for the bug.