bugzilla-daemon at freedesktop.org
2017-Jan-29 07:27 UTC
[Nouveau] [Bug 99584] New: XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 Bug ID: 99584 Summary: XVMC on nv43 class card broken with recent mesa + kernel. 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 Hello again. Not sure if anyone will look into this, but I run into bug where xvmc state tracker/nouveau failed for me in multiple ways, depending on exact kernel/mesa combination. With kernel 4.2.0 new mesa (Mesa 17.1.0-devel git-12dcad1) compiled agains recent libdrm (d4b8344363b4e0f0e831e5722b6df5cc0bb08df8 Author: Chad Versace <chadversary at chromium.org> Date: Fri Jan 27 12:18:00 2017 -0800 Bump version for 2.4.75 release) produces pink window. With more mdoern kernel (4.10-rc5). whole device creation failed. Test commandline: /home/guest/src/mesa/src/gallium/state_trackers/xvmc/tests/xvmc_bench result: Acceleration level: IDCT Creation failed: No such device (-19) xvmc_bench: tests/xvmc_bench.c:238: main: Assertion `XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_height, 0x00000001, &context) == 0' failed. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170129/c57e426b/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2017-Jan-29 07:29 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #1 from Andrew Randrianasulu <randrik at mail.ru> --- Created attachment 129208 --> https://bugs.freedesktop.org/attachment.cgi?id=129208&action=edit current X log -- 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/20170129/e630c918/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jan-29 07:30 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #2 from Andrew Randrianasulu <randrik at mail.ru> --- Created attachment 129209 --> https://bugs.freedesktop.org/attachment.cgi?id=129209&action=edit dmesg added nouveau.debug=trace to kernel commandline -- 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/20170129/56b8e647/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jan-29 21:42 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #3 from Andrew Randrianasulu <randrik at mail.ru> --- Sorry, my mesa tree was not properly cleaned, and this resulted in weird mesa git version string. After running make distclean + git clean -fdx + ./autogen.sh --prefix=/usr --disable-dri3 --with-gallium-drivers=nouveau --enable-texture-float --enable-debug --with-dri-drivers=swrast PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig it shows more correct rendering string : OpenGL version string: 2.1 Mesa 17.1.0-devel (git-ce7a045) but issue with xvmc still here. I tried to boot old Slackware kernel (vmlinuz-huge-smp-3.14.29-smp) and unfortunately it behaved like my 4.2.0 with new mesa/libdrm: no correct image. vmlinuz-huge-smp-4.4.14-smp (new Slackware kernel) behaves like my self-compiled 4.10-rc5: "Creation failed: No such device (-19)" So, I think for now I can conclude new userspace simply doesn't work for xvmc on old kernels on my hardware, and try to move forward by investigating why new kernel failed to create device/object for pmpeg... -- 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/20170129/f3559d9a/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Mar-19 02:24 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> --- FWIW with mesa 17.0.1 and kernel 4.10.4, I'm unable to fully reproduce the issue. I have a NV4A, which uses the nv44 mpeg object, which in turn is rather different than the "plain" nv40 one which you have. I get a ton of warnings in dmesg: [15871.309494] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000010 000001b0 00006051 [15871.309516] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000380 0058b000 [15871.309531] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 0000038c 0068b000 [15871.326326] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000380 0058b000 [15871.326356] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000384 0000b350 [15871.326371] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 0000038c 0068b000 [15871.326385] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000390 000467e8 [15871.372669] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000380 0058b000 [15871.372690] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000384 000069c0 [15871.372708] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 0000038c 0068b000 [15871.372723] nouveau 0000:09:00.0: mpeg: ch 4 [00060530 mplayer[26300]] 01000000 00000020 00000390 00010604 and so on. The first one is harmless (simple bug that causes it to be printed instead of hidden), but the rest are harmful. The end-result is random junk on the screen, but that makes perfect sense given the above errors. I have fixes for some things, but not others. Will update when I have fixed my setup. -- 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/20170319/840210f9/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Mar-26 03:43 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #5 from Ilia Mirkin <imirkin at alum.mit.edu> --- OK, so the NV4A actually runs into a different issue - the MPEG class can only take linear memory, but the PCI GART is paged. So it can't deal the CMD/DATA bo's. When moving those to VRAM (in mesa), the NV4A is fine. I plugged a NV42 in with much worse results. On boot I get: https://hastebin.com/datuzivebu.sql [ 10.110345] nouveau 0000:04:00.0: mpeg: ch -1 [unknown] 03100023 ffffffff 00000001 ffffffff [ 10.191580] nouveau 0000:04:00.0: mpeg: MSRCH 0xffffffff And just all kinds of fail. This is with some local patches to print the extra stuff out. Feels like it's not getting powered on (all those 0xffffffff's) in MC. -- 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/20170326/c940ba76/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Mar-26 05:38 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> --- Er, scratch that. I guess the board doesn't have enough power when there's a second GPU in another PCIe slot. It comes up fine now, and I get the same issue. Looks like this bit of nvkm_ioctl_new is somehow failing with -ENODEV. My latest theory is: nvkm_fifo_chan_child_new calls engine_ctor (nv40_fifo_dma_engine_ctor), which in turn calls nvkm_object_bind() on something it's not supposed to (like the engine object, I think), which in turn returns -ENODEV as there's no bind pointer. I suspect the solution here is to add a dummy .bind to nv31_mpeg_chan, since the binding effectively happens at chan_new time. Or we could move the mpeg->chan check to the bind action. -- 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/20170326/748cdf39/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Mar-26 06:18 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #7 from Ilia Mirkin <imirkin at alum.mit.edu> --- OK, looks like this isn't so trivial to solve. The code really likes having something in chan->engn[] so that it can get the address. The old code just stuck a "4" in if it was a non-GR class. I wonder if the current code should check for ->engn[] != null, and if it's null, use a 4 there for the inst address. This will need consultation with Ben, as this is well outside my knowledge area. -- 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/20170326/db9c9cdd/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Nov-25 12:04 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 --- Comment #8 from Andrew Randrianasulu <randrik at mail.ru> --- It seems this one was fixed? -- 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/20171125/42724dbf/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Sep-18 20:44 UTC
[Nouveau] [Bug 99584] XVMC on nv43 class card broken with recent mesa + kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=99584 GitLab Migration User <gitlab-migration at fdo.invalid> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #9 from GitLab Migration User <gitlab-migration at 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/1126. -- 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/20190918/9c6f5599/attachment.html>
Reasonably Related Threads
- [Bug 58615] New: nv43 hangs with direct rendering since 3.7 rework
- [Bug 48742] New: fbotexture -arb misrenders on nv43
- [Bug 48701] New: lodbias demo displays garbage on nv43 with new driver
- [Bug 49736] New: piglit quck.driver tests kill X server on nv43
- [Bug 49731] New: wine 1.5.2 and 3Dmark2001se on nv43 hits assertion in simplify_cmp: Assertion `inst->dst.index < 4096' failed