Optirun - Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version

I’m trying to use my GPU with the game Counter-Strike 1.6 using Wine on Manjaro (Linux).

The following error occurs:

Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.


optirun wine hl.exe -- hl.exe -console -game cstrike -full -noipx -toconsole +connect

GPU model:

NVIDIA Corporation GF108M [GeForce GT 630M]

NOTE I: It’s an NVIDIA with Optimus technology.

NOTE II: The driver in use is “video-hybrid-intel-nouveau-bumblebee”.

To the failure below…

Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

… does not happen anymore do the following.

Remove the bumblebee and its dependencies:

Remove the bumblebee and video-hybrid-intel-nouveau-bumblebee to avoid the failure…

Error: config 'video-hybrid-intel-nvidia-bumblebee' conflicts with config(s): video-hybrid-intel-nouveau-bumblebee

… when trying to run the command “mhwd -a pci nonfree 0300 -f”.

# pacman -Rdcs bumblebee
# mhwd -r pci video-hybrid-intel-nouveau-bumblebee

Install the most suitable proprietary driver for your GPU:

# mhwd -a pci nonfree 0300 -f

NOTE: The above command will automatically install the best driver for your GPU.

To test:

$ vblank_mode=0 primusrun glxgears -info

If all goes well something like this will be displayed:


NOTE I: The option “vblank_mode = 0” is only for a “benchmark” purpose, that is, for the GPU run with all its power. In normal execution this is not necessary unless you want to waste GPU processing power and electrical power.

NOTE II: optirun is deprecated, use primusrun instead.

Primus bridge:

In general, using the primus bridge gives better performance then using the default VirtualGL bridge (optirun). In bumblebee 4.0 (coming soon) primus will become the default bridge and VirtuaGL will need to be called explicitly if you still want it. Also beginning with bumblebee 4.0 (coming soon) the VirtuaGL dependency will be replaced with a primus dependency instead. So you might not even have VirtuaGL installed by default in the future.

So I recommend set Bridge=primus in /etc/bumblebee/bumblebee.conf. In this way you won’t have to specify it on the command line (“optirun -b primus”).

NOTE: By now primusrun do not accept options as optirun does. Setting primus as the bridge for optirun provides more flexibility.


To check which GPUs are available on Manjaro (Linux) type…

$ lspci | egrep "(VGA|3D)"


Newbie questions about hybrid Nvidia and Intel GPU drives + TUTORIAL


This thread was originally created by me in…

I just transposed it to the official Manjaro forum


To avoid…

:: xf86-video-intel and xorg-server are in conflict (xorg-server<1.19)

… fail when running “mhwd -a pci nonfree 0300 -f” command try…

# pacman -Rc xorg-server

… then …

# pacman -S xf86-input-libinput

… then reinstall…

# pacman -S xorg-server

… and answer “yes” to all.


If you are using a custom kernel you will probably have to recompile some extra modules. More details about this process here…


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