Re: [Nouveau] pcieport 0000:00:01.0: PME: Spurious native interrupt (nvidia with nouveau and thunderbolt on thinkpad P73)

2020-09-13 Thread Marc MERLIN
On Mon, Sep 07, 2020 at 05:29:35PM -0700, Marc MERLIN wrote:
> On Tue, Sep 08, 2020 at 01:51:19AM +0200, Karol Herbst wrote:
> > oh, I somehow missed that "disp ctor failed" message. I think that
> > might explain why things are a bit hanging. From the top of my head I
> > am not sure if that's something known or something new. But just in
> > case I CCed Lyude and Ben. And I think booting with
> > nouveau.debug=disp=trace could already show something relevant.
> 
> Thanks.
> I've added that to my boot for next time I reboot.
> 
> I'm moving some folks to Bcc now, and let's remove the lists other than
> nouveau on followups (lkml and pci). I'm just putting a warning here
> so that it shows up in other list archives and anyone finding this
> later knows that they should look in the nouveau archives for further
> updates/resolution.

Hi, I didn't hear back on this issue. Did you need the nouveau.debug=disp=trace
or are you already working on the "disp ctor failed" issue?

Thanks
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/   | PGP 7F55D5F27AAF9D08
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] libva-utils test siuite is crashing in nouveau sriver

2020-09-13 Thread Ilia Mirkin
What hardware are you using?

On Sun, Sep 13, 2020 at 2:14 PM Tomasz Kłoczko  wrote:
>
> Hi,
>
> I'm hitting that issue since Mesa 20.0.6 and it is present still in latest 
> version 20.1.7
>
> ```
> [tkloczko@barrel SPECS]$ coredumpctl gdb 3926866
>PID: 3926866 (test_va_api)
>UID: 1000 (tkloczko)
>GID: 1000 (tkloczko)
> Signal: 11 (SEGV)
>  Timestamp: Sun 2020-09-13 18:57:06 BST (32s ago)
>   Command Line: ./test_va_api
> Executable: 
> /home/tkloczko/rpmbuild/BUILD/libva-utils-2.9.0/test/test_va_api
>  Control Group: /user.slice/user-1000.slice/session-297.scope
>   Unit: session-297.scope
>  Slice: user-1000.slice
>Session: 297
>  Owner UID: 1000 (tkloczko)
>Boot ID: ab9d350c623e4313bacb892de46b85f9
> Machine ID: d033f66b249a4ec09acfa81ac205554f
>   Hostname: barrel
>Storage: 
> /var/lib/systemd/coredump/core.test_va_api.1000.ab9d350c623e4313bacb892de46b85f9.3926866.160001982600.zst
>Message: Process 3926866 (test_va_api) of user 1000 dumped core.
>
> Stack trace of thread 3926866:
> #0  0x7f4e2d3fb6d2 vlVaCreateContext 
> (nouveau_drv_video.so + 0xb16d2)
> #1  0x7f4e2e32d0f7 vaCreateContext (libva.so.2 + 0x190f7)
> #2  0x55b48d29a419 n/a 
> (/home/tkloczko/rpmbuild/BUILD/libva-utils-2.9.0/test/test_va_api + 0x4e419)
>
> GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
> Copyright (C) 2019 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
>
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from 
> /home/tkloczko/rpmbuild/BUILD/libva-utils-2.9.0/test/test_va_api...
> [New LWP 3926866]
> [New LWP 3926903]
> [New LWP 3926906]
> [New LWP 3926905]
> [New LWP 3926904]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `./test_va_api'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  vlVaCreateContext (ctx=, config_id=4294967295, 
> picture_width=1920, picture_height=1080, flag=1, render_targets=0x0, 
> num_render_targets=0, context_id=0x55b48e39c458)
> at ../src/gallium/state_trackers/va/context.c:229
> 229 ../src/gallium/state_trackers/va/context.c: No such file or directory.
> [Current thread is 1 (Thread 0x7f4e2ddbf4c0 (LWP 3926866))]
>  elfutils-libelf-0.181-2.fc34.x86_64 expat-2.2.9-2.2.fc34.x86_64 
> glibc-2.32.9000-5.fc34.x86_64 gmp-6.2.0-5.fc33.x86_64 
> libX11-1.6.12-2.fc34.x86_64 libX11-xcb-1.6.12-2.fc34.x86_64 
> libXau-1.0.9-5.fc33.x86_64 libXdmcp-1.1.3-5.fc33.x86_64 
> libdrm-2.4.102-3.fc34.x86_64 libedit-3.1-34.20191231cvs.fc34.x86_64 
> libffi-3.2.1-2.3.fc32.x86_64 libgcc-10.2.1-3.fc34.x86_64 
> libstdc++-10.2.1-3.fc34.x86_64 libva-2.9.0-2.fc34.x86_64 
> libxcb-1.14-6.fc34.x86_64 libxml2-2.9.10-8.fc34.x86_64 
> libxshmfence-1.3-8.fc33.x86_64 libzstd-1.4.5-7.fc34.x86_64 
> llvm-libs-10.0.1-2.1.fc34.x86_64 ncurses-libs-6.2-4.20200817.fc34.x86_64 
> sssd-client-2.3.0-2.fc33.x86_64 xz-libs-5.2.5-4.fc33.x86_64 
> z3-libs-4.8.8-5.fc33.x86_64 zlib-1.2.11-23.fc33.x86_64
> (gdb) bt full
> Missing separate debuginfos, use: dnf debuginfo-install#0  vlVaCreateContext 
> (ctx=, config_id=4294967295, picture_width=1920, 
> picture_height=1080, flag=1, render_targets=0x0, num_render_targets=0, 
> context_id=0x55b48e39c458)
> at ../src/gallium/state_trackers/va/context.c:229
> drv = 0x55b48e398280
> context = 
> config = 0x0
> is_vpp = 
> #1  0x7f4e2e32d0f7 in vaCreateContext () from /lib64/libva.so.2
> No symbol table info available.
> #2  0x55b48d29a419 in VAAPI::VAAPIFixture::doCreateContext 
> (this=, resolution=..., expectation=@0x7ffea3f6e468: 4) at 
> test_va_api_fixture.cpp:436
> gtest_ar = {success_ = 32, message_ = {ptr_ = 0xebe6e1ca084a2300}}
> #3  0x55b48d29ed34 in 
> VAAPI::VAAPICreateContextToFail_CreateContextWithNoConfig_Test::TestBody 
> (this=0x55b48e39c430) at test_utils.h:36
> No locals.
> #4  0x55b48d296e23 in testing::Test::Run (this=0x55b48e39c430) at 
> ../test/gtest/src/gtest.cc:2474
> impl = 0x55b48d91af60
> impl = 
> #5  testing::Test::Run (this=0x55b48e39c430) at 
> ../test/gtest/src/gtest.cc:2465
> impl = 
> impl = 
> #6  testing::TestInfo::Run (this=0x55b48d91fe00) at 
> 

[Nouveau] libva-utils test siuite is crashing in nouveau sriver

2020-09-13 Thread Tomasz Kłoczko
Hi,

I'm hitting that issue since Mesa 20.0.6 and it is present still in latest
version 20.1.7

```
[tkloczko@barrel SPECS]$ coredumpctl gdb 3926866
   PID: 3926866 (test_va_api)
   UID: 1000 (tkloczko)
   GID: 1000 (tkloczko)
Signal: 11 (SEGV)
 Timestamp: Sun 2020-09-13 18:57:06 BST (32s ago)
  Command Line: ./test_va_api
Executable:
/home/tkloczko/rpmbuild/BUILD/libva-utils-2.9.0/test/test_va_api
 Control Group: /user.slice/user-1000.slice/session-297.scope
  Unit: session-297.scope
 Slice: user-1000.slice
   Session: 297
 Owner UID: 1000 (tkloczko)
   Boot ID: ab9d350c623e4313bacb892de46b85f9
Machine ID: d033f66b249a4ec09acfa81ac205554f
  Hostname: barrel
   Storage:
/var/lib/systemd/coredump/core.test_va_api.1000.ab9d350c623e4313bacb892de46b85f9.3926866.160001982600.zst
   Message: Process 3926866 (test_va_api) of user 1000 dumped core.

Stack trace of thread 3926866:
#0  0x7f4e2d3fb6d2 vlVaCreateContext
(nouveau_drv_video.so + 0xb16d2)
#1  0x7f4e2e32d0f7 vaCreateContext (libva.so.2 +
0x190f7)
#2  0x55b48d29a419 n/a
(/home/tkloczko/rpmbuild/BUILD/libva-utils-2.9.0/test/test_va_api + 0x4e419)

GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/home/tkloczko/rpmbuild/BUILD/libva-utils-2.9.0/test/test_va_api...
[New LWP 3926866]
[New LWP 3926903]
[New LWP 3926906]
[New LWP 3926905]
[New LWP 3926904]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./test_va_api'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  vlVaCreateContext (ctx=, config_id=4294967295,
picture_width=1920, picture_height=1080, flag=1, render_targets=0x0,
num_render_targets=0, context_id=0x55b48e39c458)
at ../src/gallium/state_trackers/va/context.c:229
229 ../src/gallium/state_trackers/va/context.c: No such file or
directory.
[Current thread is 1 (Thread 0x7f4e2ddbf4c0 (LWP 3926866))]
 elfutils-libelf-0.181-2.fc34.x86_64 expat-2.2.9-2.2.fc34.x86_64
glibc-2.32.9000-5.fc34.x86_64 gmp-6.2.0-5.fc33.x86_64
libX11-1.6.12-2.fc34.x86_64 libX11-xcb-1.6.12-2.fc34.x86_64
libXau-1.0.9-5.fc33.x86_64 libXdmcp-1.1.3-5.fc33.x86_64
libdrm-2.4.102-3.fc34.x86_64 libedit-3.1-34.20191231cvs.fc34.x86_64
libffi-3.2.1-2.3.fc32.x86_64 libgcc-10.2.1-3.fc34.x86_64
libstdc++-10.2.1-3.fc34.x86_64 libva-2.9.0-2.fc34.x86_64
libxcb-1.14-6.fc34.x86_64 libxml2-2.9.10-8.fc34.x86_64
libxshmfence-1.3-8.fc33.x86_64 libzstd-1.4.5-7.fc34.x86_64
llvm-libs-10.0.1-2.1.fc34.x86_64 ncurses-libs-6.2-4.20200817.fc34.x86_64
sssd-client-2.3.0-2.fc33.x86_64 xz-libs-5.2.5-4.fc33.x86_64
z3-libs-4.8.8-5.fc33.x86_64 zlib-1.2.11-23.fc33.x86_64
(gdb) bt full
Missing separate debuginfos, use: dnf debuginfo-install#0
 vlVaCreateContext (ctx=, config_id=4294967295,
picture_width=1920, picture_height=1080, flag=1, render_targets=0x0,
num_render_targets=0, context_id=0x55b48e39c458)
at ../src/gallium/state_trackers/va/context.c:229
drv = 0x55b48e398280
context = 
config = 0x0
is_vpp = 
#1  0x7f4e2e32d0f7 in vaCreateContext () from /lib64/libva.so.2
No symbol table info available.
#2  0x55b48d29a419 in VAAPI::VAAPIFixture::doCreateContext
(this=, resolution=..., expectation=@0x7ffea3f6e468: 4) at
test_va_api_fixture.cpp:436
gtest_ar = {success_ = 32, message_ = {ptr_ = 0xebe6e1ca084a2300}}
#3  0x55b48d29ed34 in
VAAPI::VAAPICreateContextToFail_CreateContextWithNoConfig_Test::TestBody
(this=0x55b48e39c430) at test_utils.h:36
No locals.
#4  0x55b48d296e23 in testing::Test::Run (this=0x55b48e39c430) at
../test/gtest/src/gtest.cc:2474
impl = 0x55b48d91af60
impl = 
#5  testing::Test::Run (this=0x55b48e39c430) at
../test/gtest/src/gtest.cc:2465
impl = 
impl = 
#6  testing::TestInfo::Run (this=0x55b48d91fe00) at
../test/gtest/src/gtest.cc:2656
impl = 0x55b48d91af60
repeater = 0x55b48d91add0
start = 1600019826817
test = 0x55b48e39c430
impl = 
repeater = 
start = 
test = 
#7  testing::TestInfo::Run (this=0x55b48d91fe00) at
../test/gtest/src/gtest.cc:2630
impl = 
repeater