GNU gdb (GDB) 10.1
Copyright (C) 2020 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-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://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 /nix/store/ri7bf0wa3zbknpaza68843bqzxlbkgl6-sway-unwrapped-1.6/bin/sway...
(No debugging symbols found in /nix/store/ri7bf0wa3zbknpaza68843bqzxlbkgl6-sway-unwrapped-1.6/bin/sway)
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file /run/nscd/dbV2C5Fe (deleted) during file-backed mapping note processing
0 0x00007fa1fcf73232 in util_fill_rect () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
[Current thread is 1 (Thread 0x7fa1897fa640 (LWP 1630))]
(gdb) bt full
0 0x00007fa1fcf73232 in util_fill_rect () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
1 0x00007fa1fcf73544 in util_fill_box () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
2 0x00007fa1fd00c30c in lp_rast_clear_color () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
3 0x00007fa1fd00c626 in rasterize_scene () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
4 0x00007fa1fd00cac3 in thread_function () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
5 0x00007fa1fd00c357 in impl_thrd_routine () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
6 0x00007fa228a36e9e in start_thread () from /nix/store/v8q6nxyppy1myi3rxni2080bv8s9jxiy-glibc-2.32-40/lib/libpthread.so.0
No symbol table info available.
7 0x00007fa228b4c49f in clone () from /nix/store/v8q6nxyppy1myi3rxni2080bv8s9jxiy-glibc-2.32-40/lib/libc.so.6
No symbol table info available.
(gdb) q```
Description:
Install displaylink driver version 5.4.0-55.153
Install evdi kernel module version unstable-20210401
Install mesa version 21.0.1
Plug in displaylink usb3 device
Launch sway as an unprevileged user
Sway fails to launch as long as a displaylink device is connected and crashes as soon as it is connected, unless the driver is not installed.
I have read of others who apparently use displaylink devices and sway together successfully. My setup works for xorg and wayland-gnome.
The relevant part of the logs seems to be following line: MESA-LOADER: failed to open evdi: /run/opengl-driver/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri)
People on IRC have suggested that I should "fix my mesa setup", but I am not certain what that means. I am new to this and it feels like I am using lots of technologies at once that I only have a limited understanding of.
I am not certain how much of the displaylink stuff is proprietary. They seem to make an effort to open source some of it.
Unfortunately their devices are the only ones on the market which provide extra display output capabilities via USB. If it weren't for that I would just buy from another company. Right now it means that I can only use a single external display while the other two I have are left black.
I would like to use sway over anything x11 based due to its excellent scaling capabilities and since using wayland fixes any tearing issues I have on X.
Since I have a displaylink device, if there is anything I can do to contribute to the project I'd be happy to do so.
Please fill out the following:
sway version 1.6
Debug Log:
Configuration File:
Stack Trace:
GNU gdb (GDB) 10.1 Copyright (C) 2020 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-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://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 /nix/store/ri7bf0wa3zbknpaza68843bqzxlbkgl6-sway-unwrapped-1.6/bin/sway... (No debugging symbols found in /nix/store/ri7bf0wa3zbknpaza68843bqzxlbkgl6-sway-unwrapped-1.6/bin/sway)
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file /run/nscd/dbV2C5Fe (deleted) during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing [New LWP 1630] [New LWP 1626] [New LWP 1625] [New LWP 1641] [New LWP 1624] [New LWP 1629] [New LWP 1592] [New LWP 1627] [New LWP 1628] [New LWP 1593] [New LWP 1608] [New LWP 1612] [New LWP 1611] [New LWP 1618] [New LWP 1594] [New LWP 1644] [New LWP 1694] [New LWP 1634] [New LWP 1616] [New LWP 1691] [New LWP 1636] [New LWP 1649] [New LWP 1607] [New LWP 1647] [New LWP 1656] [New LWP 1698] [New LWP 1665] [New LWP 1685] [New LWP 1687] [New LWP 1690] [New LWP 1643] [New LWP 1717] [New LWP 1623] [New LWP 1677] [New LWP 1650] [New LWP 1724] [New LWP 1671] [New LWP 1595] [New LWP 1646] [New LWP 1589] [New LWP 1654] [New LWP 1645] [New LWP 1642] [New LWP 1640] [New LWP 1638] [New LWP 1637] [New LWP 1635] [New LWP 1632] [New LWP 1631] [New LWP 1622] [New LWP 1620] [New LWP 1619] [New LWP 1617] [New LWP 1614] [New LWP 1688] [New LWP 1613] [New LWP 1610] [New LWP 1686] [New LWP 1609] [New LWP 1684] [New LWP 1606] [New LWP 1601] [New LWP 1598] [New LWP 1602] [New LWP 1725] [New LWP 1597] [New LWP 1604] [New LWP 1721] [New LWP 1596] [New LWP 1605] [New LWP 1720] [New LWP 1599] [New LWP 1615] [New LWP 1719] [New LWP 1591] [New LWP 1603] [New LWP 1718] [New LWP 1666] [New LWP 1633] [New LWP 1600] [New LWP 1667] [New LWP 1639] [New LWP 1668] [New LWP 1621] [New LWP 1648] [New LWP 1669] [New LWP 1670] [New LWP 1707] [New LWP 1708] [New LWP 1664] [New LWP 1689] [New LWP 1683] [New LWP 1663] [New LWP 1692] [New LWP 1682] [New LWP 1714] [New LWP 1661] [New LWP 1693] [New LWP 1680] [New LWP 1713] [New LWP 1660] [New LWP 1716] [New LWP 1712] [New LWP 1659] [New LWP 1715] [New LWP 1701] [New LWP 1658] [New LWP 1711] [New LWP 1700] [New LWP 1722] [New LWP 1703] [New LWP 1655] [New LWP 1674] [New LWP 1710] [New LWP 1697] [New LWP 1672] [New LWP 1726] [New LWP 1704] [New LWP 1652] [New LWP 1653] [New LWP 1675] [New LWP 1709] [New LWP 1696] [New LWP 1705] [New LWP 1723] [New LWP 1673] [New LWP 1651] [New LWP 1657] [New LWP 1678] [New LWP 1706] [New LWP 1695] [New LWP 1702] [New LWP 1662] [New LWP 1679] [New LWP 1699] [New LWP 1676] [New LWP 1681] [Thread debugging using libthread_db enabled] Using host libthread_db library "/nix/store/v8q6nxyppy1myi3rxni2080bv8s9jxiy-glibc-2.32-40/lib/libthread_db.so.1". --Type for more, q to quit, c to continue without paging--c
Core was generated by `/nix/store/ri7bf0wa3zbknpaza68843bqzxlbkgl6-sway-unwrapped-1.6/bin/sway -d'.
Program terminated with signal SIGBUS, Bus error.
0 0x00007fa1fcf73232 in util_fill_rect () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
[Current thread is 1 (Thread 0x7fa1897fa640 (LWP 1630))] (gdb) bt full
0 0x00007fa1fcf73232 in util_fill_rect () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
1 0x00007fa1fcf73544 in util_fill_box () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
2 0x00007fa1fd00c30c in lp_rast_clear_color () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
3 0x00007fa1fd00c626 in rasterize_scene () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
4 0x00007fa1fd00cac3 in thread_function () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
5 0x00007fa1fd00c357 in impl_thrd_routine () from /run/opengl-driver/lib/dri/kms_swrast_dri.so
No symbol table info available.
6 0x00007fa228a36e9e in start_thread () from /nix/store/v8q6nxyppy1myi3rxni2080bv8s9jxiy-glibc-2.32-40/lib/libpthread.so.0
No symbol table info available.
7 0x00007fa228b4c49f in clone () from /nix/store/v8q6nxyppy1myi3rxni2080bv8s9jxiy-glibc-2.32-40/lib/libc.so.6
No symbol table info available. (gdb) q```
Description:
5.4.0-55.153
unstable-20210401
21.0.1
The relevant part of the logs seems to be following line:
MESA-LOADER: failed to open evdi: /run/opengl-driver/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri)
People on IRC have suggested that I should "fix my mesa setup", but I am not certain what that means. I am new to this and it feels like I am using lots of technologies at once that I only have a limited understanding of.
I am not certain how much of the displaylink stuff is proprietary. They seem to make an effort to open source some of it.
Unfortunately their devices are the only ones on the market which provide extra display output capabilities via USB. If it weren't for that I would just buy from another company. Right now it means that I can only use a single external display while the other two I have are left black.
I would like to use sway over anything x11 based due to its excellent scaling capabilities and since using wayland fixes any tearing issues I have on X.
Since I have a displaylink device, if there is anything I can do to contribute to the project I'd be happy to do so.