https://bugs.kde.org/show_bug.cgi?id=433714

            Bug ID: 433714
           Summary: Set "DRI_PRIME=1" if .desktop file contains
                    `PrefersNonDefaultGPU=true`
           Product: frameworks-kservice
           Version: 5.74.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: ndrzj1...@relay.firefox.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Try to run .desktop file with `PrefersNonDefaultGPU=true`
2. "DRI_PRIME=1" is not set
3. 

OBSERVED RESULT
"DRI_PRIME=1" is not set

EXPECTED RESULT
"DRI_PRIME=1" is set

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.10
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Related pr:
https://invent.kde.org/frameworks/kservice/-/merge_requests/24

Gnome does this:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1804
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/39a840e2c3da5dc55059e25ccf8d80f2240c66cc#2465e2a3c5eae7616f025bcbb167e92602dac64f_1230_1233

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to