Linux Xorg与Vsync不兼容,使用独显启动,在外置显示器上有时会卡死

https://forums.linuxmint.com/viewtopic.php?t=420491

解决方法1

切换Wayland
NVIDIA提出的Xwayland的显式GPU同步现在终于合并到XOrg服务器中
mint的bug:Edge检测不到ctrl/alt/shift键了
ue5.4.1开始对wayland的支持了

解决方法2

添加Option "UseNvKmsCompositionPipeline" "false"/etc/X11/xorg.conf.d/my-vsync-fix.conf.bak
也会导致xorg服务器优先占用独显显存,额外占用150MB显存占用,可以在需要的时候把.bak注释掉,重启cinnamon
Section "Screen"有多个的情况下,优先选第1个来托管xorg桌面服务器

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    Screen      1  "Screen1"
EndSection

Section "Device"
    Identifier     "iGPU"
    Driver         "modesetting"
    VendorName     "AMD Corporation"
    BusID          "PCI:6:0:0"
EndSection

Section "Device"
    Identifier     "dGPU"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "dGPU"
    Option "UseNvKmsCompositionPipeline" "false"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "iGPU"
EndSection

相关链接

https://www.vsynctester.com/
https://forums.developer.nvidia.com/t/bug-having-two-monitor-connected-x11-causes-initial-stutter-when-opening-steam/278749
https://www.reddit.com/r/linux_gaming/comments/tdt1gx/looking_for_people_having_stutter_issues_with/

https://www.reddit.com/r/unrealengine/comments/om9hg5/broken_fontlanguage_on_popup_window_unreal_editor/
https://forums.unrealengine.com/t/unreal-editor-massive-performance-drop-on-linux-from-5-3-to-5-4/1766695/2
https://forums.unrealengine.com/t/ue-67487-menu-lag-on-linux/465647

posted @ 2024-05-24 21:28  Nolca  阅读(10)  评论(0编辑  收藏  举报