You are not logged in.

#1 2018-12-23 11:42:16

Starsam80
Member
Registered: 2015-12-03
Posts: 1

mpv segfaults with "free(): invalid pointer" after switching GPU

I recently switched from a GTX 1060 to a RX 480,  and even though I switched most if not all of the config files over to use the new AMD card and drivers, mpv still seems to crash with it relating back to nvidia. There are various solutions that I found but none of them are very nice.


$ mpv --idle --force-window --no-config --log-file=test.log
free(): invalid pointer
[1]    32058 abort (core dumped)  mpv --idle --force-window --no-config --log-file=test.log

test.log doesn't contain anything useful but for completeness: https://hastebin.com/kokepilahi

$ coredumpctl gdb 32058 
           PID: 32058 (mpv)
           UID: 1000 (starsam80)
           GID: 998 (wheel)
        Signal: 6 (ABRT)
     Timestamp: Sun 2018-12-23 04:09:57 MST (9min ago)
  Command Line: mpv --idle --force-window --no-config --log-file=test.log
    Executable: /usr/bin/mpv
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (starsam80)
       Boot ID: 3ce549f39fab49e3bc44ffc76d1199c9
    Machine ID: 987313a559b2442791c6b833500bad77
      Hostname: Boi
       Storage: /var/lib/systemd/coredump/core.mpv.1000.3ce549f39fab49e3bc44ffc76d1199c9.32058.1545563397000000.lz4
       Message: Process 32058 (mpv) of user 1000 dumped core.
                
                Stack trace of thread 32073:
                #0  0x00007fbe739b1d7f raise (libc.so.6)
                #1  0x00007fbe7399c672 abort (libc.so.6)
                #2  0x00007fbe739f4878 __libc_message (libc.so.6)
                #3  0x00007fbe739fb18a malloc_printerr (libc.so.6)
                #4  0x00007fbe739fc97c _int_free (libc.so.6)
                #5  0x00007fbe5a12ceba n/a (libnvidia-fatbinaryloader.so.415.25)
                #6  0x00007fbe50815e24 ac_elf_read (radeonsi_dri.so)
                #7  0x00007fbe5081e559 ac_compile_module_to_binary (radeonsi_dri.so)
                #8  0x00007fbe507e2170 si_llvm_compile (radeonsi_dri.so)
                #9  0x00007fbe507d7b09 si_compile_llvm (radeonsi_dri.so)
                #10 0x00007fbe507d936a si_compile_tgsi_shader (radeonsi_dri.so)
                #11 0x00007fbe5079bb76 si_init_shader_selector_async (radeonsi_dri.so)
                #12 0x00007fbe50caf66c util_queue_thread_func (radeonsi_dri.so)
                #13 0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #14 0x00007fbe784bca9d start_thread (libpthread.so.0)
                #15 0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32065:
                #0  0x00007fbe73ad4c00 __strcmp_avx2 (libc.so.6)
                #1  0x00007fbe7841a9d1 av_pix_fmt_swap_endianness (libavutil.so.56)
                #2  0x0000557bc1852114 is_native_endian (mpv)
                #3  0x0000557bc185dbe3 ra_get_imgfmt_desc (mpv)
                #4  0x0000557bc186edaa gl_video_check_format (mpv)
                #5  0x0000557bc18832d2 query_format (mpv)
                #6  0x0000557bc187edfc run_query_format (mpv)
                #7  0x0000557bc17e64a8 mp_dispatch_queue_process (mpv)
                #8  0x0000557bc18816aa vo_thread (mpv)
                #9  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #10 0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32063:
                #0  0x00007fbe784c2e5b pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000557bc17fb585 wait_wakeup (mpv)
                #2  0x0000557bc17fd3cd mpv_wait_event (mpv)
                #3  0x0000557bc1818183 script_wait_event (mpv)
                #4  0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #5  0x00007fbe73d81fec n/a (liblua5.2.so.5.2)
                #6  0x00007fbe73d765b8 n/a (liblua5.2.so.5.2)
                #7  0x00007fbe73d7268b lua_callk (liblua5.2.so.5.2)
                #8  0x0000557bc1817206 load_scripts (mpv)
                #9  0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #10 0x00007fbe73d76582 n/a (liblua5.2.so.5.2)
                #11 0x00007fbe73d75b30 n/a (liblua5.2.so.5.2)
                #12 0x00007fbe73d767ff n/a (liblua5.2.so.5.2)
                #13 0x00007fbe73d72751 lua_pcallk (liblua5.2.so.5.2)
                #14 0x0000557bc1818f06 run_lua (mpv)
                #15 0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #16 0x00007fbe73d76582 n/a (liblua5.2.so.5.2)
                #17 0x00007fbe73d75b30 n/a (liblua5.2.so.5.2)
                #18 0x00007fbe73d767ff n/a (liblua5.2.so.5.2)
                #19 0x00007fbe73d72751 lua_pcallk (liblua5.2.so.5.2)
                #20 0x0000557bc18193fc mp_cpcall (mpv)
                #21 0x0000557bc182073a script_thread (mpv)
                #22 0x00007fbe784bca9d start_thread (libpthread.so.0)
                #23 0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32068:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32062:
                #0  0x00007fbe784c2e5b pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000557bc17fb585 wait_wakeup (mpv)
                #2  0x0000557bc17fd3cd mpv_wait_event (mpv)
                #3  0x0000557bc1818183 script_wait_event (mpv)
                #4  0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #5  0x00007fbe73d81fec n/a (liblua5.2.so.5.2)
                #6  0x00007fbe73d765b8 n/a (liblua5.2.so.5.2)
                #7  0x00007fbe73d7268b lua_callk (liblua5.2.so.5.2)
                #8  0x0000557bc1817206 load_scripts (mpv)
                #9  0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #10 0x00007fbe73d76582 n/a (liblua5.2.so.5.2)
                #11 0x00007fbe73d75b30 n/a (liblua5.2.so.5.2)
                #12 0x00007fbe73d767ff n/a (liblua5.2.so.5.2)
                #13 0x00007fbe73d72751 lua_pcallk (liblua5.2.so.5.2)
                #14 0x0000557bc1818f06 run_lua (mpv)
                #15 0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #16 0x00007fbe73d76582 n/a (liblua5.2.so.5.2)
                #17 0x00007fbe73d75b30 n/a (liblua5.2.so.5.2)
                #18 0x00007fbe73d767ff n/a (liblua5.2.so.5.2)
                #19 0x00007fbe73d72751 lua_pcallk (liblua5.2.so.5.2)
                #20 0x0000557bc18193fc mp_cpcall (mpv)
                #21 0x0000557bc182073a script_thread (mpv)
                #22 0x00007fbe784bca9d start_thread (libpthread.so.0)
                #23 0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32066:
                #0  0x00007fbe784c5436 do_futex_wait.constprop.1 (libpthread.so.0)
                #1  0x00007fbe784c5538 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                #2  0x0000557bc189b179 screensaver_thread (mpv)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32058:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000557bc17e638c mp_dispatch_run (mpv)
                #2  0x0000557bc1880325 vo_query_formats (mpv)
                #3  0x0000557bc181eacf handle_force_window (mpv)
                #4  0x0000557bc181f540 idle_loop (mpv)
                #5  0x0000557bc18149f1 mp_play_files (mpv)
                #6  0x0000557bc181a129 mpv_main (mpv)
                #7  0x00007fbe7399e223 __libc_start_main (libc.so.6)
                #8  0x0000557bc179a24e _start (mpv)
                
                Stack trace of thread 32060:
                #0  0x00007fbe73a6ac21 __poll (libc.so.6)
                #1  0x0000557bc18a31dc terminal_thread (mpv)
                #2  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #3  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32072:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32069:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32061:
                #0  0x00007fbe784c2e5b pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x0000557bc17fb585 wait_wakeup (mpv)
                #2  0x0000557bc17fd3cd mpv_wait_event (mpv)
                #3  0x0000557bc1818183 script_wait_event (mpv)
                #4  0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #5  0x00007fbe73d81fec n/a (liblua5.2.so.5.2)
                #6  0x00007fbe73d765b8 n/a (liblua5.2.so.5.2)
                #7  0x00007fbe73d7268b lua_callk (liblua5.2.so.5.2)
                #8  0x0000557bc1817206 load_scripts (mpv)
                #9  0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #10 0x00007fbe73d76582 n/a (liblua5.2.so.5.2)
                #11 0x00007fbe73d75b30 n/a (liblua5.2.so.5.2)
                #12 0x00007fbe73d767ff n/a (liblua5.2.so.5.2)
                #13 0x00007fbe73d72751 lua_pcallk (liblua5.2.so.5.2)
                #14 0x0000557bc1818f06 run_lua (mpv)
                #15 0x00007fbe73d7620e n/a (liblua5.2.so.5.2)
                #16 0x00007fbe73d76582 n/a (liblua5.2.so.5.2)
                #17 0x00007fbe73d75b30 n/a (liblua5.2.so.5.2)
                #18 0x00007fbe73d767ff n/a (liblua5.2.so.5.2)
                #19 0x00007fbe73d72751 lua_pcallk (liblua5.2.so.5.2)
                #20 0x0000557bc18193fc mp_cpcall (mpv)
                #21 0x0000557bc182073a script_thread (mpv)
                #22 0x00007fbe784bca9d start_thread (libpthread.so.0)
                #23 0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32071:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32080:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32087:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32097:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32098:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32070:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32090:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32095:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32089:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32092:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32088:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32096:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32091:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32094:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32067:
                #0  0x00007fbe784c2afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbe50caf5d4 cnd_wait (radeonsi_dri.so)
                #2  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #3  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #4  0x00007fbe73a75b23 __clone (libc.so.6)
                
                Stack trace of thread 32075:
                #0  0x00007fbe784c6976 __open (libpthread.so.0)
                #1  0x00007fbe50ca78bb open64 (radeonsi_dri.so)
                #2  0x00007fbe5079b9a5 si_shader_cache_load_shader (radeonsi_dri.so)
                #3  0x00007fbe5079bb53 si_init_shader_selector_async (radeonsi_dri.so)
                #4  0x00007fbe50caf66c util_queue_thread_func (radeonsi_dri.so)
                #5  0x00007fbe50caf2f8 impl_thrd_routine (radeonsi_dri.so)
                #6  0x00007fbe784bca9d start_thread (libpthread.so.0)
                #7  0x00007fbe73a75b23 __clone (libc.so.6)

GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/mpv...done.
[New LWP 32073]
[New LWP 32065]
[New LWP 32063]
[New LWP 32068]
[New LWP 32062]
[New LWP 32066]
[New LWP 32058]
[New LWP 32060]
[New LWP 32072]
[New LWP 32069]
[New LWP 32061]
[New LWP 32071]
[New LWP 32080]
[New LWP 32087]
[New LWP 32097]
[New LWP 32098]
[New LWP 32070]
[New LWP 32090]
[New LWP 32095]
[New LWP 32089]
[New LWP 32092]
[New LWP 32088]
[New LWP 32096]
[New LWP 32091]
[New LWP 32094]
[New LWP 32067]
[New LWP 32075]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `mpv --idle --force-window --no-config --log-file=test.log'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fbe739b1d7f in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fbe38ff9700 (LWP 32073))]
>>> bt
#0  0x00007fbe739b1d7f in raise () at /usr/lib/libc.so.6
#1  0x00007fbe7399c672 in abort () at /usr/lib/libc.so.6
#2  0x00007fbe739f4878 in __libc_message () at /usr/lib/libc.so.6
#3  0x00007fbe739fb18a in  () at /usr/lib/libc.so.6
#4  0x00007fbe739fc97c in _int_free () at /usr/lib/libc.so.6
#5  0x00007fbe5a12ceba in  () at /usr/lib/libnvidia-fatbinaryloader.so.415.25
#6  0x00007fbe50815e24 in ac_elf_read (elf_data=<optimized out>, elf_size=<optimized out>, binary=binary@entry=0x7fbe20000be0) at ../mesa/src/amd/common/ac_binary.c:180
#7  0x00007fbe5081e559 in ac_compile_module_to_binary(ac_compiler_passes*, LLVMModuleRef, ac_shader_binary*) (p=p@entry=0x7fbe3c1b1990, module=module@entry=0x7fbe20005f40, binary=binary@entry=0x7fbe20000be0) at /usr/include/llvm/ADT/StringRef.h:138
#8  0x00007fbe507e2170 in si_llvm_compile (M=M@entry=0x7fbe20005f40, binary=binary@entry=0x7fbe20000be0, compiler=compiler@entry=0x7fbe3c0ca988, debug=debug@entry=0x7fbe3c673c70, less_optimized=less_optimized@entry=false) at ../mesa/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:103
#9  0x00007fbe507d7b09 in si_compile_llvm (sscreen=sscreen@entry=0x7fbe3c0ca1b0, binary=binary@entry=0x7fbe20000be0, conf=conf@entry=0x7fbe20000c30, compiler=compiler@entry=0x7fbe3c0ca988, mod=0x7fbe20005f40, debug=debug@entry=0x7fbe3c673c70, processor=1, name=0x7fbe50e59ef0 "Pixel Shader", less_optimized=false) at ../mesa/src/gallium/drivers/radeonsi/si_shader.c:5554
#10 0x00007fbe507d936a in si_compile_tgsi_shader (sscreen=sscreen@entry=0x7fbe3c0ca1b0, compiler=compiler@entry=0x7fbe3c0ca988, shader=shader@entry=0x7fbe20000b20, debug=debug@entry=0x7fbe3c673c70) at ../mesa/src/gallium/drivers/radeonsi/si_shader.c:6689
#11 0x00007fbe5079bb76 in si_init_shader_selector_async (job=0x7fbe3c673c50, thread_index=<optimized out>) at ../mesa/src/gallium/drivers/radeonsi/si_state_shaders.c:2083
#12 0x00007fbe50caf66c in util_queue_thread_func (input=input@entry=0x7fbe3c0c77b0) at ../mesa/src/util/u_queue.c:286
#13 0x00007fbe50caf2f8 in impl_thrd_routine (p=<optimized out>) at ../mesa/src/../include/c11/threads_posix.h:87
#14 0x00007fbe784bca9d in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007fbe73a75b23 in clone () at /usr/lib/libc.so.6

One of the things I found did work was adding --vo=x11 or xv, but mpv advises against it. Another solution was to completely remove anything relating to nvidia and rebuild a few big packages, but because I don't know how to automatically patch PKGBUILDs, I don't want to have to manually change everything every time I update.

I don't have any idea how graphic drivers work, so I don't know how to continue debugging this issue. Any help would be greatly appreciated. I am also new to this forum, so sorry if I messed up any of the guidelines.

Offline

Board footer

Powered by FluxBB