独立显卡安装黑屏问题

来源:互联网 发布:js判断json是否存在 编辑:程序博客网 时间:2024/04/30 07:03

LightDM

For the LightDM display manager:

/etc/lightdm/display_setup.sh
#!/bin/shxrandr --setprovideroutputsource modesetting NVIDIA-0xrandr --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

1 0
原创粉丝点击