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

            Bug ID: 522982
           Summary: Re enable triple buffering and testing of
                    KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 on modern nvidia
                    hybrid drivers
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: task
          Priority: NOR
         Component: platform-drm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
Request to re enable nvidia triple buffering (on external monitors), this
feature was disabled a long time ago in 6.2 because of #487833, #494547,
#494407 but those issues mainly were fixed, i have tested for 1 hybrid laptop
on 3050 with intel i5 igpu on 595+ nvidia driver version that had re enabled
triple buffering through environment variable
(KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0) removes half fps problem that was
described mainly in nvidia open gpu kernel issue #650. need someone who can
test additionally on other hybrid laptops with modern nvidia drivers  

STEPS TO REPRODUCE
1. Connect to hybrid laptop a external monitor 
2. Observe half of unstable fps on external monitor through glxgears 

STEPS TO TEST
1. Put KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 in /etc/envoirment if kwin didn't
get variable install kwin source code and change
src/backends/drm/drm_output.cpp at line 50 
// from this (disabled triple buffering): 
if (m_gpu->atomicModeSetting() && ((!s_disableTripleBufferingSet &&
!m_gpu->drmDevice()->isNvidia()) || (s_disableTripleBufferingSet &&
!s_disableTripleBuffering))) {
// to this: 
if (m_gpu->atomicModeSetting() && ((!s_disableTripleBufferingSet && true) ||
(s_disableTripleBufferingSet && !s_disableTripleBuffering)))
 And recompile source code 
2. Restart or logout and log back in  
3. Test with glxgears, in games, in benchmarks, and etc. it should be close to
monitor refresh rate 

EXPECTED RESULT
Should be close to refresh of monitor 

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.0 
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1 

ADDITIONAL INFORMATION

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

Reply via email to