16:57pavlushka: facing choppy video playback playing youtube video on wayland/swaywm
17:21bluetail: pavlushka what gpu
17:22pavlushka: bluetail: on intel i5 3200, sandy bridge, built in graphics
17:23bluetail: I had that too with xorg. Turned out youtube used too much performance
17:25soreau: I'd try a different compositor/browser and then upgrade mesa, wlroots and the compositor
17:26soreau: I think you can dumb down the resolution of youtube videos with some youtube web interface setting?
17:26soreau: btw, does it happen with direct scanout fullscreen?
17:30soreau: here if I try youtube with 4k, it stutters and 8k only get one frame, but 1920x1080 seems ok
17:30soreau: on a similarish cpu
17:30pavlushka: soreau: yeah, looks like its a resource issue, medium resolution play fine even in on fullscreen mode
17:30pavlushka: *plays
17:33pavlushka: soreau: but had not to experience that on xorg even on high res videos
17:35pavlushka: soreau: sway/wayland performs better on almost all other apps except video palyback
17:35pavlushka: soreau: so I switched back to Xorg but back again to run android emulators specially
17:36bluetail: /dev/video capture cards were vastly faster on wayland. Does that count as video playback?
17:36pavlushka: soreau: looks like a qemu vm is an easier solution than these hassles
17:37bluetail: pavlushka but do you even run it in native wayland?
17:39pavlushka: bluetail: wayland is a new horizon aka compositor integrated graphics system with security features, not complaining actually about it
17:40pavlushka: bluetail: I'm on sway interacting with you
17:40pavlushka: and trying to see youtube video as a comparison
17:41pavlushka: bluetail: new graphics system focused on new devices
17:42bluetail: so your browser runs on native wayland instead of xwayland?
17:42bluetail: is hardware acceleration on or off? is it firefox? is it chrome?
17:43pavlushka: bluetail: firefox fork
17:43bluetail: if it's a fork I assume it's already non-standard
17:44pavlushka: bluetail: good point
17:51soreau: pavlushka: you might check your firefox settings indeed, about:config and search for gpu or video or something..
17:51soreau: but I am trying about:cofig right now and can't type in the search field
17:52pavlushka: soreau: lol, I can
17:52soreau: oh it works now after I refreshed it
17:52soreau: gpu, gfx, accel, video
17:53soreau: make sure it's using wayland native and acceleration
17:54soreau: I guess it's possible that sway optimizes (too much) and X doesn't (as much)
17:59pavlushka: soreau: checked all the wayland options, lets see
18:03soreau: pavlushka: you can also try enabling vaapi and turning on vsync
18:03soreau: but on an older machine, you can only process so much :P
18:22pavlushka: soreau: yeah, and may be vaapi helped