Bug 276498

Summary: mplayer blinks with disabled compositing
Product: [Plasma] kwin Reporter: TomasV <tv>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description TomasV 2011-06-26 01:43:22 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

When playing a movie with mplayer, it blinks (turns black for a while) under two conditions:

1) the compositing is disabled
2) a bouncing cursor (displayed when an app is starting) is located in the mplayer window

With compositing, it works just fine. Other players (e.g. dragon) work fine as well.

Reproducible: Always

Steps to Reproduce:
- play a movie with mplayer
- start an app (so that the bouncing icon is displayed)
- move the mouse over the mplayer window

Actual Results:  
The mplayer window blinks - instead of the movie, a black area is displayed repeatedly (about twice per second).

Expected Results:  
No blinking.

Not sure if it's related, but I'm using nvidia driver 275.09.07 (but I've tried to downgrade to 260.19.44 and it didn't help).
Comment 1 Thomas Lübking 2011-06-26 06:49:30 UTC
No kwin issue and probably won't "fix" either.

The bouncing cursor thing is probably implemented as shaping or moving XWindow, at least it exposes the background what triggers a recall on the window, what fails on at least the useed mplayer sink.

Possible solutions:
- re-enable the backing store in Xorg.conf and hope that it's still implemented in the driver (if you do not use compositing, this makes sense anyway)
- try another mplayer -vo (eg. gl "mplayer -vo "gl:noscaled-osd:osdcolor=0xaaffffff:rectangle=0:glfinish:swapinterval=1:yuv=2", you can add that to the mplayer config as well)
- simply do not use the nasty blinking cursor thing ("application and system" / "launch feeback" in systemsettings)