Hey everyone,

I have a gaming laptop with fedora installed and in general have no problems with it. However I would like to play some games on it from Steam.

So I installed the Nvidia drivers and when the laptop is not using an external monitor it’s great, the games performance are 10/10.

However I most often use my laptop plugged into an ultrawide monitor and when I do that with the Nvidia driver active all sorts of strangle artifacts show up on the screen and the edges go blue and shudder, this slowly gets worse over the course of about 15 minutes until I cannot use the laptop at all and need to reboot.

Using the built in drivers the ultrawide monitor is completely fine, but games run very poorly.

Does any one have any experience with this, and any idea if there’s something I can do to correct it?

  • tal
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 days ago

    How do I even know if I’m using plasma?

    It’s part of KDE, if you’re using that. The default in Fedora is GNOME, but you may have selected KDE when installing Fedora.

    I don’t, myself, use KDE, so I’m afraid that I can’t describe what it looks like.

    how do I apply that flag?

    It looks like the convention is for the display manager to source /etc/profile and files in /etc/profile.d prior to starting the desktop environment.

    So, as root, create a text file called something like /etc/profile.d/plasma-triplebuffer-fix.sh that contains:

    export KWIN_DRM_DISABLE_TRIPLE_BUFFERING=1
    

    Then log out and log in again. If it’s worked correctly, then that environment variable will set set in all programs after you’ve logged in: if you run, in a shell, set|grep KWIN_DRM and it should show that value set.

    If it doesn’t fix the problem, then just go ahead and delete the file.

    EDIT: If you are using Plasma, I’d check the version first, because they say that they’re gonna have a workaround in 6.1.3.