Contribute
Register

Quicklook Doesn't Preview jpgs, mp3 nor mp4.

Status
Not open for further replies.
Changing the board ID, with a board ID from another SMBIOS will fix the preview, but breaks hardware encoding/decoding (in quicktime and fcpx for example).
If the IGPU cannot be configured, this Lilu plugin should fix preview with any SMBIOS.
NoVPAJpeg Lilu plugin: Disables the hardware JPEG decoding feature of the AppleVPA framework that breaks Preview and Quicklook on some systems
https://github.com/vulgo/NoVPAJpeg
 
This should work without any hacks when the IGPU is configured in the way macOS expects when a discrete card is also in use as the main display.

What works in previous macOS versions or for using the IGPU as the primary display device (e.g. Clover injecting 'InjectIntel' device properties and ig-platform-id with connected devices) may not work in the present scenario. If it works you can see these green entries under IntelAccelerator, wrong configuration then no IntelAccelerator and no JPEG decoding.

View attachment 353736

These patches or your motherboard-specific ones probably help.

Code:
<dict>
<key>Comment</key>
<string>Rename GFX0 to IGPU</string>
<key>Find</key>
<data>R0ZYMA==</data>
<key>Replace</key>
<data>SUdQVQ==</data>
</dict>
<dict>
<key>Comment</key>
<string>Rename HECI to IMEI</string>
<key>Find</key>
<data>TUVJXw==</data>
<key>Replace</key>
<data>SU1FSQ==</data>
</dict>
<dict>
<key>Comment</key>
<string>Rename PEGP to GFX0</string>
<key>Find</key>
<data>UEVHUA==</data>
<key>Replace</key>
<data>R0ZYMA==</data>
</dict>

With those and no Intel graphics injection, for me at least, Preview and Quicklook work as expected.

Very useful. Thank you.

I take your point that for many SysDefs Apple is expecting an iGPU rather than Discrete graphics. When we put a GPU in, against a SysDef that didn't have one, it's going to cause confusion for macOS.

I currently don't have the iGPU enabled so don't see the entries in IORegistryExplorer. However, I wasn't running the iGPU under High Sierra or Sierra either and they rendered Preview and Quicklook fine. :crazy:
 
I take your point that for many SysDefs Apple is expecting an iGPU rather than Discrete graphics. When we put a GPU in, against a SysDef that didn't have one, it's going to cause confusion for macOS.
It wants the IGPU even if we are using discrete graphics as the main display. What happens when the IGPU isn't configured:
Code:
Preview: (AppleVPA) VPA error: Failed to find IGPU IOService plane for IGPU. Will search for GFX
Preview: (AppleVPA) VPA error: Failed to find IGPU IOService plane for GFX.
Preview: (AppleVPA) HWJPEG DecodeSessionCreate failed
Like you I've always just disabled the integrated graphics. At least for now this is only affecting Preview and not browsing in Safari or something more vital.
 
I wonder if this is what has been causing problems for so many people... Having IGPU disabled.
 
I wonder if this is what has been causing problems for so many people... Having IGPU disabled.
. Many of the people in this thread had it enabled some have it disable at the start Mac 6,1 was a good option now Mojave is released all the SM should work at least when I tried them all out.
 
If the IGPU cannot be configured, this Lilu plugin should fix preview with any SMBIOS.

NoVPAJpeg does not work on Z68 Sandy Bridge chipset.

Update: directly editing /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/Resources/Info.plist does work.

Go figure.
 
Last edited:
I did a little experiment based on the info above.
I set my SMBIOS back to 18,3 and removed the board section in System Support from the AppleVPA info.plist file.

Unfortunately after a reboot, I got a blank screen.

I went back to 6,1. This probably isn't the best way to fix the problem as I figure I'd have to edit the info.plist everything there's a Mojave update.

ps.....
For those, like me, using 6,1 and have JPEGs working....do you have any problems with Photos and Desktops? If I use photos or go into desktops my system gets "choppy" and eventually freezes. But preview and videos work!

pss....I run 2 monitors on DP, if that matters.
 
I did a little experiment based on the info above.
I set my SMBIOS back to 18,3 and removed the board section in System Support from the AppleVPA info.plist file.

Unfortunately after a reboot, I got a blank screen.

On my system, 18,3 gives a blank screen regardless of the state of the info.plist file. Only 18,1 (or 14,2) works.
 
I've changed my SMBIOS to 6,1 (from 14,2) and now quickview is working fine. Tks! :)
 
Status
Not open for further replies.
Back
Top