question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error reading current mode : Cannot run glxinfo : Failed to execute 'glxinfo' : Error: unable to open display

See original GitHub issue

Hello!

Optimus-manager stopped working for me after a system update recently. The output during tty mode is…

Error reading current mode : Cannot run glxinfo : Failed to execute 'glxinfo' : Error: unable to open display

There is more output too it but piping didn’t catch it. I’ll try to update this asap with that info.

System info OS - Arch Linux Kernel - 4.19.98-1-lts WM - Openbox DM- Lightdm Laptop - Clevo N855HJ Version - Optimus Manager (Client) version 1.2.2

Logs OMboot_setup.txt OMgpu_setup.txt OMprime_setup.txt

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Kr1ss-XDcommented, Jan 29, 2020

I assume you entered that command in a tty session (the screenshot you posted looks like if you did).

Since glxinfo needs an X display, the error would be the supposed behavior if that’s the case. If so, could you pls try again in a terminal emulator inside a graphical session ?

E/

There is more output too it but piping didn’t catch it.

optimus-manager --status |& <other_command> does pipe both stdout and stderr of the first command into the second one, btw 😉

1reaction
Askannzcommented, Jan 28, 2020

Yeah that Python crash has been fixed already (https://github.com/Askannz/optimus-manager/commit/b4d07c74c6445d794bf8f8928790826cc29b0230), the fix just hasn’t made its way into a release yet.

Use optimus-manager-git for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] X not working after I installed nvidia-settings ...
Error reading current mode : Cannot run glxinfo : Failed to execute 'glxinfo' : Error: unable to open display Traceback (most recent call ......
Read more >
Glxinfo error - Linux - NVIDIA Developer Forums
when i run : glxinfo, i get the following errors: X Error of failed request: GLXBadContextTag. Major opcode of failed request: 146 (GLX)...
Read more >
Understanding glxinfo error - Ask Ubuntu
glxinfo Error : unable to open display echo $DISPLAY prints nothing. If I connect via ssh -Y : glxinfo name of display: localhost:10.0...
Read more >
glxinfo returns "unable to open display" on VirtualBox 6.0.10 ...
So for a project I want to create a slackware image that can be used on VMs and actual hardware to run specific...
Read more >
Problem with prime-run - Manjaro Linux Forum
Seems like you are either missing some nvidia packages or maybe some configs. Try to uninstall and install it again using mhwd via...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found