GPU and PowerProfile are not always working proprely

Hello,

So since I’m using OpenSuse AEON, I’ve noticed a few issue using my Laptop with at RTX 4070

The GPU isn’t always working, it’s detected and shows in nvidia-smi but if I launch any GPU related app (Godot engine or a game) it will or not launch or have a black screen. A reboot fix the issue but it will come back on another boot so not really a solution.

Also Power-Profile menu isn’t showing on every boot, I have to restart sometimes just to have the menu showing.

Nvidia also often crash on shutdown and prevent the system from shutting down with a panic.

I don’t really know how to diagnosis all of it or if those are known bugs.

Any help would be appreciated.

Thanks :slight_smile:

Hi
So are you using switcherooctl, or settings in Flatseal to set environment variables to use Prime Render Offload?

Edit: Can you show the output from inxi -GSaz

Correction ^^ inxi -GSaz

1 Like

Thanks for your reply,
Using both cause the issue. tho it’s not always like I mentioned.
On this inxi log I had the issue. I tried to launch godot engine and it was a black screen.
Switching using Switcherooctl doesn’t change anything, either on the DGPU or IGPU
The issue occurs only one graphical application, I can use my web browser and all without issue.

And the issue occurs on both switcherooctl and offload (in Steam (flatpak) I use offload and I have the same issue)

Strange thing is that blender (in flatpak) works and Davinci Resolve (Native) works too.

Any apps in bottles for wine is broken and any games in Lutris using wine is broken too.

Like I said tho a reboot and I’m good to go until it occurs again on another boot.

Inxi -GSaz logs :

mimillie@aeon:~> inxi -GSaz
System:
  Kernel: 6.15.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.3.0
    clocksource: tsc avail: acpi_pm
    parameters: initrd=\aeon\6.15.1-1-default\initrd-d8ae954ccd90908b9288c62fe3823b601ee8ba9b
    quiet loglevel=2 systemd.show_status=no console=ttyS0,115200 console=tty0
    vt.global_cursor_default=0 ignition.platform.id=metal security=selinux
    selinux=1 root=/dev/mapper/aeon_root rd.driver.blacklist=nouveau
    rootflags=subvol=@/.snapshots/199/snapshot
    systemd.machine_id=878cd1e181f143619f1336216d8cc91f
  Desktop: GNOME v: 48.2 tk: GTK v: 3.24.50 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 48.0 Distro: Aeon
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Lenovo driver: i915
    v: kernel alternate: xe arch: Xe process: Intel 7 (10nm) built: 2022+ ports:
    active: DP-1,eDP-1 empty: DP-2,DP-3,DP-4 bus-ID: 00:02.0
    chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: NVIDIA AD106M [GeForce RTX 4070 Max-Q / Mobile] vendor: Lenovo
    driver: nvidia v: 570.153.02 alternate: nouveau,nvidia_drm
    non-free: 550/565.xx+ status: current (as of 2025-01) arch: Lovelace
    code: AD1xx process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 8 ports: active: none empty: HDMI-A-1,eDP-2
    bus-ID: 01:00.0 chip-ID: 10de:2860 class-ID: 0300
  Device-3: Generic Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-8:3 chip-ID: 5986:118b
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: DP-1 model: Dell S2721DGF serial: <filter> built: 2021
    res: 2560x1440 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: eDP-1 model-id: CSO 0x1418 built: 2022 res: 3072x1920 dpi: 250
    gamma: 1.2 size: 312x195mm (12.28x7.68") diag: 368mm (14.5") ratio: 16:10
    modes: 3072x1920
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: gpu: nvidia-settings,nvidia-smi x11: xprop

Example of Godot black screen window on the editor :

Not uncommon problem with Godot (OS independent)…

https://www.reddit.com/r/godot/comments/11m24pu/godot_4_editor_window_is_a_dark_screen/

https://www.google.com/search?q=Godot+black+screen

Thanks for your finding :slight_smile: ,
I already use the compatibility mode for most of my project. so it should be working. I still have that black screen tho and it happens on other apps too so it’s probably something more global about the system.

@MiMillie Hi I would recommend that you add intel_iommu=on fbdev=1 nvidia_drm.modeset=1 to the kernel boot options and your user to the video and render groups.

Also what intel packages are installed, zypper se intel.

Likewise you need to fire up dconf-editor and in org.gnome.mutter experimental-features enable kms-modifiers.
Ref: https://download.nvidia.com/XFree86/Linux-x86_64/570.153.02/README/xwayland.html

Thanks again,

I’ve tried to set the kernel boot options. so far I have no issue. but since it’s random I’m not screaming victory too soon. it usually happens when I turn the computer on for the first time of the day or after a long break.

I already have kms-modifiers enabled

Here are the intel packages list :

S  | Name                      | Summary                                 | Type
---+---------------------------+-----------------------------------------+--------------
   | fence-agents-intelmodular | Fence agent for devices with Intel Mo-> | paquet
   | intel-cmt-cat             | Command line interface to CMT, MBM, C-> | paquet
   | intel-gpu-tools           | Collection of tools for development a-> | paquet
   | intel-gpu-tools-devel     | Development files for intel-gpu-tools   | paquet
   | intel-hybrid-driver       | VA driver for Intel G45 & HD Graphics-> | paquet
   | intel-ipsec-mb-devel      | Headers for the Intel IPSec cryptogra-> | paquet
   | intel-lpmd                | Intel Low Power Mode Daemon             | paquet
   | intel-lpmd                | Intel Low Power Mode Daemon             | paquet source
i+ | intel-media-driver        | Intel Media Driver for VAAPI            | paquet
   | intel-metee               | Library to access CSE/CSME/GSC firmwa-> | paquet source
   | intel-metee-devel         | Headers for the intel-metee library     | paquet
   | intel-one-mono-fonts      | An expressive monospaced font family    | paquet
   | intel-opencl              | Intel Graphics Compute Runtime for Op-> | paquet
   | intel-opencl-devel        | Headers for the Intel Graphics Comput-> | paquet
   | intel-undervolt           | Intel CPU undervolting and throttling-> | paquet source
   | intel-undervolt           | Intel CPU undervolting and throttling-> | paquet
   | intel-vaapi-driver        | Intel Driver for Video Acceleration (-> | paquet
   | intelhex                  | Library for Intel HEX Files Manipulat-> | paquet
i  | kernel-firmware-intel     | Kernel firmware files for Intel-platf-> | paquet
i  | libdrm_intel1             | Userspace interface for Kernel DRM se-> | paquet
   | libdrm_intel1-32bit       | Userspace interface for Kernel DRM se-> | paquet
i  | libvulkan_intel           | Mesa vulkan driver for Intel GPU        | paquet
   | libvulkan_intel-32bit     | Mesa vulkan driver for Intel GPU        | paquet
   | libze_intel_gpu1          | Intel GPU support for oneAPI level zero | paquet
   | openvino-intel-cpu-plugin | Intel CPU plugin for OpenVINO toolkit   | paquet
   | openvino-intel-npu-plugin | Intel NPU plugin for OpenVINO toolkit   | paquet
   | python311-intelhex        | Python library for Intel HEX files ma-> | paquet
   | python312-intelhex        | Python library for Intel HEX files ma-> | paquet
   | python313-intelhex        | Python library for Intel HEX files ma-> | paquet
i  | ucode-intel               | Microcode Updates for Intel x86/x86-6-> | paquet
i+ | xf86-video-intel          | Intel video driver for the Xorg X ser-> | paquet
   | xf86-video-intel-32bit    | Intel video driver for the Xorg X ser-> | paquet

@MiMillie I prefer to set the Nvidia GPU for vulkan, rather than Intel with a /etc/environment file containing in your case;

MESA_VK_DEVICE_SELECT="10de:2860"

If above I would suggest removal of the libvulkan_intel package.

Since the GPU can take advantage of level-zero install libze_intel_gpu1

Then probably Mesa-demo-egl Mesa-demo clinfo vulkan-tools wayland-utils packages as well for inxi.

Unfortunately I still have the issue today…

I need to use the Intel IGPU cause Nvidia on battery is well about 2 hours vs 6 on the Intel one.

If it can help, when I launch godot using the CLI I get these logs one I enter in a project :

mimillie@aeon:~> flatpak run io.github.MakovWait.Godots
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
glx: failed to create dri3 screen
failed to load driver: nouveau
MESA: error: zink: could not create swapchain
OpenGL API 4.6 (Core Profile) Mesa 25.1.3 (git-ba95e694fe) - Compatibility - Using Device: Intel - Mesa Intel(R) Iris(R) Xe Graphics (RPL-P)
 
Run window mode
Godot Engine v4.4.1.stable.official.49a5bc7b6 - https://godotengine.org
Vulkan 1.4.303 - Forward+ - Using Device #1: NVIDIA - NVIDIA GeForce RTX 4070 Laptop GPU

ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)

@MiMillie use switcherooctl

switcherooctl flatpak run io.github.MakovWait.Godots

Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 575.57.08 - Compatibility - Using Device: NVIDIA - Quadro RTX 4000
 
Run window mode

Did you set the Mesa Vulkan device?

Intel ARC with verbose

flatpak --user run io.github.MakovWait.Godots --verbose
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Xshape 1.1 detected.
Xinerama 1.1 detected.
Xrandr 1.6 detected.
Xrender 0.11 detected.
Xinput 2.2 detected.
XInput: Refreshing devices.
XInput: Absolute pointing device: xwayland-pointer:18
XInput: No touch devices found.
Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic.
glx: failed to create dri3 screen
failed to load driver: nouveau
Found renderers:
Renderer 0: Mesa Intel(R) Arc(tm) A380 Graphics (DG2) with priority: 20
Renderer 1: zink Vulkan 1.4(Intel(R) Arc(tm) A380 Graphics (DG2) (INTEL_OPEN_SOURCE_MESA)) with priority: 0
Using renderer: Mesa Intel(R) Arc(tm) A380 Graphics (DG2)
Failed loading custom cursor: crossed_circle
ScreenSaver: DBus 1.14.10 detected.
PortalDesktop: DBus 1.14.10 detected.
Using "default" pen tablet driver...
Shader 'CanvasSdfShaderGLES3' SHA256: 49614a6f06b1279bf05dd811182b97376c015643363957af67f333f5250f6606
Shader 'SkeletonShaderGLES3' SHA256: 8f3bfc3e11193e70ce143c220432774f11ece435ef33b20b69ca0aaa3e8f3bbb
Shader 'ParticlesShaderGLES3' SHA256: f9acd9ccc6d39e440e19a0e672a18dd7fa8a8a1a5810a8908d440fe795bf4858
Shader 'ParticlesCopyShaderGLES3' SHA256: 381ecd4cc2c0f2c8d4ac7c5adacb4d06a8e23a6e41ba8706c77380097bca7b26
Shader 'CopyShaderGLES3' SHA256: 141047a2edb4daf168997cf8b9b62653dfdbb118eb3057d59fa8c8bead7f813b
Shader 'CanvasShaderGLES3' SHA256: 382a78055ebae93d1ff1ec1388915d50242c41ad80035946c0510cdbe0dca30b
Shader 'CanvasOcclusionShaderGLES3' SHA256: 99dd35cf1449f67f5911d7db95911e1d506a93d45cde15355d91cc1b1ea720a2
Shader 'SceneShaderGLES3' SHA256: 2adcfe6e1fe009ed1a5124ab03b209e214590f0de259694dd499456e71c7edba
Shader 'SkyShaderGLES3' SHA256: 8a79e22152b92586d7f94da54ba95ab7cd8a697d1eede1cffdcc7f9fa17908b4
Shader 'CubemapFilterShaderGLES3' SHA256: f114152a70849e41075fc9eb0b90227e642f32c31b65d27cf982c55d72832caa
OpenGL API 4.6 (Core Profile) Mesa 25.1.3 (git-ba95e694fe) - Compatibility - Using Device: Intel - Mesa Intel(R) Arc(tm) A380 Graphics (DG2)
JoypadLinux: udev enabled, but detected incompatible sandboxed mode. Falling back to /dev/input to detect joypads.
PulseAudio 17.0.0 detected.
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: bluez_output.2C_54_5F_D0_69_76.1
PulseAudio: detected 2 output channels
PulseAudio: audio buffer frames: 512 calculated output latency: 11ms
 
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH: 0
EDITOR API HASH: 0
Loaded system CA certificates
Run window mode

Switcherooctl, Nvidia with verbose

 switcherooctl flatpak --user run io.github.MakovWait.Godots --verbose
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Xshape 1.1 detected.
Xinerama 1.1 detected.
Xrandr 1.6 detected.
Xrender 0.11 detected.
Xinput 2.2 detected.
XInput: Refreshing devices.
XInput: Absolute pointing device: xwayland-pointer:18
XInput: No touch devices found.
Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic.
Only one GPU found, using default.
Failed loading custom cursor: crossed_circle
ScreenSaver: DBus 1.14.10 detected.
PortalDesktop: DBus 1.14.10 detected.
Using "default" pen tablet driver...
Shader 'CanvasSdfShaderGLES3' SHA256: 82c3055f9874e3d14c372d1822dfb9d2fc9396b0d6b248c2364c617bcf7b0c7b
Shader 'SkeletonShaderGLES3' SHA256: 56b4111397c102af0485160b15787d55b6ef51df563dd17cef31554faead4271
Shader 'ParticlesShaderGLES3' SHA256: f631d53b50d055d8d81901b1fa00cf102623a62a283404ad445ffd6ca73e9bfc
Shader 'ParticlesCopyShaderGLES3' SHA256: 28ad5c5d6bfcdb089333bb357f2d5ddc02abde571985b89b11aa53d2aa6ceabf
Shader 'CopyShaderGLES3' SHA256: cb75df75e166cfc96167bcedb00b9fa1eb6db52fa6c997dbdf14ccb722ccefee
Shader 'CanvasShaderGLES3' SHA256: e61ecf6da4663f874110e516a91066b43455503c9701e935b96e4c98a8c82389
Shader 'CanvasOcclusionShaderGLES3' SHA256: 07f111b5f4dbcc55958fc1639ed128fb051d27bb5c88dc1e0c94e6dce8956ad0
Shader 'SceneShaderGLES3' SHA256: 4b371acec6c23730d0ea09d0aab08ebf41841183639c35b81473e2384804dcdc
Shader 'SkyShaderGLES3' SHA256: 39cb346302fa0665ccae220681e93e9ac232a27d632966d109042837a7ccf22c
Shader 'CubemapFilterShaderGLES3' SHA256: 611759cfbbb8f3af5dd4e61586955f213d3e3b0ebc8b60f6f53157e2b36b630c
OpenGL API 3.3.0 NVIDIA 575.57.08 - Compatibility - Using Device: NVIDIA - Quadro RTX 4000
JoypadLinux: udev enabled, but detected incompatible sandboxed mode. Falling back to /dev/input to detect joypads.
PulseAudio 17.0.0 detected.
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: bluez_output.2C_54_5F_D0_69_76.1
PulseAudio: detected 2 output channels
PulseAudio: audio buffer frames: 512 calculated output latency: 11ms
 
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH: 0
EDITOR API HASH: 0
Loaded system CA certificates
Run window mode

I’ve setted it in front of the command like that to try before altering my system :

MESA_VK_DEVICE_SELECT="10de:2860" flatpak run io.github.MakovWait.Godots

The result is the same…

I have this on verbose mode :

mimillie@aeon:~> flatpak run io.github.MakovWait.Godots --verbose
Godot Engine v4.2.1.stable.official.b09f793f5 - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Xshape 1.1 detected.
Xinerama 1.1 detected.
Xrandr 1.6 detected.
Xrender 0.11 detected.
Xinput 2.2 detected.
XInput: Refreshing devices.
XInput: Absolute pointing device: xwayland-pointer:17
XInput: Using touch device: xwayland-touch:17
XInput: Absolute pointing device: xwayland-touch:17
Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic.
glx: failed to create dri3 screen
failed to load driver: nouveau
MESA: error: zink: could not create swapchain
Found renderers:
Renderer 0: Mesa Intel(R) Iris(R) Xe Graphics (RPL-P) with priority: 20
Renderer 1: zink Vulkan 1.4(NVIDIA GeForce RTX 4070 Laptop GPU (NVIDIA_PROPRIETARY)) with priority: 0
Using renderer: Mesa Intel(R) Iris(R) Xe Graphics (RPL-P)
Failed loading custom cursor: crossed_circle
ScreenSaver: DBus 1.14.10 detected.
PortalDesktop: DBus 1.14.10 detected.
Using "default" pen tablet driver...
Shader 'CanvasSdfShaderGLES3' SHA256: cb03ba5afa6ebc8122d245e4e132b079710841886dbc0a8be79a341d429b3d2a
Shader 'SkeletonShaderGLES3' SHA256: bbf7c7fc50796dfc065606631f846e830dfb59d05056dfcd8516211f5e035bdf
Shader 'ParticlesShaderGLES3' SHA256: 159c4868bb4c199fdc8c57b085262c8cce1ecaa458fe17fbb5fb2e9178da6d99
Shader 'ParticlesCopyShaderGLES3' SHA256: d9736bebb3cc7cc49f0bf0f248bd4ae2855fadfbb24ed70ea5beafcb9ae3397a
Shader 'CopyShaderGLES3' SHA256: ebf084e9e243652d8ea930a93359cf64f420010c48c5f2a5483ddf12b203726b
Shader 'CanvasShaderGLES3' SHA256: 2eada5de3c8bc6433267a03ae199cb888ba4d93f938ca6389f3b570fa6714734
Shader 'CanvasOcclusionShaderGLES3' SHA256: d9b6696b51733c7ff4f82ffab5cdf3ee5d9cce36ad81433ff8f6fd18108232f8
Shader 'SceneShaderGLES3' SHA256: 7279cebe831dfd29008ee9b6afea121e7d5237e5f55bd312f82355ea690e4ca8
Shader 'SkyShaderGLES3' SHA256: 54b47b9d0aa897db6e9e78446c1ea26a597e25476e4efd6f476a65b915309611
Shader 'CubemapFilterShaderGLES3' SHA256: 60c0df3eea9db21913bba835752694112d94ac24000aa7ce1d5f7dd14815609b
OpenGL API 4.6 (Core Profile) Mesa 25.1.3 (git-ba95e694fe) - Compatibility - Using Device: Intel - Mesa Intel(R) Iris(R) Xe Graphics (RPL-P)
JoypadLinux: udev enabled, but detected incompatible sandboxed mode. Falling back to /dev/input to detect joypads.
PulseAudio 17.0.0 detected.
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
PulseAudio: detected 2 output channels
PulseAudio: audio buffer frames: 512 calculated output latency: 11ms
 
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH: 0
EDITOR API HASH: 0
Loaded system CA certificates
Run window mode
Godot Engine v4.4.1.stable.official.49a5bc7b6 - https://godotengine.org
Vulkan 1.4.303 - Forward+ - Using Device #1: NVIDIA - NVIDIA GeForce RTX 4070 Laptop GPU

ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:466)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3070)

@MiMillie You need to set the variable before the Desktop session starts, it doesn’t work that way with Mesa…

Can you paste the output from inxi -GSazagain as well.

I’ve set it in the /etc/environnement but that doesn’t seem to change something on my issue… Also I’d like to be able to choose my GPU so settings Vulkan to Nvidia would prevent me to do it if I’m correct about it.

mimillie@aeon:~> inxi -GSaz
System:
  Kernel: 6.15.2-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.3.0
    clocksource: tsc avail: acpi_pm
    parameters: initrd=\aeon\6.15.2-1-default\initrd-cb5112138a7fcb3c4ee93f206b5657ffa58b16a6
    quiet loglevel=2 systemd.show_status=no console=ttyS0,115200 console=tty0
    vt.global_cursor_default=0 ignition.platform.id=metal security=selinux
    selinux=1 root=/dev/mapper/aeon_root rd.driver.blacklist=nouveau
    intel_iommu=on fbdev=1 nvidia_drm.modeset=1
    rootflags=subvol=@/.snapshots/208/snapshot
    systemd.machine_id=878cd1e181f143619f1336216d8cc91f
  Desktop: GNOME v: 48.2 tk: GTK v: 3.24.50 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 48.0 Distro: Aeon
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Lenovo driver: i915
    v: kernel alternate: xe arch: Xe process: Intel 7 (10nm) built: 2022+ ports:
    active: DP-1,eDP-1 empty: DP-2,DP-3,DP-4 bus-ID: 00:02.0
    chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: NVIDIA AD106M [GeForce RTX 4070 Max-Q / Mobile] vendor: Lenovo
    driver: nvidia v: 570.153.02 alternate: nouveau,nvidia_drm
    non-free: 550/565.xx+ status: current (as of 2025-01) arch: Lovelace
    code: AD1xx process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 8 ports: active: none empty: HDMI-A-1,eDP-2
    bus-ID: 01:00.0 chip-ID: 10de:2860 class-ID: 0300
  Device-3: Generic Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-8:3 chip-ID: 5986:118b
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: gnome-shell driver: gpu: i915 d-rect: 5632x3360 display-ID: 0
  Monitor-1: DP-1 pos: primary,top-left model: Dell S2721DGF
    serial: <filter> built: 2021 res: mode: 2560x1440 hz: 60 scale: 100% (1)
    dpi: 109 gamma: 1.2 size: 600x340mm (23.5x13.23") diag: 685mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: eDP-1 pos: bottom-r model: CSO 0x1418 built: 2022 res:
    mode: 3072x1920 hz: 60 scale: 200% (2) to: 1536x960 dpi: 250 gamma: 1.2
    size: 310x200mm (12.28x7.68") diag: 368mm (14.5") ratio: 16:10
    modes: 3072x1920
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 25.1.3 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Iris Xe Graphics (RPL-P)
    device-ID: 8086:a7a0 memory: 61.07 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.4.313 layers: 2 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4070 Laptop GPU driver: N/A device-ID: 10de:2860 surfaces: N/A
    device: 1 type: integrated-gpu name: Intel Iris Xe Graphics (RPL-P)
    driver: N/A device-ID: 8086:a7a0 surfaces: N/A device: 2 type: cpu
    name: llvmpipe (LLVM 20.1.6 256 bits) driver: N/A device-ID: 10005:0000
    surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi wl: wayland-info x11: xprop

@MiMillie yes, so you would need to re-install libvulkan_intel and remove the environment file but it will only use that since it’s the default.

Did you try switcherooctl for the flatpak?

Yes I did, both offloading and switcherooctl

Still have no luck tho :frowning:

Also I got it, this is what happens when I shutdown my computer sometimes :

@MiMillie You should be using the open driver? Can you post the output from zypper se -i nvidia

I don’t use the open driver currently, I’m going to try using it

mimillie@aeon:~> zypper se -i nvidia
Chargement des données du dépôt...
Lecture des paquets installés...

S  | Name                          | Summary                                    | Type
---+-------------------------------+--------------------------------------------+-------
i  | libnvidia-egl-gbm1            | The GBM EGL external platform library      | paquet
i  | libnvidia-egl-wayland1        | The EGLStream-based Wayland external pla-> | paquet
i  | libnvidia-egl-x111            | NVIDIA XLib and XCB EGL Platform Library   | paquet
i  | nvidia-common-G06             | Common files for the NVIDIA driver packa-> | paquet
i  | nvidia-compute-G06            | NVIDIA driver for computing with GPGPU     | paquet
i  | nvidia-compute-utils-G06      | NVIDIA driver tools for computing with G-> | paquet
i+ | nvidia-driver-G06-kmp-default | NVIDIA graphics driver kernel module for-> | paquet
i  | nvidia-gl-G06                 | NVIDIA OpenGL libraries for OpenGL accel-> | paquet
i  | nvidia-libXNVCtrl             | Library providing the NV-CONTROL API       | paquet
i  | nvidia-modprobe               | NVIDIA kernel module loader                | paquet
i  | nvidia-persistenced           | A daemon to maintain persistent software-> | paquet
i+ | nvidia-settings               | Configure the NVIDIA graphics driver       | paquet
i+ | nvidia-video-G06              | NVIDIA graphics driver for GeForce 700 s-> | paquet
i+ | openSUSE-repos-MicroOS-NVIDIA | openSUSE NVIDIA repository definitions     | paquet