Score:1

problem with 22.04.2: starting apps in wayland with dedicated graphic card (mine: nvidia, integrated intel)

cn flag

In 22.04.1 the gnome desktop is executed with the integrated intel graphic card as default. It does not matter if I choose X11 or wayland to display the gnome desktop. Therefore I prefer wayland as this is the future (well, since almost a decade, but ok, good things need time ;) ). Then I found the command __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ./bin/release/myapp for starting my 3d simulation with the dedicated nvidia graphic card again (which uses btw. the closed source driver - the main reason because the app is visually more appealing than with the open source driver).

Some days ago I was forced to upgrade to 22.04.2. I thought this does not matter anything as this is just a little upgrade in this LTS itself. But I was wrong and now I can not start my generated app with the dedicated card.

Gnome settings itself says that it installed nvidia driver 535 fully without problems. But I do not know how to use it. Every time I try __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ./bin/release/myapp, bash tells me that my app "Failed to create GLFW window". But this works, if I execute ./bin/release/myapp (then as default my internal intel card with its open source driver is used).

Is there another way to execute an app with the dedicated graphic card in wayland? Suddenly has wayland no right to create GLFW windows for the dedicated graphic card? Or what is wrong?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.