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

Godot 4.1.1 unable to launch - Vulkan issue #80906

Closed
mbnoimi opened this issue Aug 22, 2023 · 2 comments
Closed

Godot 4.1.1 unable to launch - Vulkan issue #80906

mbnoimi opened this issue Aug 22, 2023 · 2 comments

Comments

@mbnoimi
Copy link

mbnoimi commented Aug 22, 2023

Godot version

4.1.1

System information

Linux Mint 21.2 Xfce

Issue description

After switching from Intel graphic card to Nvidia. Godot unable to launch at all. I always get this error message:

$ ~/.godot/Godot 
Godot Engine v4.1.1.stable.official.bd6af8e0e - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 390.157 - Compatibility - Using Device: NVIDIA - GeForce GT 650M
 
WARNING: Detected another project.godot at /home/admino/Downloads/testo. The folder will be ignored.
     at: _should_skip_directory (editor/editor_file_system.cpp:2366)
Editing project: /home/admino/Downloads/TestGodot
Godot Engine v4.1.1.stable.official.bd6af8e0e - https://godotengine.org
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
Vulkan API 1.0.65 - Forward+ - Using Vulkan Device #2: NVIDIA - GeForce GT 650M

My laptop works fine with Nvidia as shown below:

  • $ dpkg -l | grep -i nvidia
ii  libnvidia-cfg1-390:amd64                      390.157-0ubuntu0.22.04.2                     amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-390                          390.157-0ubuntu0.22.04.2                     all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-390:amd64                   390.157-0ubuntu0.22.04.2                     amd64        NVIDIA libcompute package
ii  libnvidia-compute-390:i386                    390.157-0ubuntu0.22.04.2                     i386         NVIDIA libcompute package
ii  libnvidia-decode-390:amd64                    390.157-0ubuntu0.22.04.2                     amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-390:i386                     390.157-0ubuntu0.22.04.2                     i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-390:amd64                    390.157-0ubuntu0.22.04.2                     amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-390:i386                     390.157-0ubuntu0.22.04.2                     i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-390:amd64                      390.157-0ubuntu0.22.04.2                     amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-390:i386                       390.157-0ubuntu0.22.04.2                     i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-390:amd64                        390.157-0ubuntu0.22.04.2                     amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-390:i386                         390.157-0ubuntu0.22.04.2                     i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-390:amd64                      390.157-0ubuntu0.22.04.2                     amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-390:i386                       390.157-0ubuntu0.22.04.2                     i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-390                      390.157-0ubuntu0.22.04.2                     amd64        NVIDIA compute utilities
ii  nvidia-dkms-390                               390.157-0ubuntu0.22.04.2                     amd64        NVIDIA DKMS package
ii  nvidia-driver-390                             390.157-0ubuntu0.22.04.2                     amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-390                      390.157-0ubuntu0.22.04.2                     amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-390                      390.157-0ubuntu0.22.04.2                     amd64        NVIDIA kernel source package
ii  nvidia-prime                                  0.8.17.1                                     all          Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                           1.3.7                                        all          An applet for NVIDIA Prime
ii  nvidia-settings                               510.47.03-0ubuntu1                           amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-390                              390.157-0ubuntu0.22.04.2                     amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                       0.18.2                                       all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-390                 390.157-0ubuntu0.22.04.2                     amd64        NVIDIA binary Xorg driver
  • $ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 650M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.157
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 390.157
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.157
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
  • $ inxi -Fxxxrz
System:
  Kernel: 5.15.0-79-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
    Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 info: xfce4-panel wm: xfwm 4.18.0
    vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.2 Victoria
    base: Ubuntu 22.04 jammy
Machine:
  Type: Portable System: Dell product: Inspiron 7720 v: N/A
    serial: <superuser required> Chassis: type: 8 v: 0.1
    serial: <superuser required>
  Mobo: Dell model: 04M3YM v: A00 serial: <superuser required>
    UEFI-[Legacy]: Dell v: A16 date: 08/23/2013
CPU:
  Info: quad core model: Intel Core i7-3610QM bits: 64 type: MT MCP
    smt: enabled arch: Ivy Bridge rev: 9 cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 1197 min/max: 1200/3300 cores: 1: 1197 2: 1197 3: 1197
    4: 1197 5: 1197 6: 1197 7: 1197 8: 1197 bogomips: 36717
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915
    v: kernel ports: active: HDMI-A-1,LVDS-1,VGA-1 empty: DP-1 bus-ID: 00:02.0
    chip-ID: 8086:0166 class-ID: 0300
  Device-2: NVIDIA GK107M [GeForce GT 650M] vendor: Dell driver: nvidia
    v: 390.157 pcie: speed: 8 GT/s lanes: 16 ports: active: none empty: VGA-2
    bus-ID: 01:00.0 chip-ID: 10de:0fd1 class-ID: 0300
  Device-3: Realtek Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-1.5:4 chip-ID: 0bda:58bf class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.4 compositor: xfwm v: 4.18.0 driver:
    X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1524x286mm (60.0x11.3")
    s-diag: 1551mm (61")
  Monitor-1: HDMI-1-1 mapped: HDMI-A-1 pos: right model: Asus VS247
    serial: <filter> res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5")
    diag: 598mm (23.5") modes: max: 1920x1080 min: 720x400
  Monitor-2: LVDS-1-1 mapped: LVDS-1 pos: primary,left
    model: Chi Mei Innolux res: 1920x1080 hz: 60 dpi: 128
    size: 382x215mm (15.0x8.5") diag: 438mm (17.3") modes: 1920x1080
  Monitor-3: VGA-1-1 mapped: VGA-1 pos: primary,center
    model: Philips PHL 234E5 serial: <filter> res: 1920x1080 hz: 60 dpi: 96
    size: 509x286mm (20.0x11.3") diag: 584mm (23") modes: max: 1920x1080
    min: 720x400
  OpenGL: renderer: GeForce GT 650M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.157
    direct render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
    class-ID: 0403
  Device-2: Intel USB PnP Sound Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-2.2:5 chip-ID: 8086:0808
    class-ID: 0300
  Sound Server-1: ALSA v: k5.15.0-79-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
Network:
  Device-1: Intel Centrino Wireless-N 2230 driver: iwlwifi v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:0887 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 2000
    bus-ID: 03:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  IF-ID-1: br-08fd386c6ec9 state: down mac: <filter>
  IF-ID-2: br-87f3feeda1be state: down mac: <filter>
  IF-ID-3: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Centrino Bluetooth Wireless Transceiver type: USB
    driver: btusb v: 0.8 bus-ID: 2-1.5:3 chip-ID: 8087:07da class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.0 sub-v: fc00 hci-v: 4.0 rev: 1ebd
Drives:
  Local Storage: total: 1.35 TiB used: 1.42 TiB (105.1%)
  ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB
    size: 931.51 GiB speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0002 scheme: MBR
  ID-2: /dev/sdb vendor: Intel model: SSDSC2BP480G4 size: 447.13 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0420 scheme: MBR
Partition:
  ID-1: / size: 91.21 GiB used: 22.77 GiB (25.0%) fs: ext4 dev: /dev/sdb1
  ID-2: /home size: 347.28 GiB used: 287.85 GiB (82.9%) fs: ext4
    dev: /dev/sdb5
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 67.0 C mobo: 49.0 C sodimm: SODIMM C gpu: nvidia
    temp: 64 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 3045 apt: 2952 flatpak: 93
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/blaze-main-jammy.list
    1: deb http://ppa.launchpad.net/blaze/main/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/jonaski-strawberry-jammy.list
    1: deb http://ppa.launchpad.net/jonaski/strawberry/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/nodesource.list
    1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://kozyatagi.mirror.guzel.net.tr/linuxmint/packages victoria main upstream import backport
    2: deb http://ubuntu.turhost.com/ubuntu jammy main restricted universe multiverse
    3: deb http://ubuntu.turhost.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://ubuntu.turhost.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/phoerious-keepassxc-jammy.list
    1: deb http://ppa.launchpad.net/phoerious/keepassxc/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/pipewire-debian-pipewire-upstream-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/pipewire-debian-pipewire-upstream-jammy.gpg] https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
    1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/team-xbmc-ppa-jammy.list
    1: deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main
  No active apt repos in: /etc/apt/sources.list.d/waydroid.list
  Active apt repos in: /etc/apt/sources.list.d/xubuntu-dev-staging-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/xubuntu-dev-staging-jammy.gpg] https://ppa.launchpadcontent.net/xubuntu-dev/staging/ubuntu jammy main
Info:
  Processes: 340 Uptime: 38m wakeups: 1 Memory: 15.47 GiB
  used: 3.74 GiB (24.1%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: xfce4-terminal
  inxi: 3.3.13

Steps to reproduce

  • Launch Godot
  • Open/Create Project

Minimal reproduction project

TestGodot.zip

@Calinou
Copy link
Member

Calinou commented Aug 23, 2023

Thanks for the report! Consolidating in #58927, as your NVIDIA GPU doesn't support Vulkan (it's only on desktop Kepler, not mobile Kepler). Note that your Intel IGP doesn't support Vulkan either, as evidenced by the Mesa warning message.

After switching from Intel graphic card to Nvidia. Godot unable to launch at all. I always get this error message:

The project manager always uses OpenGL, but projects use Vulkan if using the Forward+ or Mobile rendering methods. Use the Compatibility rendering method instead.

@mbnoimi
Copy link
Author

mbnoimi commented Aug 23, 2023

The project manager always uses OpenGL, but projects use Vulkan if using the Forward+ or Mobile rendering methods. Use the Compatibility rendering method instead.

Sorry to be nagging.
Can I bypass this issue if I used Windows instead of Linux (for Nvidia and Intel GPU)?

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

No branches or pull requests

2 participants