Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix run errors for nvidia hybrid setup #32

Closed
wants to merge 1 commit into from

Conversation

an9949an
Copy link
Contributor

@an9949an an9949an commented Feb 5, 2023

Issue exists very long time. This line produce error while running some 32 bit games on nvidia hybrid setup. Without this line it run all kind of games without any issues on discrete GPU. Tested on two different laptops on manjaro and fedora. So, I don't sure it's needed here at all.

The fixed error is:

Major opcode of failed request:  156 (NV-GLX)
Minor opcode of failed request:  6 ()
Value in failed request:  0x0
Serial number of failed request:  96
Current serial number in output stream:  96

Interesting thing that the same output can be reproduced by running __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo
Successful variant of command is: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo

Also as I understand __NV_PRIME_RENDER_OFFLOAD and __GLX_VENDOR_LIBRARY_NAME should be together. So, I guess (but not sure) that export __GLX_VENDOR_LIBRARY_NAME=nvidia should be added after export __NV_PRIME_RENDER_OFFLOAD=1 (line 155) if PW_PRIME_RENDER_OFFLOAD enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants