Forum

Author Topic: Black window on linux  (Read 690 times)

harp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Black window on linux
« on: January 20, 2022, 01:08:26 AM »
Ever since update 1.8, I can't use Metashape on Linux because I only see a black window whenever I open it. I can still access the preferences by pressing ALT + T or hovering my cursor over where they should be.

When run it through the terminal I get the follow output:
Code: [Select]
libGL error: MESA-LOADER: failed to open radeonsi: /opt/agisoft/metashape-pro/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /opt/agisoft/metashape-pro/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /opt/agisoft/metashape-pro/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast

I enabled writing to a log files and this is what I get (truncated to meet the word limit):
Code: [Select]
2022-01-19 14:03:31 Failed to import qtconsole.inprocess: libffi.so.6: cannot open shared object file: No such file or directory
2022-01-19 14:03:31 Construction of rich console failed - using simple console
2022-01-19 14:03:31 Agisoft Metashape Professional Version: 1.8.0 build 13794 (64 bit)
2022-01-19 14:03:31 Platform: Linux
2022-01-19 14:03:31 CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz (desktop)
2022-01-19 14:03:31 CPU family: 6 model: 60 signature: 306C3h
2022-01-19 14:03:31 RAM: 15.6 GB
2022-01-19 14:03:31 QOpenGLWidget: Failed to create context
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 393, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 403, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: QOpenGLContext creation failed
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 455, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 465, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 480, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 492, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 502, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 512, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 522, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 532, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 542, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 552, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 562, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 572, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 582, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 592, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 602, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 612, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 622, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 632, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 642, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 652, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 662, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 672, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 682, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 692, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 702, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 712, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 722, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 732, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 742, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 752, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 762, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 772, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 782, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 792, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 802, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 812, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 822, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 832, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 842, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 852, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 862, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 872, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 882, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed
2022-01-19 14:03:31 QXcbConnection: XCB error: 2 (BadValue), sequence: 892, resource id: 0, major code: 152 (Unknown), minor code: 24
2022-01-19 14:03:31 composeAndFlush: makeCurrent() failed

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14014
    • View Profile
Re: Black window on linux
« Reply #1 on: January 20, 2022, 01:26:04 PM »
Hello harp,

Does it help, if you delete lib/libstdc++.so.6 and try to re-start Metashape?
Best regards,
Alexey Pasumansky,
Agisoft LLC

harp

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Black window on linux
« Reply #2 on: January 21, 2022, 09:42:36 AM »
That worked. Thank you!