Closed ghost closed 4 years ago
I believe your GPU doesn't support OpenGL 4.6 that I put in.
https://www.intel.com/content/www/us/en/support/articles/000005524/graphics.html
I made a new branch "opengl-3.0" for you to try: https://github.com/GhostNaN/mpvpaper/tree/opengl-3.0
Follow the build instructions, just make sure your downloading the opengl-3.0 branch:
git clone --single-branch --branch opengl-3.0 https://github.com/GhostNaN/mpvpaper
EDIT : opengl-3.0 branch removed as there's no need for it now. https://github.com/GhostNaN/mpvpaper/commit/2369a0a7f9a1fb8298f3502a230bd0034a8b8e2b
It works now :smile:! Thank you very much @GhostNaN ! Really cool project....Keep it up!
I have the same issue and some semi-ancient hardware. Can you make OpenGL 4.3 branch?
Intel i7-3740QM glxinfo OpenGL version string: 4.3 (Compatibility Profile) Mesa 21.1.4
That shouldn't happen. I fixed this issue a while ago https://github.com/GhostNaN/mpvpaper/commit/2369a0a7f9a1fb8298f3502a230bd0034a8b8e2b I even tested this myself on my old Thinkpad that only supports as far as 3.3
mpvpaper goes through all compatible versions of OpenGL (3.0 - 4.6) on startup and selects the most recent one. It will tell you which version it selected if you add the "-v" or "--verbose" option.
This might be a separate issue.
Yeah. Looks like something else.
mpvpaper -v LVDS-1 video.mp4 [] Output LVDS-1 (Unknown 0x0338 0x00000000) selected [] OpenGL 3.3 EGL context loaded Memory access error (memory dumped)
OpenGL must not be initializing...
It might be a long shot, but the OpenGL profile this comes with is "Core". Down below is mpvpaper, but with the "Compatiblity" profile instead: mpvpaper.tar.gz
Build, then run and see if it works for you.
It's giving me the same result.
Then I don't know.
My laptop has similar specs to yours with a i7 3840QM. So I don't think it's a hardware compatibility issue. It might be just your particular system with it's set of software.
Well if you feel like debugging yourself with gdb or something else, let me know what you find. Either way thanks for trying.
Installation: mpvpaper was installed from the AUR Version: mpvpaper-git-r8.4927e4e-1 WM: sway v1.5 CPU / GPU: Intel Core i5-2450M / Intel HD 3000 Used RAM: 3044MiB / 7889MiB
Steps to reproduce:
killall swaybg
mpvpaper LVDS-1 MyVideoWallpaper.mp4
strace output (last 12 lines (looks like less because of bad formatting)):
ioctl(5, DRM_IOCTL_I915_GEM_CONTEXT_SETPARAM, 0x7ffdd029dcc0) = -1 ENODEV (No such device) ioctl(5, DRM_IOCTL_I915_GEM_CONTEXT_SETPARAM, 0x7ffdd029dcc0) = -1 ENODEV (No such device) ioctl(5, DRM_IOCTL_I915_GEM_CONTEXT_SETPARAM, 0x7ffdd029dcc0) = -1 ENODEV (No such device) getpid() = 197484 getpid() = 197484 getpid() = 197484 mincore(NULL, 4096, 0x7ffdd029de27) = -1 ENOMEM (Cannot allocate memory) getpid() = 197484 getpid() = 197484 getpid() = 197484 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- +++ killed by SIGSEGV (core dumped) +++