Jump to content

Problem: Video playback stutters and caustics in Blender don't work [opencore, AMD RX 6600]


20 posts in this topic

Recommended Posts

Hey there!

 

I have two video problems.

Problem 1
Playback stutters (both video files and youtube). It hangs for a few seconds, then tries to catchup and you see the video go really fast for a second. Then it hangs again, etc. Sometimes the hanging is worse and there's not even time to catchup. The audio is mostly uneffected, except when the videos hangs too long, then the audio also hangs for a second. 

Note: This problem only shows up after a fresh boot ± between 20min to 60min. Then it goes away and comes back with intervals around 1 or more hours. A boot ALWAYS makes it (temp.) go away.

[FIXED] Problem 2
Caustics in Blender don't work on the GPU in Blender 3.x and 4.x (cycles). Blender 3.x simply didn't render anything (hangs during render). Blender 4.x does render but the caustics are incorrect or not showing at all.



Any vague idea of what could cause this is much appreciated!
(Because I'm out of ideas...)

Thank you!!
- Yurki
------------------------------------------------

Config

Intel Core i7 9700K

Gigabyte Z390 AORUS PRO

PowerColor RX 6600 (recently bought new card)

32gb ram DDR4

Samsung SSD M.2
macOS Ventura 13.3.1 (a) (22E772610a)



Hackintosh

- OPENCORE: Followed everything on the main Dortania guide
Full config.plist in attachment

Summary:

- Used

• OpenCore-0.9.1-RELEASE
ACPI: SSDT-AWAC.aml, SSDT-EC-USBX-DESKTOP.aml, SSDT-PLUG-DRTNIA.aml, SSDT-PMC.aml
• Drivers: HfsPlus.efi, OpenRuntime.efi, ResetNvramEntry.efi

• kext:
- AppleALC 
- IntelMausi
- lilu
- SMCSuperIO
- SMCProcessor.kext

- VirtualSMC

- whatevergreen

- Didn't use

• NVMeFix kext
Some note worthy Config.plist settings I have:
NVRAM/Add boot-args alcid=11
UEFI > APFS > Min Version: 945275007000000 Min Date 20190820
- to fix a black screen after boot problem:

    • NVRAM > add > 7C436110-AB2A-4BBB-A880-FE41995C9F82 > boot-args
      • removed: -v debug=0x100 keepsyms=1
    • Set these settings in Misc > Debug
      • AppleDebug = False
      • ApplePanic = False
      • DisableWatchDog = True
      • Target = 0


BIOS

Dissabled

Fast Boot

Secure Boot
VT-d (can be enabled if you set DisableIoMapper to YES)
Compatibility Support Module (CSM)
Intel SGX
Intel Platform Trust

Dortania guide told me to Dissable, but couldn't find, so didn't:
- [ ] Serial/COM Port

- [ ] Parallel Port
- [ ] Thunderbolt
- [ ] CFG Lock

Enabled
Above 4G Decoding
EHCI/XHCI Hand-off
OS type: OTHER OS
SATA Mode: AHCI
Internal graphics

Dortania guide told me to Enable, but couldn't find, so didn't:
- [ ] VT-x
- [ ] Hyper-Threading
- [ ] Execute Disable Bit
- [ ] DVMT Pre-Allocated(iGPU Memory): 64MB or higher

config.plist

Edited by yurki
Posted (edited)

Hey @mariosun

Thank you!

[edit:] I have in settings turned on: Cycles Render Devices -> AMD Radeon RX 6600 + intel core CPU i7-9700k
BlendercausticsCPU.jpg.42888b860ba783c66ede2ca97e084987.jpgimage.jpeg.675b3b43a553e299963569a6670c128d.jpeg

Blender hackintosh GPU caustics problem.blend.zip

Edited by yurki
  • Like 1

Hey @mariosun

 

Thanks for trying that out for me!

I found this on the Blender Wiki - Blender 4.0 release notes
"Metal AMD GPU rendering has [...] lack of support for the light tree and shadow caustics. Due to GPU driver limitations that are unlikely to be fixed, it is expected that AMD GPU rendering on macOS will be disabled entirely in a future release."

TBH I wasn't aware of that...but at least now I know! It removes one of the problems

  • Like 1

Hey @Slice,

Thanks for trying! 

Did you check my previous message? Unfortunately caustics in Blender don't work on macOS with AMD, and in fact, there's not a lot of future for metal AMD in Blender, in other words: Blender on hackintosh seems mostly a dead end at this point... :(

 

22 hours ago, yurki said:

Hey @mariosun

 

Thanks for trying that out for me!

I found this on the Blender Wiki - Blender 4.0 release notes
"Metal AMD GPU rendering has [...] lack of support for the light tree and shadow caustics. Due to GPU driver limitations that are unlikely to be fixed, it is expected that AMD GPU rendering on macOS will be disabled entirely in a future release."

TBH I wasn't aware of that...but at least now I know! It removes one of the problems

 

3 hours ago, yurki said:

Hey @Slice,

Thanks for trying! 

Did you check my previous message? Unfortunately caustics in Blender don't work on macOS with AMD, and in fact, there's not a lot of future for metal AMD in Blender, in other words: Blender on hackintosh seems mostly a dead end at this point... :(

 

 

It works on AMD. I asked what to see?

54 minutes ago, Slice said:

It works on AMD. I asked what to see?

no it doesent

Rendering on AMD gpu lost some details (caustic details, see the picture posted as example)

CPU image has a marked white spot (caustic from glass)

GPU image has a soft lighted area (not good)

Edited by mariosun
1 hour ago, mariosun said:

no it doesent

Rendering on AMD gpu lost some details (caustic details, see the picture posted as example)

CPU image has a marked white spot (caustic from glass)

GPU image has a soft lighted area (not good)

Help me to understand what I should click and press to see the caustic with CPU.

Slice

check if you have set your gpu in blender preferences (metal)

if you do gpu render cpu remain quiet

no fan ramping

 

In the cycles render option you have to put cpu or gpu and then use f12 to render

You can see also a good preview using window best preview options 

Edited by mariosun

Blender hackintosh GPU caustics problem (GPU version).blend

 

Hey @Slice,

in the attachment again the same Blender file, except the render settings are now saved in it on GPU.

If you render this with f12, it should give you a render without caustics (in otherwords, no realistic lightning effect through transparant glass)

You can already see the effect in the viewport if you click that top right sphere:

image.thumb.png.582c9b94ad2e9e6a51e85d951d091a0f.png

On the right is the setting to switch between CPU and GPU rendering.
 

  • Like 1
18 hours ago, yurki said:

Blender hackintosh GPU caustics problem (GPU version).blend 930.82 kB · 1 download

 

Hey @Slice,

in the attachment again the same Blender file, except the render settings are now saved in it on GPU.

If you render this with f12, it should give you a render without caustics (in otherwords, no realistic lightning effect through transparant glass)

You can already see the effect in the viewport if you click that top right sphere:

 

On the right is the setting to switch between CPU and GPU rendering.
 

OK

Screenshot 2024-01-10 at 18.59.41.png

Screenshot 2024-01-10 at 19.03.06.png

×
×
  • Create New...