[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 351118] New: mpv fullscreen causes effects to not respond
From:       Mark <markg85 () gmail ! com>
Date:       2015-08-09 12:34:54
Message-ID: bug-351118-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 351118
           Summary: mpv fullscreen causes effects to not respond
           Product: kwin
           Version: 5.3.1
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: effects-various
          Assignee: kwin-bugs-null@kde.org
          Reporter: markg85@gmail.com

Hi,

When you run the mpv media player in fullscreen, it will soft crash i \
think. The result is a popup showing: "desktop effects were restarted due \
to a graphics reset"

This is on a dualscreen setup!

Reproducing this is difficult since it only happens in one case:
- fresh boot
- open mpv with like this: "mpv http://www.npo.nl/live/npo-1" Note, you \
need "youtube-dl" for that to work. It will open the live stream of the \
dutch NPO1 channel. 
- go to fullscreen mode (press f). Mpv now plays the video fullscreen on \
one monitor.
- now go to another monitor and do something else. Browsing the web or what
not.

Within seconds the image completely freezes (only the mouse cursor remains
active) for about 20 seconds. Sound continues to play fine, but you can't \
do anything at all. After the ~20 second freeze you see a popup with the \
text: "desktop effects were restarted due to a graphics reset"..

Afterwards everything is fine. You can stop mpv, start another stream, play \
it fullscreen. No problem at all, no crashes/stalls. It only happens once! \
The very first time you start mpv. I tried restarting kwin to see if that \
makes mpv stall the graphics card for the next run, but it didn't seem to \
be the case. Login/out also didn't help. A real reboot seems to be the only \
way (i know of now) to reproduce this issue.

You probably need as much information as you can get to reproduce this, so \
here we go. This is the kwin output:
kwin_core: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "b" 
fixes: 0x "50"  randr: 0x "14"  sync: 0x "31"  damage: 0x  "11" 

Constructing a KPluginInfo object from old style JSON. Please use
kcoreaddons_desktop_to_json() for
"/usr/lib/qt/plugins/org.kde.kdecoration2/oxygendecoration.so" instead of
kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use
kcoreaddons_desktop_to_json() for
"/usr/lib/qt/plugins/org.kde.kdecoration2/breezedecoration.so" instead of
kservice_desktop_to_json() in your CMake code.
Constructing a KPluginInfo object from old style JSON. Please use
kcoreaddons_desktop_to_json() for
"/usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so" instead of
kservice_desktop_to_json() in your CMake code.
kf5.kservice.sycoca: Trying to open ksycoca from \
"/home/mark/.cache/ksycoca5" Trying to load decoration plugin: 
"/usr/lib/qt/plugins/org.kde.kdecoration2/breezedecoration.so"
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: User timestamp, ASN: 231240
kwin_core: User timestamp, final: 'ID: 41943059 ;WMCLASS: "plasmashell" :
"plasmashell" ;Caption: "Desktop — Plasma" ' : 231240
kwin_core: Activation: No client active, allowing
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: User timestamp, ASN: 271976
kwin_core: User timestamp, final: 'ID: 41943055 ;WMCLASS: "plasmashell" :
"plasmashell" ;Caption: "Desktop — Plasma" ' : 271976
kwin_core: Activation: No client active, allowing
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: User timestamp, ASN: 1022995
kwin_core: User timestamp, final: 'ID: 54525953 ;WMCLASS: "chromium" :
"chromium" ;Caption: "Enter A Bug - Chromium" ' : 1022995
kwin_core: Activation: No client active, allowing
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: User timestamp, ASN: 1127861
kwin_core: User timestamp, final: 'ID: 2097159 ;WMCLASS: "konsole" : \
"konsole" ;Caption: "mark : zsh" ' : 1127861
kwin_core: Activation: No client active, allowing
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: User timestamp, ASN: 824775
kwin_core: User timestamp, final: 'ID: 41943067 ;WMCLASS: "plasmashell" :
"plasmashell" ;Caption: "Plasma" ' : 824775
kwin_core: Activation: No client active, allowing
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
QXcbConnection: XCB error: 8 (BadMatch), sequence: 1273, resource id: \
2097159, major code: 42 (SetInputFocus), minor code: 0
kwin_core: Initializing OpenGL compositing
kwin_core: Choosing GLXFBConfig 0x115 X visual 0x2b depth 24 RGBA 8:8:8:0 \
ZS 0:0
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce GTX 670/PCIe/SSE2
OpenGL version string:                  3.1.0 NVIDIA 352.30
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         352.30
GPU class:                              Unknown
OpenGL version:                         3.1
GLSL version:                           1.40
X server version:                       1.17.2
Linux kernel version:                   4.1.4
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Direct rendering: true 

kwin_core: Initializing fences for synchronization with the X command \
                stream
kwin_core: Color correction: false
kwin_core: 0x20071: Buffer detailed info: Buffer object 1 (bound to
GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP \
memory as the source for buffer object operations.
kwin_core: 0x20071: Buffer detailed info: Buffer object 1 (bound to
GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped \
WRITE_ONLY in SYSTEM HEAP memory (fast).
kwin_core: OpenGL 2 compositing successfully initialized
kwin_core: Vertical Refresh rate  60 Hz ( "primary screen" )
kf5.kservice.sycoca: Trying to open ksycoca from \
"/home/mark/.cache/ksycoca5" Using FBConfig 0x1a8 for visual 0xc4
kwin_core: 0x20071: Buffer detailed info: Buffer object 2 (bound to
GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO
memory as the source for buffer object operations.
Using FBConfig 0x119 for visual 0x2d
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1456, resource id: 0,
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1466, resource id: 0,
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1467, resource id: 0,
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1468, resource id: 0,
major code: 14 (GetGeometry), minor code: 0
kwin_core: screens:  2 desktops:  1
kwin_core: Done.
Using FBConfig 0x1a8 for visual 0xc4
kwin_core: Successfully loaded built-in effect:  "blur"
kwin_core: Successfully loaded built-in effect:  "contrast"
kwin_core: Session path: "/org/freedesktop/login1/session/c4"
kwin_core: Successfully loaded built-in effect:  "dashboard"
kwin_core: Successfully loaded scripted effect:  \
                "kwin4_effect_translucency"
kwin_core: Successfully loaded built-in effect:  "desktopgrid"
kwin_core: Successfully loaded scripted effect:  \
                "kwin4_effect_windowaperture"
kwin_core: Successfully loaded built-in effect:  "highlightwindow"
kwin_core: Successfully loaded scripted effect:  "kwin4_effect_maximize"
kwin_core: Successfully loaded built-in effect:  "kscreen"
kwin_core: Successfully loaded scripted effect:  "kwin4_effect_fade"
kwin_core: Successfully loaded built-in effect:  "logout"
kwin_core: Successfully loaded scripted effect:  \
                "kwin4_effect_dialogparent"
kwin_core: Successfully loaded built-in effect:  "magiclamp"
kwin_core: Successfully loaded scripted effect:  "kwin4_effect_login"
kwin_core: Successfully loaded built-in effect:  "presentwindows"
kwin_core: Successfully loaded built-in effect:  "screenedge"
kwin_core: Successfully loaded built-in effect:  "screenshot"
kwin_core: Successfully loaded built-in effect:  "slide"
kwin_core: Successfully loaded built-in effect:  "slidingpopups"
kwin_core: Successfully loaded built-in effect:  "startupfeedback"
kwin_core: Successfully loaded built-in effect:  "zoom"


dmesg gave nothing around the time of the stall.
journalctl did gave something:

aug 09 14:21:49 Mark-Linux kwin_x11[1489]: kwin_core: 0x20071: Buffer \
                detailed
info: Buffer object 7 (bound to GL_ARRAY_BUFFER_ARB, usage hint is
GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object
operations.
aug 09 14:21:49 Mark-Linux kwin_x11[1489]: kwin_core: 0x20071: Buffer \
                detailed
info: Buffer object 6 (bound to GL_ARRAY_BUFFER_ARB, usage hint is
GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object
operations.
aug 09 14:21:49 Mark-Linux kwin_x11[1489]: kwin_core: 0x20071: Buffer \
                detailed
info: Buffer object 5 (bound to GL_ARRAY_BUFFER_ARB, usage hint is
GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object
operations.
aug 09 14:21:49 Mark-Linux kwin_x11[1489]: kwin_core: 0x20071: Buffer \
                detailed
info: Buffer object 4 (bound to GL_ARRAY_BUFFER_ARB, usage hint is
GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object
operations.
aug 09 14:21:49 Mark-Linux kwin_x11[1489]: kwin_core: 0x20071: Buffer \
                detailed
info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is
GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object
operations.
aug 09 14:21:49 Mark-Linux kwin_x11[1489]: QXcbConnection: XCB error: 3
(BadWindow), sequence: 63211, resource id: 33554434, major code: 18
(ChangeProperty), minor code: 0
aug 09 14:21:49 Mark-Linux kwin_x11[1489]: QXcbConnection: XCB error: 3
(BadWindow), sequence: 63207, resource id: 33554433, major code: 18
(ChangeProperty), minor code: 0


lsmod output:
Module                  Size  Used by
ppdev                  20480  0
parport_pc             28672  0
parport                36864  2 ppdev,parport_pc
fuse                   90112  3
vmw_vsock_vmci_transport    32768  0
vsock                  32768  1 vmw_vsock_vmci_transport
vmw_vmci               61440  1 vmw_vsock_vmci_transport
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   24576  1
fat                    65536  1 vfat
mousedev               20480  0
joydev                 20480  0
snd_hda_codec_hdmi     53248  1
intel_rapl             20480  0
iosf_mbi               16384  1 intel_rapl
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             155648  0
hid_generic            16384  0
kvm                   442368  1 kvm_intel
usbhid                 49152  0
hid                   110592  2 hid_generic,usbhid
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
nvidia               8552448  142
crc32c_intel           24576  0
ghash_clmulni_intel    16384  0
aesni_intel           172032  0
snd_hda_codec_via      24576  1
snd_hda_codec_generic    69632  1 snd_hda_codec_via
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
snd_hda_intel          28672  5
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec          98304  5
snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
 iTCO_wdt               16384  0
evdev                  24576  7
gf128mul               16384  1 lrw
mxm_wmi                16384  0
snd_hda_core           28672  5
snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
 iTCO_vendor_support    16384  1 iTCO_wdt
mac_hid                16384  0
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
snd_hwdep              16384  1 snd_hda_codec
psmouse               122880  0
cryptd                 20480  3 ghash_clmulni_intel,aesni_intel,ablk_helper
serio_raw              16384  0
pcspkr                 16384  0
snd_pcm                90112  4
snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
drm                   286720  3 nvidia
alx                    36864  0
i2c_i801               20480  0
mei_me                 24576  0
ie31200_edac           16384  0
snd_timer              28672  1 snd_pcm
i2c_core               49152  3 drm,i2c_i801,nvidia
fan                    16384  0
edac_core              49152  1 ie31200_edac
mei                    77824  1 mei_me
thermal                20480  0
snd                    69632  18
snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
 mdio                   16384  1 alx
soundcore              16384  1 snd
battery                20480  0
lpc_ich                24576  0
shpchp                 36864  0
wmi                    20480  1 mxm_wmi
tpm_infineon           20480  0
tpm_tis                20480  0
tpm                    32768  2 tpm_tis,tpm_infineon
video                  24576  0
processor              28672  0
button                 16384  0
sch_fq_codel           20480  2
ip_tables              28672  0
x_tables               28672  1 ip_tables
ext4                  516096  1
crc16                  16384  1 ext4
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
sr_mod                 24576  0
cdrom                  53248  1 sr_mod
sd_mod                 36864  3
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
ahci                   36864  2
libahci                28672  1 ahci
libata                204800  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
scsi_mod              151552  3 libata,sd_mod,sr_mod
xhci_hcd              155648  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
usbcore               200704  5 ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
i8042                  20480  1 libps2
serio                  20480  6 serio_raw,atkbd,i8042,psmouse


If there is any other information that you need to debug this, please do \
ask.

Reproducible: Always

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic