Davinci Resolve hangs on project screen

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

titantomorrow

  • Posts: 1
  • Joined: Wed Feb 28, 2024 10:44 am
  • Real Name: Graham Chow

Davinci Resolve hangs on project screen

PostWed Feb 28, 2024 10:50 am

Hi, I had this problem where Resolve would hang just after closing the splash screen.

I looked in the logs and it said...

Code: Select all
<snip>
[0x00005ab0] | UI                   | INFO  | 2024-02-28 21:05:17,180 | Launching project manager
[0x00005ab0] | SyManager.Signals    | INFO  | 2024-02-28 21:05:17,181 | Main view page is changed to 12
[0x00005ab0] | Main                 | INFO  | 2024-02-28 21:05:17,207 | Show splash screen message: Ready
[0x00005ab0] | UI                   | INFO  | 2024-02-28 21:05:17,209 | Gallery pointer is changed, refreshing color gallery
[0x00005ab0] | UI                   | INFO  | 2024-02-28 21:05:17,218 | Gallery pointer is changed, refreshing gallery browser
[0x00005ab0] | Main                 | INFO  | 2024-02-28 21:05:17,307 | Close splash screen
[0x00005ab0] | Main                 | INFO  | 2024-02-28 21:05:17,309 | Launching main loop
Python path configuration:
  PYTHONHOME = 'C:\Python312\'
  PYTHONPATH = (not set)
  program name = 'python'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = 'C:\Python312\Lib'
  sys._base_executable = 'C:\\Program Files\\Blackmagic Design\\DaVinci Resolve\\Resolve.exe'
  sys.base_prefix = 'C:\\Python312\\'
  sys.base_exec_prefix = 'C:\\Python312\\'
  sys.platlibdir = 'DLLs'
  sys.executable = 'C:\\Program Files\\Blackmagic Design\\DaVinci Resolve\\Resolve.exe'
  sys.prefix = 'C:\\Python312\\'
  sys.exec_prefix = 'C:\\Python312\\'
  sys.path = [
    'C:\\Python312\\python312.zip',
    'C:\\Python312\\DLLs',
    'C:\\Python312\\Lib',
    'C:\\Program Files\\Blackmagic Design\\DaVinci Resolve',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00006a44 (most recent call first):
  <no Python frame>
[0x000063a4] | UI.Scopes            | INFO  | 2024-02-28 21:05:17,347 | GPU Scopes thread done.

So I uninstalled Python and now it works (does not hang). Should I be installing some random codec?
Offline

Vince Anido

  • Posts: 8
  • Joined: Mon Jan 27, 2014 11:06 pm
  • Location: Los Angeles, CA

Re: Davinci Resolve hangs on project screen

PostTue Apr 23, 2024 3:41 pm

This took me forever to solve so I'm posting here and a few other threads for anyone else who's having this issue, but cannot live without Python.

The issue seems to be installing a new version of Python on a system after Davinci Resolve is installed. The application seems to remember across installations which version of Python it originally was linked to, so it continues to try to access that, but something goes wrong with the environment variables so everything breaks, and you hang at the projects screen.

Another symptom is seeing this error below in your debug logs:
Code: Select all
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'


To fix the issue on Windows, go to your System Environment Variables and add a new System variable name: "PYTHONHOME". The Variable value should be the directory of the newest version of Python you have installed. Eg: C:\Python311\

This seems to fix the Python versioning/home directory issue Resolve has and allows the application to start correctly.
Offline
User avatar

Joe Shapiro

  • Posts: 2780
  • Joined: Thu Jul 25, 2013 7:23 am
  • Location: Los Angeles CA USA

Re: Davinci Resolve hangs on project screen

PostTue Apr 23, 2024 5:06 pm

Great work finding and telling us about this. Hope they fix that hard-to-find bug soon.
Director, Editor, Problem Solver. Been cutting indie features for 23 years. FCP editor from version 2 to 7.
Resolve 18.6.6
MacBook Pro 16" M1 Max 64GB RAM, macOS 14.2.1
MacBook Air 13" M1 8GB RAM, macOS 14.2.1

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Marc Wielage, pmdevita and 109 guests