Skip to content

Help getting the official Optimus support working

A while back, I had NVIDIA's official Optimus support working. My xorg.conf looked like this and my .xinitrc looked like this.

I had xorg-xrandr, xorg-xinit, xf86-video-modesetting, and nvidia installed.

However, I went back to just using Intel for a while, and when I recently tried to use Nvidia again, it won't work. The only thing changed is my xorg.conf, which now looks like this as per the updated Optimus page here. When I attempt to start X, I get the "no screens found" error. The issue sees to be something involving "no matching config section for screen 0"

Has this happened to anyone else? Any suggestions?

EDIT: Just found something interesting in my Xorg.0.log, that happens before any errors:

(WW) Warning, couldn't open module intel

EDIT 2: Never mind; that seems to have been an issue with a remnant of the intel driver. Just reinstalled; now I'm noticing this:

(EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0

EDIT 3: After adding Option "UseDisplayDevice" "none" after Option "AllowEmptyInitialConfiguration, that error is gone. Now I'm getting

(EE) Screen 0 deleted because of no matching config section

Edited 31 Mar 2014. We only hold this version.

10 points17 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
10 · 100% up
Kind
Text
ID
21rye2

18 comments

Have you tried installing bumblebee?
community/bumblebee 3.2.1-3
NVIDIA Optimus support for Linux through VirtualG

3 points

I had a similar error to you (Op) when trying to use bumblebee with bbswitch. This fixed it for me:

Quoting from: https://wiki.archlinux.org/index.php/bumblebee

'"Failed to initialize the NVIDIA GPU at PCI:1:0:0 (GPU fallen off the bus)

add rcutree.rcu_idle_gp_delay=1 to the GRUB_CMDLINE_LINUX_DEFAULT parameter located in /etc/default/grub (don't forget the # grub-mkconfig -o /boot/grub/grub.cfg).'

I am not sure if this kernel parameter workaround fixes a bug specific to bumblebee or not. More info here: https://github.com/Bumblebee-Project/Bumblebee/issues/455

1 points
unknown author1 hidden

No, I have no interest in using a third-party solution. I don't strictly need the Optimus support and I don't like using third-party hacks when there's supposed to be official support.

0 points

Use intel instead of modesetting

1 points
unknown author11 hidden

nvidia-libgl and mesa-libgl are conflicting packages. What you suggest is impossible.

-1 points

I have xf86-video-intel, intel-dri, nvidia, and mesa-libgl all happily installed together. I recall having to (re)install these together in order to avoid dependency problems.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.