https://bugs.kde.org/show_bug.cgi?id=360552

            Bug ID: 360552
           Summary: krita3-prealpha3-de0d43d-x86_64.appimage will not
                    start because of DRI3 XCB library dependency
           Product: krita
           Version: 3.0 Alpha
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: ack0...@gmail.com

System Details:
Fedora 23, Linux version 4.4.5-300.fc23.x86_64, running amdgpu on Tonga
hardware (Full FOSS stack), COPR repository griever/mesa-git for MESA built
from GIT master and running in DRI3 mode by configuration

When running the appimage, or when appimage mounted and krita called with
LD_LIBRARY_PATH pointing to its library:
./krita3-prealpha3-de0d43d-x86_64.appimage: symbol lookup error:
/lib64/libxcb-dri3.so.0: undefined symbol: xcb_send_fd

There do not appear to be any DRI3 libraries included in the appimage, only
DRI2 libraries, so I'm assuming the distro this was made with was running DRI2
(still the default for most distros) and doesn't have the DRI3 XCB installed,
and that when the DRI3 library is called instead, that call is deprecated and
not there, or has been left out of the Fedora build.

Suggest enabling DRI3 on a system running what you build on and checking to see
if it also breaks.  If it does not, suggest add /usr/lib64/libxcb-dri3.so.0
from that into your appimage so that it will override potentially broken ones
on other systems.


Reproducible: Always

Steps to Reproduce:
1. Run DRI3 on system
2. Attempt to run krita appimage

Actual Results:  
Program fails to start

Expected Results:  
Startup program without the xcb error

System Details:
Fedora 23, Linux version 4.4.5-300.fc23.x86_64, running amdgpu kernel and XOrg
on Tonga hardware (Full FOSS stack), COPR repository griever/mesa-git for MESA
built from GIT master and running in DRI3 mode by configuration

libxcb-1.11.1-1.fc23.x86_64 - 
rpm -ql libxcb-1.11.1-1.fc23.x86_64
/usr/lib64/libxcb-composite.so.0
/usr/lib64/libxcb-composite.so.0.0.0
/usr/lib64/libxcb-damage.so.0
/usr/lib64/libxcb-damage.so.0.0.0
/usr/lib64/libxcb-dpms.so.0
/usr/lib64/libxcb-dpms.so.0.0.0
/usr/lib64/libxcb-dri2.so.0
/usr/lib64/libxcb-dri2.so.0.0.0
/usr/lib64/libxcb-dri3.so.0
/usr/lib64/libxcb-dri3.so.0.0.0
/usr/lib64/libxcb-glx.so.0
/usr/lib64/libxcb-glx.so.0.0.0
/usr/lib64/libxcb-present.so.0
/usr/lib64/libxcb-present.so.0.0.0
/usr/lib64/libxcb-randr.so.0
/usr/lib64/libxcb-randr.so.0.1.0
/usr/lib64/libxcb-record.so.0
/usr/lib64/libxcb-record.so.0.0.0
/usr/lib64/libxcb-render.so.0
/usr/lib64/libxcb-render.so.0.0.0
/usr/lib64/libxcb-res.so.0
/usr/lib64/libxcb-res.so.0.0.0
/usr/lib64/libxcb-screensaver.so.0
/usr/lib64/libxcb-screensaver.so.0.0.0
/usr/lib64/libxcb-shape.so.0
/usr/lib64/libxcb-shape.so.0.0.0
/usr/lib64/libxcb-shm.so.0
/usr/lib64/libxcb-shm.so.0.0.0
/usr/lib64/libxcb-sync.so.1
/usr/lib64/libxcb-sync.so.1.0.0
/usr/lib64/libxcb-xevie.so.0
/usr/lib64/libxcb-xevie.so.0.0.0
/usr/lib64/libxcb-xf86dri.so.0
/usr/lib64/libxcb-xf86dri.so.0.0.0
/usr/lib64/libxcb-xfixes.so.0
/usr/lib64/libxcb-xfixes.so.0.0.0
/usr/lib64/libxcb-xinerama.so.0
/usr/lib64/libxcb-xinerama.so.0.0.0
/usr/lib64/libxcb-xinput.so.0
/usr/lib64/libxcb-xinput.so.0.1.0
/usr/lib64/libxcb-xkb.so.1
/usr/lib64/libxcb-xkb.so.1.0.0
/usr/lib64/libxcb-xselinux.so.0
/usr/lib64/libxcb-xselinux.so.0.0.0
/usr/lib64/libxcb-xtest.so.0
/usr/lib64/libxcb-xtest.so.0.0.0
/usr/lib64/libxcb-xv.so.0
/usr/lib64/libxcb-xv.so.0.0.0
/usr/lib64/libxcb-xvmc.so.0
/usr/lib64/libxcb-xvmc.so.0.0.0
/usr/lib64/libxcb.so.1
/usr/lib64/libxcb.so.1.1.0

readelf -s /usr/lib64/libxcb-dri3.so.0.0.0

Symbol table '.dynsym' contains 37 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000000cb0     0 SECTION LOCAL  DEFAULT    9 
     2: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND
_ITM_deregisterTMCloneTab
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
__stack_chk_fail@GLIBC_2.4 (2)
     4: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND xcb_send_fd
     5: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     6: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND xcb_send_request
     7: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND xcb_wait_for_reply
     8: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND xcb_get_reply_fds
     9: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
    10: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND
_ITM_registerTMCloneTable
    11: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND
__cxa_finalize@GLIBC_2.2.5 (3)
    12: 00000000000011c0   104 FUNC    GLOBAL DEFAULT   11
xcb_dri3_buffer_from_pixm
    13: 00000000000014d0     5 FUNC    GLOBAL DEFAULT   11
xcb_dri3_fd_from_fence_re
    14: 0000000000000fb0   108 FUNC    GLOBAL DEFAULT   11
xcb_dri3_open_unchecked
    15: 00000000000014f4     0 FUNC    GLOBAL DEFAULT   12 _fini
    16: 0000000000202000    16 OBJECT  GLOBAL DEFAULT   22 xcb_dri3_id
    17: 0000000000000cb0     0 FUNC    GLOBAL DEFAULT    9 _init
    18: 0000000000202010     0 NOTYPE  GLOBAL DEFAULT   23 __bss_start
    19: 0000000000001360   137 FUNC    GLOBAL DEFAULT   11
xcb_dri3_fence_from_fd
    20: 0000000000202018     0 NOTYPE  GLOBAL DEFAULT   23 _end
    21: 00000000000014e0    19 FUNC    GLOBAL DEFAULT   11
xcb_dri3_fd_from_fence_re
    22: 00000000000012b0    19 FUNC    GLOBAL DEFAULT   11
xcb_dri3_buffer_from_pixm
    23: 0000000000001110   175 FUNC    GLOBAL DEFAULT   11
xcb_dri3_pixmap_from_buff
    24: 00000000000013f0   108 FUNC    GLOBAL DEFAULT   11
xcb_dri3_fd_from_fence
    25: 00000000000012a0     5 FUNC    GLOBAL DEFAULT   11
xcb_dri3_buffer_from_pixm
    26: 0000000000000ec0   105 FUNC    GLOBAL DEFAULT   11
xcb_dri3_query_version_un
    27: 0000000000202010     0 NOTYPE  GLOBAL DEFAULT   22 _edata
    28: 0000000000000f40   108 FUNC    GLOBAL DEFAULT   11 xcb_dri3_open
    29: 0000000000001460   108 FUNC    GLOBAL DEFAULT   11
xcb_dri3_fd_from_fence_un
    30: 0000000000000e50   108 FUNC    GLOBAL DEFAULT   11
xcb_dri3_query_version
    31: 0000000000001230   104 FUNC    GLOBAL DEFAULT   11
xcb_dri3_buffer_from_pixm
    32: 0000000000001050   178 FUNC    GLOBAL DEFAULT   11
xcb_dri3_pixmap_from_buff
    33: 00000000000012d0   140 FUNC    GLOBAL DEFAULT   11
xcb_dri3_fence_from_fd_ch
    34: 0000000000000f30     5 FUNC    GLOBAL DEFAULT   11
xcb_dri3_query_version_re
    35: 0000000000001030    19 FUNC    GLOBAL DEFAULT   11
xcb_dri3_open_reply_fds
    36: 0000000000001020     5 FUNC    GLOBAL DEFAULT   11 xcb_dri3_open_reply

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to