mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.82k stars 2.84k forks source link

Can't play video on multiple displays using either fs-screen=all or using geometry #11716

Open porsager opened 1 year ago

porsager commented 1 year ago

Important Information

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.0-devel (git-08da37035f) OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.0-devel (git-08da37035f) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20



### Reproduction steps

Have 2 displays connected, and run mpv with any of the following options:

- `--fs --fs-screen=all`
- `--geometry=3840x1080+0+0`

### Expected behavior

Video plays across both displays taking up all the space (3840x1080)

### Actual behavior

Video resizes to play on a single display (1920x1080).

### Log file

I've made 2 sets of log files - the first 2:
- [fs.log](https://github.com/mpv-player/mpv/files/11559551/fs.log) - regular run with --fs (works as expected and plays on current screen)
- [fs-screen-all.log](https://github.com/mpv-player/mpv/files/11559550/fs-screen-all.log) - `--fs --fs-screen=all` doesn't work. Suddenly resizes back to 1920x1080 at line 463

And then I found using geometry I could play across both screens but not full height. It stopped working when going from 3840x432 to 3840x433.
- [geometry432.txt](https://github.com/mpv-player/mpv/files/11559553/geometry432.txt) - `--geometry=3840x432` works as expected
- [geometry433.txt](https://github.com/mpv-player/mpv/files/11559554/geometry433.txt) - `--geometry=3840x433` gets resized to 1920x1080 at line 544
porsager commented 1 year ago

Here's another log file geometry433vvv.txt with -v -v -v to include even more info. It includes some XEvent: ... lines at around line 3250-3260, right before the resize to 1920x1080 that might be of interest.

porsager commented 1 year ago

Also important.. it works fine dragging the window using the mouse to make it fill both displays.

porsager commented 1 year ago

I couldn't find anything about adding bug bounty to this project, I hope it's allowed, but I'd like to add 500$ to this issue. Is there a specific service maintainers prefer or would direct payment by any means be fine?

porsager commented 2 weeks ago

This is unfortunately still an issue with 0.38 :-(

porsager commented 1 week ago

@Dudemanguy Would love to sponser someone to do the fix here - Would you be able to look at it, or know of other maintainers that could? I'd put in 2000$ as a starter!