Intel igpu + nvidia - modesetting

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x47 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 5 associated providers: 1 name:modesetting
Provider 1: id: 0x24f cap: 0x2, Sink Output crtcs: 4 outputs: 9 associated providers: 1 name:NVIDIA-G0

How to get “Provider 0” to intel

What are you trying to do?

e.g. run a win.exe with bottles / win
the install is working with gui but not to run the installed app afterwards …

e.g. flatpak cannot find it

flatpak run --command=bottles-cli com.usebottles.bottles info health-check

Official Package: true
Version: '51.10'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-545-29-02/extra/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.1.71
Disk:
    Total: 8241643520
    Free: 8241459200
RAM:
    MemTotal: 15.4GiB
    MemAvailable: 5.0GiB
Bottles_envs: null

it should be listed like in [Bug]: Unable to load libGLX_nvidia.so.0 · Issue #3133 · bottlesdevs/Bottles · GitHub

intel: &id001
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002

Perhaps you created the bottle using the “Gaming” environment. That environment enables the discrete GPU, which in your case is the NVIDIA GPU.

Have you tried using the “application” environment instead?

See Environments - Bottles

it is an “application” environment