Bug 501139 - multigpu offloading doesn't work when nvidia is the primary display aka reverse prime
Summary: multigpu offloading doesn't work when nvidia is the primary display aka rever...
Status: ASSIGNED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.3.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Zamundaaa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-06 10:58 UTC by Luan Vitor Simião Oliveira
Modified: 2025-03-06 16:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
backtrace vkcube xcb (53.92 KB, text/plain)
2025-03-06 10:58 UTC, Luan Vitor Simião Oliveira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luan Vitor Simião Oliveira 2025-03-06 10:58:19 UTC
Created attachment 179175 [details]
backtrace vkcube xcb

SUMMARY
when the display is connected to a nvidia gpu on a desktop, running vkcube --wsi wayland --gpu_number 1 should run in the igpu, but instead i get an error message:
 [destroyed object]: error 7: importing the supplied dmabufs failed
STEPS TO REPRODUCE
1. connect the display to an nvidia gpu with proprietary drivers 
2. run vkcube --wsi wayland --gpu_number 1 or vkcube --wsi xcb --gpu_number 1

OBSERVED RESULT
error (wayland) or crash (xcb)

EXPECTED RESULT
vkcube runs on the igpu with no issues ie reverse_prime works

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor 1: NVIDIA GeForce RTX 4070 Ti SUPER
Graphics Processor 2: AMD Radeon Graphics

ADDITIONAL INFORMATION
nvidia-570.124.04-1.fc41.x86_64
vulkan-tools-1.4.304.0-1.fc41.x86_64
mesa-dri-drivers-25.0.0-2.fc41.x86_64
desktop 4070 ti super
1 display connected to nvidia gpu