我的系统环境如下: Linux *** 5.10.0-amd64-desktop #20.00.50.22-cve SMP Thu Mar 31 11:02:50 CST 2022 x86_64 GNU/Linux uos家庭版21.3 64位 内核版本5.10.0-amd64-desktop (deepin系统也可参考) deepin和uos上述问题的根源可能来自nvidia的显卡驱动问题。 deepin-wine应用无法打开的时候切换至NVIDIA显卡模式(INTEL+NVIDIA双显卡)即可。主要切换方法可参考 https://github.com/zty199/dde-dock-switch_graphics_card/releases/ 以及 https://bbs.deepin.org/post/213969 双屏显示的问题主要可参考/etc/X11/xorg.conf文件,内容如下: # dde-dock-graphics-plugin: X configuration file generated by dde-dock-plugins
# dde-dock-graphics-plugin: X configuration file generated by dde-dock-plugins
# dde-dock-graphics-plugin: version 1.8.2
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "DGPU" 0 0
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Module"
Load "modesetting"
Section "Device"
Identifier "GFX0"
Driver "modesetting"
VendorName "Intel Corporation"
BusID "PCI:0:2:0"
Identifier "PEGP"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
Section "Screen"
Identifier "IGPU"
Device "GFX0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
Identifier "DGPU"
Device "PEGP"
Option "AllowEmptyInitialConfiguration"
Option "Coolbits" "28"
修改 /etc/lightdm/lightdm.conf中 display-setup-script=/etc/lightdm/display_setup.sh 新建 /etc/lightdm/display_setup.sh
/etc/lightdm/lightdm.conf
display-setup-script=/etc/lightdm/display_setup.sh
/etc/lightdm/display_setup.sh
内容如下: #!/bin/sh
内容如下:
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --dpi 96
#主要针对的问题解决方法如上所示。
Featured Collection
Popular Ranking
Popular Events
我的系统环境如下:
Linux *** 5.10.0-amd64-desktop #20.00.50.22-cve SMP Thu Mar 31 11:02:50 CST 2022 x86_64 GNU/Linux
uos家庭版21.3 64位 内核版本5.10.0-amd64-desktop (deepin系统也可参考)
deepin和uos上述问题的根源可能来自nvidia的显卡驱动问题。
deepin-wine应用无法打开的时候切换至NVIDIA显卡模式(INTEL+NVIDIA双显卡)即可。主要切换方法可参考
https://github.com/zty199/dde-dock-switch_graphics_card/releases/ 以及
https://bbs.deepin.org/post/213969
双屏显示的问题主要可参考/etc/X11/xorg.conf文件,内容如下:
# dde-dock-graphics-plugin: X configuration file generated by dde-dock-plugins# dde-dock-graphics-plugin: version 1.8.2Section "ServerLayout"Identifier "Layout0"Screen 0 "DGPU" 0 0Option "AllowNVIDIAGPUScreens"EndSectionSection "Module"Load "modesetting"EndSectionSection "Device"Identifier "GFX0"Driver "modesetting"VendorName "Intel Corporation"BusID "PCI:0:2:0"EndSectionSection "Device"Identifier "PEGP"Driver "nvidia"VendorName "NVIDIA Corporation"BusID "PCI:1:0:0"EndSectionSection "Screen"Identifier "IGPU"Device "GFX0"DefaultDepth 24SubSection "Display"Depth 24EndSubSectionEndSectionSection "Screen"Identifier "DGPU"Device "PEGP"DefaultDepth 24Option "AllowEmptyInitialConfiguration"SubSection "Display"Depth 24EndSubSectionOption "Coolbits" "28"EndSection修改
/etc/lightdm/lightdm.conf中display-setup-script=/etc/lightdm/display_setup.sh新建
/etc/lightdm/display_setup.sh内容如下:#!/bin/shxrandr --setprovideroutputsource modesetting NVIDIA-0xrandr --autoxrandr --dpi 96#主要针对的问题解决方法如上所示。