独立显卡安装黑屏问题

LightDM

For the LightDM display manager:

/etc/lightdm/display_setup.sh
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

Make the script executable:

# chmod +x /etc/lightdm/display_setup.sh

Now configure lightdm to run the script by editing the [Seat:*] section in/etc/lightdm/lightdm.conf:

/etc/lightdm/lightdm.conf
[Seat:*]
display-setup-script=/etc/lightdm/display_setup.sh

Now reboot and your display manager should start.


转载自:https://wiki.archlinux.org/index.php/NVIDIA_Optimus

你可能感兴趣的:(独立显卡安装黑屏问题)