LINUX.ORG.RU

История изменений

Исправление ZenitharChampion, (текущая версия) :

/etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 331.20  (buildmeister@swio-display-x86-rhel47-05)  Wed Oct 30 18:20:53 PDT 2013

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia" 0 0
    Inactive "intel"
EndSection


Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Monitor "Monitor0"
    Option "UseDisplayDevice" "none"
    SubSection "Display"
        Virtual     1600 900
        Modes "nvidia-auto-select"
    EndSubSection
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
#    Monitor "Monitor0"
EndSection

/etc/xinit/xinitrc

...

# 
# finally start the window manager
#
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
unset WINDOW_MANAGER STARTUP
exec $WINDOWMANAGER ${1+"$@"}

# call failsafe
exit 0

В конце первого конфига надо поменять разрешение экрана. Второй конфиг нужно не создавать, а дописывать. Вот эти команды:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

поместить перед командой старта иксов. Работает только с автологином, так как экран логина есть, но его не видно. Не работает HDMI.

Исходная версия ZenitharChampion, :

/etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 331.20  (buildmeister@swio-display-x86-rhel47-05)  Wed Oct 30 18:20:53 PDT 2013

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia" 0 0
    Inactive "intel"
EndSection


Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Monitor "Monitor0"
    Option "UseDisplayDevice" "none"
    SubSection "Display"
        Virtual     1600 900
        Modes "nvidia-auto-select"
    EndSubSection
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
#    Monitor "Monitor0"
EndSection

/etc/xinit/xinitrc

...

# 
# finally start the window manager
#
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
unset WINDOW_MANAGER STARTUP
exec $WINDOWMANAGER ${1+"$@"}

# call failsafe
exit 0