Comments (1)
Fixed this by using the modesetting driver instead of "intel" as I didn't have the intel drivers installed - this is as recommended by the Debian wiki. However it is personal preference what drivers you choose to use - note to use intel drivers they must be installed.
You will also need to do the following as per the multi-monitor bumblebee wiki:
xrandr --listproviders (don't need to do this one but makes more sense to work out which monitors are in which order)
xrandr --setprovideroutputsource 1 0
xrandr --output eDP-1-1 --mode 1920x1080 --primary --preferred --output HDMI-0 --right-of eDP-1-1
You will also need to find the ModulePath "/usr/lib/x86_64-linux-gnu/" to libGL.so directory (not sure if directory has changed since new updates and thus hasn't been updated in the bumblebee multi-monitor wiki).
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 460.32.03
Section "ServerLayout"
Identifier "Layout0"
#Screen 0 "intel" leftof "DiscreteNvidia"
Screen 0 "DiscreteNvidia"
Inactive "intel"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
## NVIDA GPU DEVICE ##
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
# Option "DPI" "96 x 96" # Uncoment to fix the size of fonts
Option "ConstrainCursor" "off"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "DiscreteNvidia"
Device "DiscreteNvidia"
Monitor "HDMI-0"
# Uncomment this line if your computer has no display devices connected to
# the NVIDIA GPU. Leave it commented if you have display devices
# connected to the NVIDIA GPU that you would like to use.
# Option "UseDisplayDevice" "none"
Option "AllowEmptyInitialConfiguration" "on"
# Option "IgnoreDisplayDevices" "CRT"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Monitor"
Identifier "HDMI-0"
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
#Option "leftof" "eDP1"
#Option "Position" "1920 0"
VendorName "Dell Inc. 24inch"
ModelName "P2417H"
EndSection
## END NVIDA GPU DEVICE ##
## START INTEL ##
Section "Device"
Identifier "intel"
#intel graphic card is 2007 and newer, try uninstalling the xserver-xorg-video-intel package and use the builtin modesetting driver (xserver-xorg-core) instead.
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "uxa"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
# Monitor "eDP1"
EndSection
## The montior section isn't needed because we are using xrandr to manage this instead of XORG
#Section "Monitor"
# Identifier "eDP1"
# Option "PreferredMode" "1920x1080"
# Option "TargetRefresh" "60"
# Option "rightof" "Monitor0"
# Option "Position" "0 0"
# VendorName "Intel"
# ModelName "Intel"
#Option "DPMS"
#EndSection
## ENG INTEL ##
Section "Files"
# Module path should point to the libGL.so directory use sudo ldconfig -p | grep libGL.so to find
ModulePath "/usr/lib/x86_64-linux-gnu/"
ModulePath "/usr/lib/xorg/modules/"
EndSection
from bumblebee.
Related Issues (20)
- Cannot run vmware by optirun
- [Doubt] Do I need to install Bumblebee ? HOT 1
- Error compiling with gcc 10.2.0 HOT 2
- bumblebee + vm
- Unloading module nvidia-drm in use on Ubutnu 20.10 HOT 1
- [XORG] (EE) Failed to load module "glx" (module does not exist, 0) HOT 4
- Bumblebee does not work in SecureBoot
- unreferenced object in kmemleak HOT 1
- Two graphic cards and no HDMI out
- Bad Performance With Bumblebee HOT 2
- Nvidia card always starts turned ON
- Proprietary drivers: Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d" HOT 10
- Optimus AMD + NVidia HOT 2
- Website partially unreachable (on IPv6 or without www) HOT 1
- [issue] [primus] [steam] `primus: fatal: failed to load ligGL.so`
- [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module.
- [ERROR]No integrated video card found, quitting. HOT 1
- [ERROR]No discrete video card found, quitting
- Download page not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bumblebee.