Emulationstation crash with USB ROM and joypad
-
Hello everyone. I'm new to the forum and I apologize in advance if I make any mistakes.
My Configuration:
Hardware: AMD Ryzen 7 5800X, 32GB of RAM, 1 TB hard drive NVMe M.2, Asus Dual RTX 3070.
Monitor: HDMI 2.0a Sony Bravia 55XF9005 4K
System : POP!_OS 22.04 LTS 64-bit DesktopI installed Retropie on Pop! _OS 22.04 LTS, everything works perfectly when I start Emulationstation (with joypad connected via usb), but when I start Emulationstation with joypad AND USB hard drive connected with USB ROM service, Emulationstation crashes. If i disconnect the joypad, Emulationstation starts.
The Joypad is an 8bitdo PRO2 controller .The es_log.txt file ends with:
Added known joystick 8BitDo Pro 2 (instance ID: 0, device index: 0)The crash window report:
emulationstation-dev/es-core/src/resources/Font.cpp:410: void Font::renderTextCache(TextCache*): Assertion `*it->textureIdPtr != 0' failed.
Aborted (core dumped)I run dmesg and this is the output:
[ 380.042946] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 380.042948] usb 3-4: Product: Pro Controller
[ 380.042949] usb 3-4: Manufacturer: Nintendo.Co.Ltd.
[ 380.042950] usb 3-4: SerialNumber: 000000000001
[ 380.073125] input: Nintendo.Co.Ltd. Pro Controller as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-4/3-4:1.0/0003:057E:2009.0005/input/input20
[ 380.073247] hid-generic 0003:057E:2009.0005: input,hidraw4: USB HID v1.11 Joystick [Nintendo.Co.Ltd. Pro Controller] on usb-0000:0a:00.3-4/input0
[ 380.168927] nintendo 0003:057E:2009.0005: hidraw4: USB HID v81.11 Joystick [Nintendo.Co.Ltd. Pro Controller] on usb-0000:0a:00.3-4/input0
[ 380.546290] nintendo 0003:057E:2009.0005: using factory cal for left stick
[ 380.570289] nintendo 0003:057E:2009.0005: using factory cal for right stick
[ 380.650010] nintendo 0003:057E:2009.0005: using factory cal for IMU
[ 380.842288] nintendo 0003:057E:2009.0005: controller MAC = E4:17:D8:51:74:F7
[ 381.396862] nintendo 0003:057E:2009.0005: Failed to set home LED dflt; ret=-110
[ 381.396868] nintendo 0003:057E:2009.0005: Failed to create leds; ret=-110
[ 381.397055] nintendo 0003:057E:2009.0005: probe - fail = -110
[ 381.397063] nintendo: probe of 0003:057E:2009.0005 failed with error -110
[ 381.397073] leds 0003:057E:2009.0005:blue:player-5: Setting an LED's brightness failed (-38)
[ 381.397092] leds 0003:057E:2009.0005:green:player-4: Setting an LED's brightness failed (-38)
[ 381.397121] leds 0003:057E:2009.0005:green:player-3: Setting an LED's brightness failed (-38)
[ 381.397133] leds 0003:057E:2009.0005:green:player-2: Setting an LED's brightness failed (-38)
[ 381.397144] leds 0003:057E:2009.0005:green:player-1: Setting an LED's brightness failed (-38)
[ 394.745631] usb 3-4: USB disconnect, device number 3
[ 396.428816] usb 3-4: new full-speed USB device number 4 using xhci_hcd
[ 396.599950] usb 3-4: New USB device found, idVendor=054c, idProduct=05c4, bcdDevice= 1.00
[ 396.599955] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 396.599957] usb 3-4: Product: Wireless Controller
[ 396.599958] usb 3-4: Manufacturer: Sony Computer Entertainmen
[ 396.641033] sony 0003:054C:05C4.0006: failed to retrieve feature report 0x81 with the DualShock 4 MAC address
[ 396.641078] sony 0003:054C:05C4.0006: hidraw4: USB HID v81.11 Gamepad [Sony Computer Entertainmen Wireless Controller] on usb-0000:0a:00.3-4/input0
[ 396.641080] sony 0003:054C:05C4.0006: failed to claim input
[ 404.363254] usb 3-4: USB disconnect, device number 4
[ 406.048687] usb 3-4: new full-speed USB device number 5 using xhci_hcd
[ 406.221939] usb 3-4: New USB device found, idVendor=2dc8, idProduct=6006, bcdDevice= 2.00
[ 406.221943] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 406.221945] usb 3-4: Product: 8BitDo Pro 2
[ 406.221946] usb 3-4: Manufacturer: 8BitDo
[ 406.221947] usb 3-4: SerialNumber: 000000000003
[ 406.249064] input: 8BitDo 8BitDo Pro 2 as /devices/pci0000:00/0000:00:08.1/0000:0a:00.3/usb3/3-4/3-4:1.0/0003:2DC8:6006.0007/input/input22
[ 406.249163] hid-generic 0003:2DC8:6006.0007: input,hidraw4: USB HID v1.11 Gamepad [8BitDo 8BitDo Pro 2] on usb-0000:0a:00.3-4/input0Sorry for the length and thanks in advance for the help.
-
This post is deleted! -
I solved it, but emulationstation still crashes. From dmesg:
[ 239.911639] emulationstatio[3673]: segfault at 0 ip 0000560e2d9700e4 sp 00007ffdc7f64ed0 error 4 in emulationstation[560e2d7dc000+1b8000]
[ 239.911648] Code: 08 0f 84 cf 00 00 00 49 be f8 ff ff ff ff ff ff 7f 49 bd cd cc cc cc cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 48 8b 7b 18 <8b> 07 85 c0 0f 84 4c 02 00 00 48 8b 73 08 48 8b 03 49 89 f0 49 29 -
Solved
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.