Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: "Unable to load libGLX_nvidia.so.0 " #2690

Closed
Kyr4l opened this issue Feb 18, 2023 · 4 comments
Closed

[Bug]: "Unable to load libGLX_nvidia.so.0 " #2690

Kyr4l opened this issue Feb 18, 2023 · 4 comments

Comments

@Kyr4l
Copy link

Kyr4l commented Feb 18, 2023

Describe the bug

when running bottles from the terminal, the following message appears immediately, it also often comes back, making the terminal filled with errors :
"(ERROR) Unable to load libGLX_nvidia.so.0"
the thing is that i have an AMD GPU, and of course no nvidia libraries installed as a result

To Reproduce

flatpak run com.usebottles.bottles
the error appears immediately

Package

Flatpak from Flathub

Distribution

Kubuntu 22.10

Debugging Information

Official Package: true
Version: '50.2'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: ''
            nvngx_path: null
        amd: &id001
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 5.19.0-31-generic
Disk:
    Total: 16795803648
    Free: 16795656192
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 19.8GiB
Bottles_envs: null

Troubleshooting Logs

kyral@kdes:~$ flatpak run com.usebottles.bottles 
15:26:57 (ERROR) Unable to load libGLX_nvidia.so.0 
15:26:57 (WARNING) Unable to locate libGLX_nvidia 
15:26:58 (INFO) Bottles Started! 
15:26:58 (INFO) Performing Bottles checks… 
15:26:58 (INFO) Dxvks found:
         - dxvk-2.1
 
15:26:58 (INFO) Vkd3ds found:
         - vkd3d-proton-2.8-1-08909d9
 
15:26:58 (INFO) Nvapis found:
         - dxvk-nvapi-v0.6.1
 
15:26:58 (INFO) Latencyflexs found:
         - latencyflex-v0.1.1
 
15:26:58 (INFO) Runners found:
         - sys-wine-7.0.1
         - soda-7.0-9
 
15:26:58 (INFO) Bottles found:
         - Fusion360
 

(bottles:2): Gtk-CRITICAL **: 15:26:58.963: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed
15:26:58 (INFO) Library saved 
15:26:59 (INFO) Catalog installers loaded 
15:26:59 (INFO) Catalog dependencies loaded 
15:26:59 (INFO) Catalog components loaded

Additional context

No response

@Kinsteen
Copy link
Contributor

Hello, it seems like bottles is detecting a Nvidia GPU for some reason. Can you run a lspci and send the output here please?

@Kyr4l
Copy link
Author

Kyr4l commented Feb 18, 2023

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:03.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 Non-Volatile memory controller: Micron/Crucial Technology Device 5407
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
03:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
04:00.0 USB controller: ASMedia Technology Inc. Device 3241
05:00.0 Network controller: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz
06:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 01)
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
0a:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c5)
0b:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M] (rev c5)
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
0d:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)
0d:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
0d:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
0d:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
0f:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
0f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
0f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller

i do have an nVIDIA GPU but there's a vfio driver loaded for it cause i use it only for virtualization, so the system doesn't use it as a result, including every other program i run on my machine

@Kinsteen
Copy link
Contributor

Ah yes I see then. It's not a blocking error, but we should improve graphics card detection. I'm closing this as it isn't really a bug in this case

@Jpnyman
Copy link

Jpnyman commented Oct 22, 2023

Sorry for bumping this old report.

On a relatively fresh install of Ubuntu 22.04 with bottles installed from flatpak am running into the same error:

:     __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS
F:     /etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
F: Running 'bwrap --args 44 bottles'
18:40:47 (ERROR) Unable to load libGLX_nvidia.so.0 
18:40:47 (WARNING) Unable to locate libGLX_nvidia 
18:40:47 (INFO) Bottles Started! 
18:40:48 (INFO) Performing Bottles checks…

I have an unused Nvidia GPU which is bound to vfio and not used by anything except a virtual machine with my AMD GPU being used for everything Linux.

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] [10de:1b06] (rev a1)
	Subsystem: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] [10de:1b06]
	Kernel driver in use: vfio-pci
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev e7)
	Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590 [1da2:e366]
	Kernel driver in use: amdgpu

I am unable to use any rendering except for wine3d, with them all erroring out saying I do not have a vulkan capable GPU. For more context see my forum post and follow up. Additionally this error gets thrown not only during startup but also seemingly randomly while navigating through the menus of bottles.

18:49:35 (WARNING) Unable to locate libGLX_nvidia 
18:50:31 (INFO) Wine Bridge is available. 
18:50:31 (INFO) Using Wine Bridge -- get_procs 
18:50:31 (ERROR) Unable to load libGLX_nvidia.so.0 
18:50:31 (WARNING) Unable to locate libGLX_nvidia

Debugging information

Official Package: true
Version: '51.9'
DE/WM: ubuntu
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: true
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: ''
            nvngx_path: null
        amd: &id001
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.5.7-zen+
Disk:
    Total: 8356495360
    Free: 8356339712
RAM:
    MemTotal: 15.6GiB
    MemAvailable: 12.0GiB
Bottles_envs: null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants