Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optimus Nvidia setup need help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
voncloft
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2014
Posts: 99

PostPosted: Sat May 23, 2015 6:37 am    Post subject: Optimus Nvidia setup need help Reply with quote

I have searched every forum High and low on how to get my Samsung RF711 laptop to work with NVIDIA + Intel:
Including this guide: https://wiki.gentoo.org/wiki/NVIDIA_Driver_with_Optimus_Laptops

I have tried bumblebee which sort of works, but I can't turn on KDE desktop effects for opengl it says to check for a /etc/X11/xorg.conf file (which I don't know how to configure for a bumblebee considering /etc/bumblebee/xorg.conf.nvidia takes care of it)

Which results in a black screen no matter where I put the xrandr modeset command. (occasionally I will get cannot open display)

I am at a loss and literally pulling my hair out on this!! :x

My VGA intel card is at PCI:1:0:0
while my nvidia is 0:2:0

Any Ideas on how I can get this working?
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1633
Location: United Kingdom

PostPosted: Sun May 24, 2015 12:25 am    Post subject: Reply with quote

Just in case it's of any help to you, here's the xorg.conf that worked for me on a Clevo laptop with NVIDIA and Intel video hardware:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "nvidia" 0 0
    Inactive       "intel"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
 
#Section "Files"
#EndSection
 
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
 
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection
 
Section "Monitor"
    Identifier     "Monitor0"
    Option         "DPMS"
EndSection
 
Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection
 
Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    BusID          "PCI:0:2:0"
EndSection
 
Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "UseDisplayDevice" "none"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
# Comment out the above line and uncomment
# the line below if the DM log-in screen is tiled.
#        Virtual     1920 1080
    EndSubSection
EndSection
 
Section "Screen"
    Identifier     "intel"
    Device         "intel"
    Monitor        "Monitor0"
EndSection

_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
voncloft
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2014
Posts: 99

PostPosted: Sun May 24, 2015 3:19 am    Post subject: Reply with quote

Thanks, I had some time away from the issue and stop being tunnel visioned.

I was going over my kernel setup it looks like I shouldn't of used genkernel - it left out alot of modesetting for the intel drivers.

I am going to try and compile it again and see what happens.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum