-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Windows GPU switching (Nvidia Optimus/MUX Switch) crashes player, requires workaround #395
Comments
It looks like the web client isn't loading at all. Do you just get a white screen? Does it actually "crash"? You may want to try connecting devtools: https://github.com/jellyfin/jellyfin-media-player#web-debugger |
It crashes immediately after, didn't want to attach a screenshot of blank desktop after it did. I am still able to connect from the Android client as well as the localhost:8096 from the server. Will follow up with the debugging screenshot. |
Since it is actually crashing I doubt the web debugger will work. |
Ah, ok! Let me know if any more logging is required from my end. From the logs does it seem like it is something I could fix from my end or do I need to wait for a fix? |
The logs don't tell me anything useful. It seems the client just hard crashes before anything useful got logged. |
Anything else I should try? In hard crashes like this what is the next step? I understand that the project is open-source and an issue like this may not be a top priority. That said, I am on the latest version of Windows 11, so you can probably expect similar issues to come in soon. |
Do you see anything in Reliability History or Event Viewer? |
If multiple people start having this issue it becomes a fairly high priority item. I don't currently have any virtual machines running Windows 11 so my hope is someone else will find the problem and tell me what it is. I will probably just get it working in libvirt though if it does become a huge issue. |
@zjeffer, good idea: Event Viewer for the crash: Faulting application name: JellyfinMediaPlayer.exe, version: 0.0.0.0, time stamp: 0x63ea149b Reliability history for today: I think the first event in Reliability History is expected, as Asus software is not that stable. Sorry I waited a few days for reporting on this. When I tried to get these details yesterday, I started working fine! @iwalton3, thanks for letting me know! Will these logs help you isolate the issue? |
Now that I looked over the Event Viewer log, I believe it is caused by Nvidia driver as the discrete card is disabled by the mux switch. But the setting in Windows settings helps:
Hopefully this will fix it, I will keep the ticket open for a few days to verify? @iwalton3, please see if it is possible to default to using integrated graphics and/or have an option to choose one in the player settings. Most High Performance laptops nowadays feature auto-mux switches, so it might be a forward-looking change. Either way please let me know your thoughts on this. Also @zjeffer, thanks. Your suggestion really helped. |
That's a fun detail. I wonder how an application declares that it requires "gaming mode". I did some quick googling but I did not see anything about setting that preference on the application manifest. It seems to imply that Windows "decides" somehow. I'm leaving this open in case more people have this issue or someone finds a possible way to deal with this. |
I am still seeing issues. The fix I mentioned fails after a restart or a new version (app) install. For some reason, Windows always tries to use the Nvidia driver and fails (obviously!). |
New ticket #410 opened, same issue. |
modify"\Users\XXXX\AppData\Local\JellyfinMediaPlayerjellyfinmediaplayer.conf" |
@alexandrezhang, I didn't require that particular fix. One of the updates seems to have resolved the issue. I am closing this as I am no longer able to reproduce this. |
Describe the bug
Jellyfin media player crashes when trying to launch. Using latest version 1.8.1. Same issue as #297.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Jellyfin media player console opens.
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: