[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-26 Thread Daniel van Vugt
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 drmuelr, it sounds like bug 2080498 is part of your problem. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.l

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-26 Thread drmuelr
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 For completeness, I encountered this bug in the exact way @azorin mentioned it. Fresh install of Ubuntu 22.04 on an MSI GE72 with Nvidia 940M. Trying to run "Extension Manager" from applications would immedi

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-26 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: egl-wayland (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-20 Thread Rohit
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 For completeness, the issue at the bottom of this thread that I brought up is now being tracked at: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers-560/+bug/2081291 -- You received this

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-20 Thread Alessandro Astone
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 Thanks! For what we know nvidia-driver-560 is the best fit. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.l

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-20 Thread Rohit
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 GSK_RENDERER=ngl baobab works on nvidia-driver-560 @aleasto Should I file the bug against nvidia-driver-560, mesa or something else? -- You received this bug notification because you are a member of Deskt

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-20 Thread Alessandro Astone
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 Also, please open a new bug because this bug report affected GSK_RENDERER=gl while your issue does not. I suspect the new bug is with Vulkan, which verifying that GSK_RENDERER=ngl works should definitively

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-20 Thread Alessandro Astone
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 > Using: GSK_RENDERER=gl baobab doesn't crash. Can you also try GSK_RENDERER=ngl? Also please limit the tests to drivers available in the Ubuntu archive like 535, 550 and 560, to avoid inserting more varia

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-19 Thread Rohit
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 In the below examples I am using baobab as an example of a gtk application. I've tried with transmission and others too. 1. a) The crash happens even when using: __NV_DISABLE_EXPLICIT_SYNC=1 baobab b) Us

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-19 Thread Alessandro Astone
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 1) Please try launching the affected app with __NV_DISABLE_EXPLICIT_SYNC=1 2) Please run these on an affected machine: lspci -k > lspci.txt journalctl -b0 > journal.txt dpkg -l > packages.txt and at

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-18 Thread Rohit
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 I am running into this issue with nvidia-driver-560-open on wayland in latest Oracular as of today. Specifically I get this error: https://discussion.fedoraproject.org/t/gdk-message-error-71-protocol- error-

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
*** This bug is a duplicate of bug 1965563 *** https://bugs.launchpad.net/bugs/1965563 > NVIDIA does intend to eventually allow egl-wayland to work on hybrid systems, but I don't see any time commitment. Scratch that, it seems supported by setting __NV_PRIME_RENDER_OFFLOAD. Which switcheroo-c

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
egl-wayland >= 1.1.10 basically just disables itself on hybrid systems: the driver refuses to use a GPU that is not the compositor's primary GPU; so this bug does not happen when bug 1965563 is fixed. -- Note that this means that "Launch using Discrete GPU" wouldn't work even if switcheroo-contr

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
Right, as Daniel said in comment #2 the issue about apps failing to launch on NVIDIA+Wayland is tracked in bug 1965563 and already resolved in noble (but not in jammy). So this thread is now only tracking the bug which causes apps to be launched on the NVIDIA GPU by default in hybrid systems, rat

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Artyom Zorin
Thanks for looking into this. As a reaction to @Alessandro's milestone assignments, I just wanted to clarify that this error (libadwaita apps failing to launch on Wayland with the latest NVIDIA 550.107.02 drivers on a hybrid graphics laptop) doesn't happen on Ubuntu 24.04 noble in my testing. It o

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
** Tags added: udeng-1202 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2080282 Title: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU Statu

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu) Importance: Undecided => Medium ** Changed in: switcheroo-control (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.laun

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
** Changed in: gnome-shell (Ubuntu) Status: New => Triaged ** Changed in: switcheroo-control (Ubuntu) Status: New => Triaged ** Changed in: gnome-shell (Ubuntu) Assignee: (unassigned) => Alessandro Astone (aleasto) ** Changed in: switcheroo-control (Ubuntu) Assignee: (una

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
>From the GLVND documentation: > EGL can't rely on asking an X server for a vendor name like GLX can, so instead, it enumerates and loads every available vendor library. Loading every vendor is also needed to support extensions such as EGL_EXT_device_enumeration. > When the application calls eglG

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-13 Thread Alessandro Astone
> This needs verifying in Oracular to see if it's still the case. It is behaving as designed. Because NVIDIA has priority in EGL, it will always be tried first. Without libnvidia-egl-wayland1 it fails so the second driver is probed, MESA. > If the maintainer of the nvidia-graphics-drivers-550 sou

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Daniel van Vugt
** Also affects: egl-wayland (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2080282 Title: Apps run on the discrete Nvidia GPU

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Daniel van Vugt
libnvidia-egl-wayland1 was added recently in bug 2062082, which also fixes bug 2063827. But I'm not sure that fix was tested on any Intel/Nvidia hybrids or just Nvidia desktops. ** Tags added: hybrid multigpu ** Changed in: gnome-shell (Ubuntu) Status: Incomplete => New -- You received

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Artyom Zorin
UPDATE: To test whether libnvidia-egl-wayland1 was the ultimate source of this issue, I switched back to the NVIDIA 535 drivers (which usually works correctly) but I also manually installed the libnvidia-egl- wayland1 & libnvidia-egl-wayland1:i386 packages from the Terminal. After restarting into

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Artyom Zorin
> That's just a cosmetic bug in the Settings app when two GPUs are present. It incorrectly lists one of them twice. My apologies, I probably didn't write my comments clearly. The issue I was trying to highlight wasn't that the GPU was listed twice in the Graphics field here. Instead, I wanted to

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Daniel van Vugt
See also bug 2080498. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2080282 Title: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU Status in

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Daniel van Vugt
That's curious. If true then: 1. I would expect more bug reports relating to it; and 2. We're failing to honour the intent that the more efficient GPU is used by default. This needs verifying in Oracular to see if it's still the case. ** Tags added: nvidia-wayland -- You received this bug not

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-12 Thread Alessandro Astone
> So the only real issue now is; why would GNOME default to launching apps on the discrete GPU instead of the integrated GPU? That's expected for EGL apps, because `/usr/share/glvnd/egl_vendor.d/10_nvidia.json` comes before `/usr/share/glvnd/egl_vendor.d/50_nvidia.json`. switcherooctl also does n

[Desktop-packages] [Bug 2080282] Re: Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU

2024-09-11 Thread Daniel van Vugt
** Summary changed: - Wayland is chosen as the default for Nvidia on Jammy + Apps run on the discrete Nvidia GPU by default instead of the Intel integrated GPU -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https