bugzilla-daemon at freedesktop.org
2019-Feb-22 09:35 UTC
[Nouveau] [Bug 109742] New: vdpau state tracker on nv92 started to hit assert after vl compute work
https://bugs.freedesktop.org/show_bug.cgi?id=109742
Bug ID: 109742
Summary: vdpau state tracker on nv92 started to hit assert
after vl compute work
Product: Mesa
Version: git
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at lists.freedesktop.org
Reporter: randrik at mail.ru
QA Contact: nouveau at lists.freedesktop.org
Created attachment 143438
--> https://bugs.freedesktop.org/attachment.cgi?id=143438&action=edit
hack patch to disable compute reporting in nv50
Hello.
I tried to update my mesa install and hit one bug.
mplayer /dev/shm/tmp/output.mkv
MPlayer SVN-r38122-5.5.0 (C) 2000-2019 MPlayer Team
224 audio & 464 video codecs
Playing /dev/shm/tmp/output.mkv.
libavformat version 58.26.101 (internal)
libavformat file format detected.
[lavf] stream 0: video (vp8), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0, -alang rus
VIDEO: [VP80] 1280x720 0bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
=========================================================================Opening
video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.47.100 (internal)
Selected video codec: [ffvp8] vfm: ffmpeg (FFmpeg VP8)
=========================================================================Clip
info:
ENCODER: Lavf58.20.100
Load subtitles in /dev/shm/tmp/
=========================================================================Forced
audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
=========================================================================AL lib:
(EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
AO: [openal] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12
mplayer: nv50/nv50_state.c:659: nv50_bind_sampler_states: Assertion
`!"unexpected shader type"' failed.
MPlayer interrupted by signal 6 in module: decode video
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't
and
won't help unless you provide this information when reporting a possible
bug.
AL lib: (EE) alc_cleanup: 1 device not closed
MPlayer interrupted by signal 11 in module: decode video
mesa version Mesa 19.1.0-devel (git-55e00a2ea8) was good.
disabling PIPE_CAP_COMPUTE for nv50 'fixes' bug for me.
Note, I hope internal use of compute shaders still unaffected, or may be I read
https://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/drivers/nouveau/nv50/nv50_screen.c?id=ff72440b40211326eda118232fabd53965410afd
wrongly?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20190222/0a3a29ab/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Feb-22 14:44 UTC
[Nouveau] [Bug 109742] vdpau state tracker on nv92 started to hit assert after vl compute work
https://bugs.freedesktop.org/show_bug.cgi?id=109742
Ilia Mirkin <imirkin at alum.mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> ---
I've pushed out
commit ae2cb7280436ab3fe24afef510d30201e54b795c (origin/master, origin/HEAD)
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Feb 22 09:40:37 2019 -0500
nv50: disable compute
It causes more trouble than it's worth. Now vl tries to create compute
shaders without all the proper checking. Since there's really no
(current) way to use compute on nv50, just mark it disabled.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109742
Fixes: f6ac0b5d71 ("gallium/auxiliary/vl: Add compute shader to support
video compositor render")
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20190222/2f6c0f1c/attachment.html>
Reasonably Related Threads
- [Bug 20990] New: [kms] Change to VT broken with NV92
- [PATCH] drm/gpio/nv50: post nv92 cards have 32 interrupt lines
- [Bug 38900] New: Problem rendering on Gallium 0.4 on NV92 in PlaneShift
- [Bug 42402] New: [NV92] Display not Detected if Connected to HDMI Port
- [Bug 106660] New: nv92 hang with MSI Kombustor 2.5 (via wine)