-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGFPE when running #35
Comments
Great, probably another Nvidia driver issue.
That's your issue and I don't see how mpvpaper is involved here besides using libmpv to render. |
Yep... I regret ever getting an NVIDIA card. Anyway, just thought I'd post it since it's happening, knowing it's unlikely to be caused by mpvpaper's code. |
What drivers are you using? AMD cards are not absolutely better, as they have glitches or have crashes on some games (see here) and some DL frameworks do not run on ROCm |
Same problem here, I made a minimal libmpv program to verify it was working fine ( This minimal program also works fine (archlinux + nvidia), maybe we can narrow down the bogus part by either making this simple example closer to mpvpaper or making things optional in mpvpaper ? #include <stdio.h>
#include <mpv/client.h>
int main(int argc, char *argv[]) {
// Check if a file path is provided as a command-line argument
if (argc < 2) {
fprintf(stderr, "Usage: %s <video_file>\n", argv[0]);
return 1;
}
// Initialize libmpv
mpv_handle *mpv = mpv_create();
if (!mpv) {
fprintf(stderr, "Failed to initialize libmpv.\n");
return 1;
}
// Initialize the player
if (mpv_initialize(mpv) != MPV_ERROR_SUCCESS) {
fprintf(stderr, "Failed to initialize the player.\n");
mpv_terminate_destroy(mpv);
return 1;
}
// Load the video file
if (mpv_command(mpv, (const char *[]){"loadfile", argv[1], NULL}) != MPV_ERROR_SUCCESS) {
fprintf(stderr, "Failed to load the video file.\n");
mpv_terminate_destroy(mpv);
return 1;
}
// Enter the main loop (this loop will keep the player running)
mpv_event *event;
while (1) {
event = mpv_wait_event(mpv, -1);
if (event->event_id == MPV_EVENT_NONE)
break;
}
// Clean up and destroy the player
mpv_terminate_destroy(mpv);
return 0;
} |
I'm on Arch Linux (kernel 6.0.10, Wayland 1.21.0) with an NVIDIA GPU running driver 525.60.11. Not sure if this is a mpvpaper-related issue, or if it's only MPV/libva/NVIDIA. The weird part is that the regular
mpv
command runs and plays videos just fine...GDB output:
The text was updated successfully, but these errors were encountered: