KDE Plasma 6 external monitor display freezes whilst gaming (SOLVED)


Recommended Posts

Hi, I did not know where to put this but I still wanted to create a post so that anybody that faces the same issue can have  a solution.

On my laptop (Asus AMD Advantage ROG Strix G513QY_G513QY) I have the integrated GPU that comes with my processor and the dedicated GPU which is a 6800m.

On KDE Plasma 6 I was having the issue that the moment a game was being started the external display would completely freeze (NOTE, EXTERNAL DISPLAY CONNECTED BY USB-C HUB, NOT THE HDMI PORT). Originally I thought that this was because of some sort of incompatibility with proton but this was quickly ruled out in several other PCs that I have with both AMD and NVIDIA hardware. Pressing the super key would actually bring the KDE menu and the display would seemingly unfreeze, but when setting the focus back in the game again the display would freeze again.

The systems were everything has been working wonders are Desktops and in them I have arch running with no issues also with KDE.

The only clue that I had is that if I ran dmesg I would get several errors with

*ERROR* Failed to pin framebuffer with error -12

Then for whatever reason it occurred to me that there it was some sort of conflict between the iGPU and dGPU.

Then I followed a similar approach from https://discussion.fedoraproject.org/t/display-rendering-is-slow-on-plasma-6-on-an-external-monitor/114143/18 and decided to do the same but with my own Ids, that is:

            Add the following in /etc/environment
                KWIN_DRM_DEVICES="/dev/dri/by-path/pci-0000\:03\:00.0-card:/dev/dri/by-path/pci-0000\:08\:00.0-card"

            The above example is to indicate that the prioritised gpu to render the screen will be the one at the 0000:03:00.0 PCI adress
            (RX 6800M DGPU) and, in case that gpu is missing, it will use the one at 0000:08:00.0 which is the integrated GPU in the R9 5980HX CPU.
            To get these numbers please use lspci which will return the correct PCI paths which you’ll have to change in the environment variable.

Please note that lspci does only return one value with lspci | grep VGA (as mentioned in the post) therefore I listed all devices without the grep.

I rebooted and that was that, it solved the issue and now the screen does not freeze anymore.

Hope this helps anybody as it did for me (I looked for a solution for about 4 months :P but I simply could not put it into words to look for them into google)

 

Edited by Arceles
On 08/04/2025 at 22:30, Mindovermaster said:

Thanks, Arceles. A friend of mine had this problem as well. I can now point him to this.. :laugh:

Plasma 6 was supposed to address some multigpu shennanigans like this, but I'm betting that for this particular case since lspci does not say VGA in the dedicated gpu Plasma 6 had this issue.

I normally do not game in this laptop (it is mostly used for photo and video editing on the go) that is why I also did not looked further into the issue.

Glad that it helps somebody, cheers!

  • Thanks 1

Most newer laptops have HDMI, not VGA. Nothing except servers use VGA anymore.

Prolly because it is an old architecture, they never worried about it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Did you watch the keynote? It is way beyond what is described in this article. Looks interesting. Now it is time for them to deliver unlike what happened in 24.
    • It pretty much has to be compatible with MS Office or it is going nowhere. The rest of the world runs office including Europe. If it is not compatible it will not survive.
    • Incredible deal gets you free NVMe 512GB SSD with AMD AM5 B850 motherboard for only $150 by Sayan Sen Earlier this week we covered the story of an interesting PC case wherein you can build two full-size computers inside it as in it can house and run an AMD and an Intel system simultaneously. Speaking of building PCs, these are hard times to make one for sure as prices are often very high except during flash sales or discounts. If you are in the market for a 1080p gaming PC then Nvidia's 8GB RTX 5060 Ti is currently on sale for just $330 and you get the latest James Bond game too, for free. Speaking of which, right now there is another incredible sale going on as we can get a free 512 GB NVMe SSD from TeamGroup in the form of the G50 alongside the purchase of an AMD B850 socket AM5 motherboard for only $150 (purchase link under the specs table down below). Getting an AM5 motherboard now in 2026 will be a wise investment for sure, especially since AMD confirmed its commitment to support the socket till at least 2029. The MSI PRO B850M-P WIFI is a micro-ATX motherboard that is compatible with AMD Ryzen 9000 series processors. Since it is AM5, the motherboard works with DDR5 memory and includes MSI’s Memory Boost technology, along with EXPO and XMP support. Connectivity features include built-in Wi-Fi 7 paired with a 5G LAN solution. The board offers a PCIe 5.0 M.2 slot with MSI’s EZ M.2 Shield Frozr II thermal solution, that is said to help maintain SSD performance by providing ample cooling against overheating. The technical specifications of the MSI PRO B850M-P WIFI motherboard are given in the table below: The free TeamGroup T-FORCE G50 NVMe SSD is a PCIe Gen4 and as such it promises to deliver sequential read speeds of up to 5,000 MB/s, helping accelerate game loading, file transfers, and everyday computing tasks. The SSD features an InnoGrit controller and SLC caching technology to support consistent performance. An ultra-thin, patented graphene heatsink is included to aid in heat dissipation. The NAND flash is based on TLC which means it has plenty of endurance up its sleeve. The random performance may not be as amazing as other drives with DRAM though. Still it should be very good since it can access system memory via HMB to use it as its DRAM cache. The technical specifications of the TeamGroup 512GB G50 NVMe SSD are given in the table below: Get it at the link below: MSI PRO B850M-P WIFI AM5 AMD motherboard + Team Group T-FORCE G50 512GB SSD (free gift): $149.99 (Sold and Shipped by Newegg US) This Newegg deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • RapidRAW 1.5.7 by Razvan Serea RapidRAW is a beautiful, non-destructive, GPU‑accelerated RAW image editor designed for speed and simplicity. It uses a lightweight (~30 MB), efficient code base built with Rust, React and Tauri. Ideal for Lightroom workflows, it offers rich editing tools—exposure, contrast, highlights, shadows, whites/blacks, tone curves, HSL mixer, dehaze, vignetting, film grain, sharpening, clarity and noise reduction—processed in real-time on the GPU. Features include intuitive masking (brush, linear, radial, AI-powered subject and foreground detection), generative edit layers (via ComfyUI), 32‑bit precision, and full RAW format support through rawler. RapidRAW also provides library management (folder navigation, ratings, metadata, EXIF viewer), batch operations, export presets (JPEG/PNG/TIFF), sidecar editing (.rrdata), undo/redo history, customizable UI themes, smooth animations, resizable panels, and preset copy/paste. A modern high-performance Lightroom alternative with polished UX and creative tools, RapidRAW brings powerful photo editing to photographers seeking speed, responsive GPU feedback, and streamlined workflows. RapidRAW v1.5.7 release notes: This update serves as a direct follow-up to the core architectural migration introduced in v1.5.6. While the transition to a more modular state management system marked a significant step forward for RapidRAW's stability and long-term maintainability, it also introduced several edge cases and regressions within the library and editing workflows. This release focuses on addressing those issues, with a particular emphasis on a complete overhaul of library performance to ensure smooth and responsive browsing following the refactoring. It also resolves inconsistencies in the copy-and-paste workflow and expands RapidRAW's accessibility by adding support for eight additional languages. [full changelog] Download: RapidRAW 1.5.7 | ARM64 | ~20.0 MB (Open Source) View: RapidRAW Home Page | Screenshot | Other operating systems Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Thank god they got rid of the disgusting looking sidebars, and the corner radius looks much better, too. Two things I hated on day one, and never got used to.
  • Recent Achievements

    • Very Popular
      Captain_Eric earned a badge
      Very Popular
    • One Month Later
      amusc earned a badge
      One Month Later
    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      PsYcHoKiLLa
      223
    3. 3
      ATLien_0
      87
    4. 4
      Steven P.
      80
    5. 5
      +Edouard
      80
  • Tell a friend

    Love Neowin? Tell a friend!