-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
HDR Displays a Solid Blue Screen #4994
Comments
Just started using IINA three days ago, so take this with a grain of salt, but: I was playing around in the (HDR) Tone Mapping settings, and I noticed that if I specified Algorithm: gamma I got a blue screen when playing HDR movies. I also found that the linear Algorithm was the only one that worked properly. YMMW |
Similar to many open source projects IINA is layered on top of other projects. For audio/video playback and subtitle rendering support IINA is using a library from the mpv project. When it comes to HDR the majority of the work is done by Support for HDR is very sensitive to technical details such as the codec used by the video file, the specific chip the Mac has, the characteristics of the screen the video is being displayed on, etc. To determine what is going on in this case I'd want a copy of the IINA and I'd like to thank @tvBilly for pointing out that setting Testing playing The World in HDR in 4K (ULTRA HD) with the above setting on my MacBookPro18,2 with the M1 Max chip and XDR display reproduced the blue screen reported by @tvBilly. That IINA setting merely controls the value IINA passes to the
IINA also defaults to auto. With the default setting I do not see the blue screen. The video plays fine in HDR. At this moment we are working on upgrading IINA's dependencies, including If you want we can take a look and see if the log files tell us anything about the problem. To enable logging follow these instructions:
Once IINA has restarted, play the video and reproduce the blue screen. Then:
The The log files can also be accessed using Terminal as shown here: low-batt@gag com.colliderli.iina$ pwd
/Users/low-batt/Library/Logs/com.colliderli.iina
low-batt@gag com.colliderli.iina$ ls
2022-10-04-17-57-15_jVrbWy
low-batt@gag com.colliderli.iina$ cd 2022-10-04-17-57-15_jVrbWy
low-batt@gag 2022-10-04-17-57-15_jVrbWy$ ls
iina.log mpv.log
low-batt@gag 2022-10-04-17-57-15_jVrbWy$ With logging enabled IINA creates a new log directory each time it is started. If accessing the logs using DO NOT FORGET to disable logging once you have obtained log files for the problem being investigated. IINA does not restrict the size of log files or delete old logs. If you leave logging enabled the logs will continue to accumulate. |
@low-batt : Not sure if you need me to provide any log files, as you can duplicate the blue screen on your MacBookPro M1 and like you, the other Algorithms don't blue-screen for me. Plus you mention the current mpv doesn't blue screen on the gamma Algo anyway... That said, for a bit of reference, I'm on a (new to me) iMacPro, (2.5 GHz 14-Core Intel Xeon W, Radeon Pro Vega 64X 16 GB, 128 GB DDR4, macOS Ventura 13.6.7). Your MacBookPro is probably faster :) . As I mentioned in my msg above, the only Algo that works remotely well is the linear version. The other ones all map badly, clipping whites, including the auto Algo. Not sure which Algo the auto Algo is choosing, but it's not the linear one and it's not correct. I used a scene in Lucy (UHD HDR SMPTE ST 2086, PQ, MCLL 1000 cd/m2) that shows a white haired man whose hair is NOT in the clippers in the video. The linear Algo maps the transfer properly, the rest don't even come close. My iMacPro screen is rated at 500 nits, once the Algo is set to linear and the tone mapping is manually set to 500 nits, the whites track properly. Set to 600 nits they start clipping and set to 400 nits everythine is a bit dimmer than it need be, with nothing gained by lowering the setting below what the monitor is capable of. When the mapping is set to 0 (auto) it works correctly on my iMacPro, mimicking what I see when I manually set 500 nits. Anything I can check for you, just ask. Billy |
@tvBilly I don't think I need logs from you. I'm pretty sure we are seeing the same problem. We need to know how @CreepyHobo encountered this problem and whether it is the same problem we are seeing. The part of this functionality that IINA supplies is determining the setting for
@tvBilly From your report it seems like that part is working. The tone mapping is done by This is the IINA log:
|
So I don't have the knowledge you guys have about video playback/files specifics, but this happened when I started a 2160p HDR file and the blue screen appeared. After looking at your previous posts I looked at my video settings and saw the algorithm was set to gamma. So I changed it to auto and I haven't seen the blue screen since. I hope this helps. |
@CreepyHobo When investigating problems I am always looking for evidence to "line up". When it doesn't it usually means I've missed something. I was worried On not having knowledge, do not hesitate to ask me to clarify/explain something I've posted. I am always happy to do that. By the way, I am operating outside of my area of expertise when it comes to this aspect of IINA. I too lack knowledge in this area. I reported above that an IINA built with a newer version of mpv did not exhibit the problem. At that point we had only tested Apple Silicon. We now have the upgraded |
System and IINA version:
**Expected behavior:**HDR video to play like it had always done.
**Actual behavior:**Window is just a solid blue screen. If HDR is deactivated the video will display.
**Steps to reproduce:**Play a HDR video file.
**How often does this happen?**Every time I open a HDR video file.
The text was updated successfully, but these errors were encountered: