Unable to load desktop environment after resolving PCSX2 dependencies on x86
-
Attempted to install PCSX2 experimental package via retropie setup script.
Installation failed, so I did the following:
sudo dpkg –add-architecture i386 sudo add-apt-repositroy ppa:Gregory-hainaut/pcsx2.official.ppa
Installation failed again with the following:
The following packages have unmet dependencies: pcsx2-unstable:i386 : Depends: libportaudio2:i386 (>= 19+svn20101113) but it is not going to be installed Depends: libsdl2-2.0-0:i386 (>= 2.0.8) but it is not going to be installed Recommends: libasound2-plugins:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages. Unable to install binary for pcsx2
I ran the following:
sudo apt-get install libportaudio2:i386 sudo apt-get install libpulse0:i386 sudo apt-get install libsdl2-2.0.0:i386 sudo apt-get install libsound2-plugins:i386
I then successfully installed PCSX2 via retropie setup script. I ran retropie, and did not see PS2 in the emulationstation frontend (BIOS/ROMs placed in the locations provided by the wiki). I rebooted, and now the system boots to prompt, and does not load the graphical environment. If I run startx, I get the following:
>egrep -B5 -A2 '(EE)|(WW)' .local/share/xorg/Xorg.0.log [ 696.882] Current version of pixman: 0.34.0 [ 696.887] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 696.887] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 696.896] (==) Log file: "/home/me/.local/share/xorg/Xorg.0.log", Time: Fri Dec 13 12:55:30 2019 [ 696.898] (==) Using system config directory "/usr/share/X11/xorg.conf.d" -- [ 696.898] (==) Automatically adding devices [ 696.898] (==) Automatically enabling devices [ 696.898] (==) Automatically adding GPU devices [ 696.898] (==) Automatically binding GPU devices [ 696.898] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 696.898] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 696.898] Entry deleted from font path. [ 696.898] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 696.898] Entry deleted from font path. [ 696.898] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 696.898] Entry deleted from font path. [ 696.898] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 696.898] Entry deleted from font path. [ 696.898] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 696.898] Entry deleted from font path. [ 696.898] (==) FontPath set to: -- [ 696.904] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 696.904] (II) FBDEV: driver for framebuffer: fbdev [ 696.904] (II) VESA: driver for VESA chipsets: vesa [ 696.904] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) [ 696.904] (II) modeset(0): using drv /dev/dri/card0 [ 696.904] (WW) Falling back to old probe method for fbdev [ 696.904] (II) Loading sub module "fbdevhw" [ 696.904] (II) LoadModule: "fbdevhw" [ 696.904] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 696.904] (II) Module fbdevhw: vendor="X.Org Foundation" [ 696.904] compiled for 1.20.4, module version = 0.0.2 [ 696.904] ABI class: X.Org Video Driver, version 24.0 [ 696.904] (EE) open /dev/fb0: Permission denied [ 696.904] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 696.904] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 --
Launching emulationstation from the shell:
lvl0: Error initializing SDL! No available video device lvl0: Renderer failed to initialize! lvl0: Window failed to initialize!
I found some old articles describing making changes to the permissions of dev/fb0, but I do not want to make any permissions changes without understanding how/why access to the device is no longer available. I cannot think of anything else I may have done prior to cause this, so I’m pursing the most obvious variable first – my most recent changes.
RetroPie-Setup version: 4.5.3 (8cfaadd)
System: Ubuntu 18.04.3 LTS
NUC8i3 -
sudo apt-get install ubuntu-desktop
Resolved the issue, and PS2 appears in the EmulationStation frontend.
.bash_history doesn't show any evidence of the desktop environment being removed - by way of shell command.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.