无事水,但要好好学习
Nothing else, but stil
|

Nolca

园龄:6年9个月粉丝:12关注:9

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

本文作者:Nolca

本文链接:https://www.cnblogs.com/nolca/p/18211727

版权声明:本作品采用 收益分享revenue sharing 许可协议进行许可。

posted @   Nolca  阅读(61)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 ⏩intro 山姆精
  2. 2 🎸吉他 马叉
  3. 3 ☁升调 山姆精
  4. 4 🐦Flutter Virtual Riot/Madi
  5. 5 🎶纯律 山姆精
  6. 6 👻yeah~Color Bass! VR
☁升调 - 山姆精
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.