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

[Bug]: X Error of failed request: BadValue (integer parameter out of range for operation) when turning on the Discrete Graphics option #3626

Open
shadyalfred opened this issue Dec 22, 2024 · 1 comment

Comments

@shadyalfred
Copy link

Describe the bug

When I turn the option Discrete Graphics games do not start. They show this error, and close:

extension "NV-GLX" missing on display ":1".
extension "NV-GLX" missing on display ":1".

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  272
  Current serial number in output stream:  273

I don’t think this is a problem with my discrete graphics card or its config, as running optirun glxspheres64, optirun glxspheres32, optirun glxgears32 --info, and optirun glxgears --info works well without any issues.

To Reproduce

  1. Turn on Discrete Graphics for a bottle
  2. Run a game

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: false
Version: '51.17'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/share/vulkan/icd.d/nvidia_icd.json
            nvngx_path: null
        intel: &id001
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: ''
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.6.65-1-lts
Disk:
    Total: 89240141824
    Free: 70157697024
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 10.4GiB
Bottles_envs: null
Tools and Libraries:
    cabextract: true
    p7zip: true
    patool: true
    glibc_min: '2.40'
    icoextract: true
    pefile: true
    orjson: true
    markdown: true
    ImageMagick: true
    FVS: true
    xdpyinfo: true

Troubleshooting Logs

No response

Additional context

No response

@mirkobrombin
Copy link
Member

Install the nvidia flatpak drivers with: flatpak upgrade

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

No branches or pull requests

2 participants