StyleFlow icon indicating copy to clipboard operation
StyleFlow copied to clipboard

When run with Docker, all I get is a black window with no user interface.

Open jojkaart opened this issue 3 years ago • 4 comments

Here's a the log from an attempt to run the StyleFlow in docker with docker-compose. see ticket #28 for more background of how I got this far. Any ideas what I could try to get this working? My GPU is GeForce GTX 1650 with 4GB of RAM. Does this maybe need a beefier GPU?

I've included the console log from running the software for a few minutes below.

joel@suina:~/Source/StyleFlow$ docker-compose up
Attaching to styleflow_interface_1
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms" ...
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "eglfs"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QEglFSIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("eglfs")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "linuxfb"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QLinuxFbIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("linuxfb")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqminimal.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqminimal.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "minimal"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QMinimalIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("minimal")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "minimalegl"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QMinimalEglIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("minimalegl")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "offscreen"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QOffscreenIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("offscreen")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqvnc.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqvnc.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "vnc"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QVncIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("vnc")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "wayland-egl"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWaylandEglPlatformIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("wayland-egl")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "wayland"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWaylandIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("wayland")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "wayland-xcomposite-egl"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("wayland-xcomposite-egl")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "wayland-xcomposite-glx"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("wayland-xcomposite-glx")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "webgl"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWebGLIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("webgl")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqxcb.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqxcb.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "xcb"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QXcbIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("xcb")
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqxcb.so"
interface_1  | loaded library "Xcursor"
interface_1  | QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platformthemes" ...
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platformthemes/libqgtk3.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platformthemes/libqgtk3.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "gtk3"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QGtk3ThemePlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("gtk3")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platformthemes/libqxdgdesktopportal.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "xdgdesktopportal",
interface_1  |             "flatpak",
interface_1  |             "snap"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QXdgDesktopPortalThemePlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platformthemes" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts" ...
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "compose",
interface_1  |             "xim"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QComposePlatformInputContextPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("compose", "xim")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "ibus"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QIbusPlatformInputContextPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("ibus")
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforminputcontexts" ...
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/styles" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/styles" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/iconengines" ...
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/iconengines/libqsvgicon.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/iconengines/libqsvgicon.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "svg",
interface_1  |             "svgz",
interface_1  |             "svg.gz"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QSvgIconPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("svg", "svgz", "svg.gz")
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/iconengines" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats" ...
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqgif.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqgif.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "gif"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/gif"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QGifPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("gif")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqicns.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqicns.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "icns"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/x-icns"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QICNSPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("icns")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqico.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqico.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "ico",
interface_1  |             "cur"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/vnd.microsoft.icon",
interface_1  |             "image/vnd.microsoft.icon"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QICOPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("ico", "cur")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqjpeg.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqjpeg.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "jpg",
interface_1  |             "jpeg"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/jpeg",
interface_1  |             "image/jpeg"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QJpegPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("jpg", "jpeg")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqsvg.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqsvg.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "svg",
interface_1  |             "svgz"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/svg+xml",
interface_1  |             "image/svg+xml-compressed"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QSvgPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("svg", "svgz")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtga.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtga.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "tga"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/x-tga"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QTgaPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("tga")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtiff.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtiff.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "tiff",
interface_1  |             "tif"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/tiff",
interface_1  |             "image/tiff"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QTiffPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("tiff", "tif")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwbmp.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwbmp.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "wbmp"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/vnd.wap.wbmp"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWbmpPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("wbmp")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwebp.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwebp.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "webp"
interface_1  |         ],
interface_1  |         "MimeTypes": [
interface_1  |             "image/webp"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QWebpPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("webp")
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/imageformats" ...
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqgif.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqicns.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqico.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqjpeg.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqsvg.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtga.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtiff.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwbmp.so"
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwebp.so"
interface_1  | ----------------- Options ---------------
interface_1  |                 batchSize: 1                             
interface_1  |           checkpoints_dir: ./checkpoints                 
interface_1  |                  dataroot: ./data/datasetX               
interface_1  |                   gpu_ids: 0                             
interface_1  |      max_result_snapshots: 30                            
interface_1  |                     model: xxxx                          
interface_1  |                      name: XXXX                          
interface_1  |               network_pkl: gdrive:networks/stylegan2-ffhq-config-f.pkl
interface_1  |             only_for_test: ...                           
interface_1  |                     phase: test                          
interface_1  | ----------------- End -------------------
interface_1  | Found local StyleGan2 !
interface_1  | Loading networks from "/usr/app/stylegan/stylegan2-ffhq-config-f.pkl"...
interface_1  | Setting up TensorFlow plugin "fused_bias_act.cu": Preprocessing... Loading... Done.
interface_1  | Setting up TensorFlow plugin "upfirdn_2d.cu": Preprocessing... Loading... Done.
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations" ...
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations/libqxcb-egl-integration.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "xcb_egl"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QXcbEglIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("xcb_egl")
interface_1  | QFactoryLoader::QFactoryLoader() looking at "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so"
interface_1  | Found metadata in lib /usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
interface_1  | {
interface_1  |     "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
interface_1  |     "MetaData": {
interface_1  |         "Keys": [
interface_1  |             "xcb_glx"
interface_1  |         ]
interface_1  |     },
interface_1  |     "archreq": 0,
interface_1  |     "className": "QXcbGlxIntegrationPlugin",
interface_1  |     "debug": false,
interface_1  |     "version": 331008
interface_1  | }
interface_1  | 
interface_1  | 
interface_1  | Got keys from plugin meta data ("xcb_glx")
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/xcbglintegrations" ...
interface_1  | loaded library "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so"
interface_1  | libGL error: No matching fbConfigs or visuals found
interface_1  | libGL error: failed to load driver: swrast
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/accessible" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/accessible" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/accessiblebridge" ...
interface_1  | QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/accessiblebridge" ...
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 503, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 506, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 510, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 517, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 521, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 529, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 533, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 538, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 541, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 546, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 549, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 554, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 557, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 562, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 565, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 570, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 574, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 579, resource id: 1848, major code: 130 (Unknown), minor code: 3
interface_1  | Training T : 1.0
interface_1  | Number of trainable parameters of Point CNF: 1691649
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/xcbglintegrations/libqxcb-glx-integration.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqgif.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqicns.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqico.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqjpeg.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqsvg.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtga.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqtiff.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwbmp.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/imageformats/libqwebp.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" 
interface_1  | QLibraryPrivate::unload succeeded on "/usr/local/lib/python3.7/dist-packages/PyQt5/Qt/plugins/platforms/libqxcb.so" 
interface_1  | QLibraryPrivate::unload succeeded on "Xcursor" (faked)
styleflow_interface_1 exited with code 0

jojkaart avatar Jan 10 '21 11:01 jojkaart

Hi,

Try :

sudo apt-get install -y mesa-utils libgl1-mesa-glx

From : https://github.com/openai/gym/issues/509

flavienbwk avatar Jan 11 '21 20:01 flavienbwk

libgl1-mesa-glx was already installed by the DockerFile, so I added RUN apt-get install -y mesa-utils to the end. Unfortunately, it seems to make no difference. Although, it did give me glxgears, so I tried adding LIBGL_DEBUG=verbose to the docker-compose.yml file and then running the following:

joel@suina:~/Source/StyleFlow$ docker-compose run interface glxgears
Creating styleflow_interface_run ... done
libGL: screen 0 does not appear to be DRI2 capable
libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  43
  Current serial number in output stream:  42

The added output to running main.py is similar, but doesn't have the X Error and a black window appears. glxgears doesn't even create a window.

jojkaart avatar Jan 12 '21 18:01 jojkaart

A small update. the black window problem with StyleFlow persists, but I found that I can make glxgears work by installing package libnvidia-gl-450 into the container. It did get rid of the swrast error with StyleFlow too. So I guess that wasn't related with the black window problem.

jojkaart avatar Jan 12 '21 19:01 jojkaart

refer to https://github.com/RameenAbdal/StyleFlow/issues/28 make sure DISPLAY and --gpus all is right

tianyilt avatar Jun 23 '21 13:06 tianyilt