XCB / DRI3 problem with FreeCAD

Asked by treu

Hello,
the program does not even start due to a problem linked to xcb library and DRI3 (libgl1-mesa-dri?).
In order to make it start I had to create an alias (env LIBGL_DRI3_DISABLE=true freecad) but I'm worried this could not be possible in future (heard that Wayland only use DRI3).
I gathered the infos that may be useful to patch that.
There is also a clue that the problem arises only with gnome, since it's been reported in FC forum that with KDE Plasma things work..

Thanks

######## output of application that fails ###################

$ freecad
FreeCAD 0.17, Libs: 0.17R13541 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

failed to create drawable
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
freecad: ../../src/xcb_io.c:259: poll_for_event: asserzione "!xcb_xlib_threads_sequence_lost" non riuscita.
Annullato (core dump creato)

############### system specification ###########

System: Host: ###### Kernel: 4.15.0-38-generic x86_64 bits: 64 Desktop: MATE 1.20.1
           Distro: Linux Mint 19 Tara
Machine: Device: laptop System: LENOVO product: 80ST v: Lenovo ideapad 310-15ABR serial: N/A
           Mobo: LENOVO model: Toronto 5B1 v: SDK0J40709WIN serial: N/A UEFI: LENOVO v: 1LCN32WW date: 09/05/2016
Battery BAT0: charge: 25.5 Wh 94.8% condition: 26.9/30.5 Wh (88%)
CPU: Quad core AMD A12-9700P RADEON R7 10 COMPUTE CORES 4C+6G (-MCP-) speed/max: 1294/2500 MHz
Graphics: Card-1: Advanced Micro Devices [AMD/ATI] Carrizo
           Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430]
           Display Server: x11 (X.Org 1.19.6 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa,amdgpu)
           Resolution: 1920x1080@60.01hz
           OpenGL: renderer: AMD CARRIZO (DRM 3.23.0 / 4.15.0-38-generic, LLVM 6.0.0) version: 4.5 Mesa 18.0.5
Network: Card-1: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ae
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives: HDD Total Size: 1000.2GB (2.8% used)
Info: Processes: 182 Uptime: 26 min Memory: 531.7/11392.5MB Client: Shell (bash) inxi: 2.3.56

################## application release data #################

OS: Linux Mint 19 Tara
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

This is support for Ubuntu only, and not for operating systems that are "based on Ubuntu" like Linux Mint.

Support for Linux Mint can be found at https://www.linuxmint.com/contactus.php and https://forums.linuxmint.com/

Can you help with this problem?

Provide an answer of your own, or ask treu for more information if necessary.

To post a message you must log in.