mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
3f1054b1ec
Note: it relies heavily on 'virtualgl'. This also makes the approach taken by bumblebee not very effective. So, this package is actually mainly useful for shutting down your card so that it does not consume power/produce heat. See the comments in bumblebee/default.nix svn path=/nixpkgs/trunk/; revision=32036
50 lines
837 B
Plaintext
50 lines
837 B
Plaintext
Section "DRI"
|
|
Mode 0666
|
|
EndSection
|
|
|
|
Section "ServerLayout"
|
|
Identifier "Layout0"
|
|
Screen "Screen1"
|
|
Option "AutoAddDevices" "false"
|
|
EndSection
|
|
|
|
Section "Module"
|
|
Load "dbe"
|
|
Load "extmod"
|
|
Load "glx"
|
|
Load "record"
|
|
Load "freetype"
|
|
Load "type1"
|
|
EndSection
|
|
|
|
Section "Files"
|
|
EndSection
|
|
|
|
Section "Device"
|
|
Identifier "Device1"
|
|
Driver "nvidia"
|
|
VendorName "NVIDIA Corporation"
|
|
Option "NoLogo" "true"
|
|
Option "UseEDID" "false"
|
|
Option "ConnectedMonitor" "CRT-0"
|
|
EndSection
|
|
|
|
Section "Screen"
|
|
Identifier "Screen1"
|
|
Device "Device1"
|
|
Monitor "Monitor0"
|
|
DefaultDepth 24
|
|
SubSection "Display"
|
|
Depth 24
|
|
EndSubSection
|
|
EndSection
|
|
|
|
Section "Extensions"
|
|
Option "Composite" "Enable"
|
|
EndSection
|
|
|
|
Section "Monitor"
|
|
Identifier "Monitor0"
|
|
Option "DPMS"
|
|
EndSection
|