Igalia / chromium

Old repo. See https://crbug.com/578890 instead.
https://chromium.googlesource.com/chromium/src.git
BSD 3-Clause "New" or "Revised" License
115 stars 16 forks source link

Crash on startup without `--in-process-gpu` #507

Closed ammen99 closed 5 years ago

ammen99 commented 5 years ago

Try starting chromium without --in-process-gpu, getting just this. Latest commit in this repo. Backtrace: https://pastebin.com/UVzJ6vyu

msisov commented 5 years ago

2 possible issues: 1) wrong usage of minigbm and related gn args. 2) missing render node support.

what are your gn args?

check that render node exists

$ ls -la /dev/dri/renderD12*
crw-rw----+ 1 root video 226, 128 marra 30 21:17 /dev/dri/renderD128
crw-rw----+ 1 root video 226, 129 marra 30 21:17 /dev/dri/renderD129
ammen99 commented 5 years ago

Hi, I have the render nodes (just renderD128 on my system, but that is because I have a single GPU).

My gn args: use_ozone=true use_xkbcommon=true enable_nacl=false is_debug=false symbol_level=0 use_sysroot=false remove_webcore_debug_symbols=true use_jumbo_build=true

The only thing that seems like it might cause problems is the enable_nacl, but I think I've seen people build chromium without nacl and it worked fine.

msisov commented 5 years ago

Ok. you're using third_party/minigbm without specifying gpu driver.

Switch off the minigbm and use a system one - use_system_minigbm=true

ammen99 commented 5 years ago

@msisov Thank you very much for your help. It works now.