Optirun uses wrong display

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
salvipeter

Optirun uses wrong display

Post by salvipeter »

Hi!

I have recently upgraded to Linux Mint 19.1 (kernel 4.15.0-46-generic), and I am trying to get my Intel + NVIDIA GeForce 610M cards working with BumbleBee.

Running

Code: Select all

optirun lspci -vnnn
confirms that the kernel drivers in use are OK: i915 for the Intel card, and nvidia for the NVIDIA card.

Related installed packages:
- nvidia-driver-390 : 390.116-0ubuntu0.18.04.1
- bumblebee : 3.2.1-17

If I run

Code: Select all

optirun nvidia-settings -c :8
everything looks OK.

But when I try

Code: Select all

optirun glxinfo
It returns with
name of display: :0
Xlib: extension "GLX" missing on display ":0".
...
Also if I try

Code: Select all

optirun env DISPLAY=:8 glxinfo
it works, so it seems that optirun does not force programs to use virtual display 8...

Any ideas?

Thank you!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Optirun uses wrong display

Post by roblm »

Bumblebee is not working completely in Mint 19.1. I don’t think it has not been updated since Ubuntu 14.04 / Mint 17, so users have been adding workarounds to use it. This guide is about the best I’ve seen but the command primusrun still can’t be used. Besides the package bumblebee, you need to install bumblebee-nvidia and primus and configure some files.
https://float-middle.com/ubuntu-18-04-s ... vidia-390/
salvipeter

Re: Optirun uses wrong display

Post by salvipeter »

roblm wrote: Wed Mar 20, 2019 4:34 pm This guide is about the best I’ve seen [..]
https://float-middle.com/ubuntu-18-04-s ... vidia-390/
Thank you for the answer. I tried most of the things this guide says; also I found this bug report very useful:
https://github.com/Bumblebee-Project/Bu ... issues/971

In the end, I installed virtualgl, and now at least I can use GLX-dependent programs with

Code: Select all

optirun -b virtualgl <program>
Locked

Return to “Graphics Cards & Monitors”