Problem second screen | libGL error: failed to load driver: nouveau | libGL error: glx: failed to create dri3 screen

Please try

prime-run glxinfo -B | grep "OpenGL vendor string"
2 Likes

Sorry guys, isn't there a simple solution to the problem? I'm new to the linux world and many things that seem basic to you aren't to me.

I don't understand why there is no longer the option with a button to select whether to use integrated, Gforce or Hybrid.

And I don't understand why, if I have an "application" that should work, screen sharing doesn't work.

It always worked very simply in previous versions. Why not now!?

Maybe ask KDE for this, or the software developer who give you this "button", in which app?

Me and filo do not use Laptops with two GPU.
So you can follow his question, wait for other user or search in web about.
In terminal

prime-run glxinfo -B | grep "OpenGL vendor string"
prime-run may be found in the following packages:
  extra/nvidia-prime 1.0-4      /usr/bin/prime-run
2 Likes

It was already installed by default in garuda KDE itself.

If really necessary:

sudo pacman -S optimus-manager optimus-manager-qt

Read also

2 Likes

No solution yet....

It's difficult for people to help you unless you provide more information about what you are trying and what is happening when you do--even if you try something that doesn't work.

There are like ten links in the thread with information to pull from, and all you have said is "No solution yet." We have no idea what is happening on your system unless you describe it to us (I entered this command from this link, and then this happened when I did this).

3 Likes

Everything they gave me to do, was done.

I didn't see any apparent changes to the system or functionality that would resolve the screen sharing issue.

Not even the direct solution to the problem (connect the HDMI and automatically stream to the second screen),

You keep using DRI_PRIME, but the wiki explicitly states to use prime-run.
Please do that and POST THE OUTPUT. You are making it harder for yourself and the helpers for no reason.

DRI_PRIME only works with the open source nvidia nouveau driver. You don't use that.

4 Likes

This?


╭─leosalomao@Nitro5 in ~ took 1ms
╰─λ prime-run glxinfo -B | grep "OpenGL vendor string"
OpenGL vendor string: NVIDIA Corporation

╭─leosalomao@Nitro5 in ~ took 86ms
╰─λ prime-run may be found in the following packages:
extra/nvidia-prime 1.0-4      /usr/bin/prime-run
/usr/bin/prime-run: linha 2: may: comando nĂŁo encontrado
find-the-command: "extra/nvidia-prime" is not found locally, searching in repositories...

error: No repo files found. Please run `pkgfile --update'.
find-the-command: command not found: extra/nvidia-prime
fish:
extra/nvidia-prime 1.0-4      /usr/bin/prime-run
^

╭─leosalomao@Nitro5 in ~ took 10ms
[🔍] ×

Sorted out!

I confess I don't know exactly how. Because I don't understand much about linux.

But I ran these commands:

systemctl status optimus-manager.service.

optimus-manager --nvidia switch

Thanks to all for your help!

But... I need to run the second command every time. Which is kind of annoying since the system logs off and you have to log in again to work!

Maybe this could help (from the upstream link above):

You can also specify which GPU you want to be used by default when the system boots, by setting startup_mode in the configuration file at /etc/optimus-manager/optimus-manager.conf.

But I’m sure this can be set also with the GUI utility (optimus-manager-qt).

2 Likes

After so many settings the application appeared and now I can change if I want integrated, hybrid or Nvidia.

Then just put it to start automatically in the hybrid that already solves the screen sharing problem.

Thank you all for your help, so glad it worked!

Hugs

NOTE: I just don't know which comment to mark as a solution to help anyone who needs it in the future. =/

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.