steamcompmgr: Always composite our first frame
AMDGPU gets very very upset if the first commit that also does display bringup+modeset has multiple planes. :(
This commit is contained in:
parent
9c8948cec4
commit
497c07387d
1 changed files with 2 additions and 1 deletions
|
@ -1509,6 +1509,7 @@ paint_all()
|
|||
return;
|
||||
}
|
||||
|
||||
bool bWasFirstFrame = g_bFirstFrame;
|
||||
g_bFirstFrame = false;
|
||||
|
||||
bool bDoComposite = true;
|
||||
|
@ -1531,7 +1532,7 @@ paint_all()
|
|||
const bool bOverrideCompositeHack = false;
|
||||
#endif
|
||||
|
||||
if ( BIsNested() == false && alwaysComposite == false && bCapture == false && bOverrideCompositeHack == false )
|
||||
if ( BIsNested() == false && alwaysComposite == false && bCapture == false && bOverrideCompositeHack == false && bWasFirstFrame == false )
|
||||
{
|
||||
int ret = drm_prepare( &g_DRM, &composite, &pipeline );
|
||||
if ( ret == 0 )
|
||||
|
|
Loading…
Reference in a new issue