Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606630 - games-emulation/dolphin-5.0: failed to initialize video backend
Summary: games-emulation/dolphin-5.0: failed to initialize video backend
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 18:14 UTC by Alex
Modified: 2017-01-21 10:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,4.93 KB, text/plain)
2017-01-20 18:14 UTC, Alex
Details
Screenshot image (Untitled.png,167.11 KB, image/png)
2017-01-21 08:00 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-01-20 18:14:01 UTC
Hi,

Running a game with Dolphin fails with 'Failed to initialize video backend' error.

============================================================
[I] games-emulation/dolphin
     Available versions:  5.0 **9999 {alsa ao bluetooth doc egl +evdev ffmpeg llvm log lto openal +pch portaudio profile pulseaudio qt5 sdl upnp +wxwidgets LINGUAS="ar ca cs da_DK de el en es fa fr hr hu it ja ko ms_MY nb nl pl pt pt_BR ro_RO ru sr sv tr zh_CN zh_TW"}
     Installed versions:  5.0(20:36:56 01/20/17)(alsa evdev ffmpeg log sdl wxwidgets -ao -bluetooth -doc -egl -llvm -lto -openal -pch -portaudio -profile -pulseaudio -qt5 -upnp LINGUAS="en -ar -ca -cs -da_DK -de -el -es -fa -fr -hr -hu -it -ja -ko -ms_MY -nb -nl -pl -pt -pt_BR -ro_RO -ru -sr -sv -tr -zh_CN -zh_TW")
     Homepage:            https://www.dolphin-emu.org/
     Description:         Gamecube and Wii game emulator
=============================================================

Running Dolphin bench test without GUI https://forums.dolphin-emu.org/Thread-unofficial-new-dolphin-5-0-cpu-benchmark-results-automatically-updated--45007
-------------------------------------------------------------
alex@genty:/tmp$ dolphin-emu-nogui -e luabench.dol 
52:52:219 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Core/ConfigManager.cpp:86 N[BOOT]: Saving settings to /home/alex/.config/dolphin-emu/Dolphin.ini
52:52:286 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Core/Core.cpp:978 W[COMMON]: Want determinism <- false
52:53:363 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Common/GL/GLInterface/GLX.cpp:144 E[Video]: Unable to create GL context.
Failed to initialize video backend!
52:53:363 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Core/ConfigManager.cpp:86 N[BOOT]: Saving settings to /home/alex/.config/dolphin-emu/Dolphin.ini
Segmentation fault
-----------------------------------------------------------------

Running a game (The Last Story ISO) with GUI ends with a pop-up window "Failed to initialize video backend":
-----------------------------------------------------------------
08:00:401 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Common/FileUtil.cpp:770 I[COMMON]: GetSysDirectory: Setting to /usr/share/dolphin-emu/sys/:
08:00:409 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Common/GL/GLInterface/GLX.cpp:144 E[Video]: Unable to create GL context.
08:08:151 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Common/FileUtil.cpp:250 I[COMMON]: Rename: /home/alex/.config/dolphin-emu/Logger.ini.xxx --> /home/alex/.config/dolphin-emu/Logger.ini
08:08:252 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp:680 N[Wiimote]: WiimoteReal::Shutdown
08:08:252 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Core/ConfigManager.cpp:86 N[BOOT]: Saving settings to /home/alex/.config/dolphin-emu/Dolphin.ini
08:08:253 /var/tmp/portage/games-emulation/dolphin-5.0/work/dolphin-5.0/Source/Core/Common/FileUtil.cpp:250 I[COMMON]: Rename: /home/alex/.config/dolphin-emu/Dolphin.ini.xxx --> /home/alex/.config/dolphin-emu/Dolphin.ini
Aborted
------------------------------------------------------------------

'emerge --info' output is attached.

Feel free to ask for more info.

Regards,
Alex
Comment 1 Alex 2017-01-20 18:14:47 UTC
Created attachment 460760 [details]
emerge --info output
Comment 2 Alex 2017-01-20 18:50:28 UTC
UPD. Building with 'qt5' flag instead of 'wxwidgets' doesn't help. Moreover, qt5 GUI is simply unusable -- buttons and menues don't work.
Comment 3 Alex 2017-01-21 07:59:22 UTC
UPD2.
Emerged the package once again, with 'qt5' flag.

GUI is still unusable.

Running 'dolphin-emu-nogui -e luabench.dol' doesn't segfault anymore, only shows black screen. Console output http://pastebin.com/dn1V5zKb

Running 'luabench.dol' with 'dolphin-emu-qt2' also shows black screen. Console output http://pastebin.com/7gT8zBK5

Screenshot is attached.
Comment 4 Alex 2017-01-21 08:00:13 UTC
Created attachment 460778 [details]
Screenshot image
Comment 5 Alex 2017-01-21 10:49:09 UTC
UPD3

After settings tweaks and some unknown magic it now runs, without segfaults or something, both with bench test and games, with functional wxWidget GUI.

I'm closing this bug report as resolved.