I have lakka installed on an HP pavilion dm1 AMD processor. But when I run a ROM it just resets back to lakka. I would like to know what the errors are and why it’s doing this.
Which cores? Which ROMs?
http://www.lakka.tv/doc/FAQ/ scroll down to the part labeled “How do I debug RetroArch?” That log will tell you/us what’s actually going wrong.
Long time ago, we had a bug like this on AMD. Because of a texture format. I really hope this bug is not back.
I tried launching a few .nes files on nestopia and one snes rom. I launched the system with the error log as well. Here if you want to read it. http://pastebin.com/2qrk5fzQ
Did you try with other core ? Because it seems you got a crash when loading the NES game. You can try to get a backtrace from gdb.
###########################################
Lakka - The DIY retro emulation console
… visit http://www.lakka.tv …
###########################################
Lakka (unofficial) Version: devel-20150307205641-r20834-ge8d52d6
Lakka git: e8d52d698372bd8e24f2e93db08cd6d660258679
Lakka:~ # systemctl stop retroarch
Lakka:~ # retroarch --menu --verbose >> log.txt 2>&1
Lakka:~ # retroarch --menu --verbose >> log.txt 2>&1
Lakka:~ # gdb retroarch
GNU gdb (GDB) 7.8.2
Copyright © 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-openelec-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from retroarch…(no debugging symbols found)…done.
(gdb) r
Starting program: /usr/bin/retroarch
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need “set solib-search-path” or “set sysroot”?
warning: File “/lib/libthread_db-1.0.so” auto-loading has been declined by your auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /lib/libthread_db-1.0.so line to your configuration file "/storage/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/storage/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. [New LWP 562] RetroArch [ERROR] :: open_devices :: [udev] Failed to open device: /dev/input/mouse1 (Inappropriate ioctl for device). bt ^C Program received signal SIGINT, Interrupt. 0x00007f2c32f4799f in pthread_cond_wait () from /lib/libpthread.so.0 (gdb) bt #0 0x00007f2c32f4799f in pthread_cond_wait () from /lib/libpthread.so.0 #1 0x000000000046e2a4 in ?? () #2 0x000000000040a1d1 in ?? () #3 0x000000000040dd08 in ?? () #4 0x0000000000463da7 in ?? () #5 0x0000000000412aae in ?? () #6 0x0000000000407f75 in ?? () #7 0x00007f2c32903770 in __libc_start_main () from /lib/libc.so.6 #8 0x0000000000408019 in ?? () (gdb) ^CQuit (gdb) Lakka:~ # gdb retroarch Undefined command: "Lakka". Try "help". (gdb) GNU gdb (GDB) 7.8.2 Undefined command: "GNU". Try "help". (gdb) Copyright (C) 2014 Free Software Foundation, Inc. Undefined command: "Copyright". Try "help". (gdb) License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> Undefined command: "License". Try "help". (gdb) This is free software: you are free to change and redistribute it. Undefined command: "This". Try "help". (gdb) There is NO WARRANTY, to the extent permitted by law. Type "show copying" Undefined command: "There". Try "help". (gdb) and "show warranty" for details. Undefined command: "and". Try "help". (gdb) This GDB was configured as "x86_64-openelec-linux-gnu". Undefined command: "This". Try "help". (gdb) Type "show configuration" for configuration details. Undefined command: "Type". Try "help". (gdb) For bug reporting instructions, please see: Can't find a default source file (gdb) <http://www.gnu.org/software/gdb/bugs/>. Undefined command: "<http". Try "help". (gdb) Find the GDB manual and other documentation resources online at: No symbol table is loaded. Use the "file" command. (gdb) <http://www.gnu.org/software/gdb/documentation/>. Undefined command: "<http". Try "help". (gdb) For help, type "help". Can't find a default source file (gdb) Type "apropos word" to search for commands related to "word"... Undefined command: "Type". Try "help". (gdb) Reading symbols from retroarch...(no debugging symbols found)...done. Undefined command: "Reading". Try "help". (gdb) (gdb) r Undefined command: "". Try "help". (gdb) Starting program: /usr/bin/retroarch Undefined command: "Starting". Try "help". (gdb) warning: Could not load shared library symbols for linux-vdso.so.1. Undefined command: "warning". Try "help". (gdb) Do you need "set solib-search-path" or "set sysroot"? No symbol table is loaded. Use the "file" command. (gdb) warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your
auto-load safe-path’ set to “$debugdir:$datadir/auto-load”.
Undefined command: “warning”. Try “help”.
(gdb) To enable execution of this file add
Undefined command: “To”. Try “help”.
(gdb) add-auto-load-safe-path /lib/libthread_db-1.0.so
(gdb) line to your configuration file “/storage/.gdbinit”.
Undefined command: “line”. Try “help”.
(gdb) To completely disable this security protection add
Undefined command: “To”. Try “help”.
(gdb) set auto-load safe-path /
(gdb) line to your configuration file “/storage/.gdbinit”.
Undefined command: “line”. Try “help”.
(gdb) For more information about this security protection see the
Can’t find a default source file
(gdb) “Auto-loading safe path” section in the GDB manual. E.g., run from the shell:
Undefined command: “”. Try “help”.
(gdb) info “(gdb)Auto-loading safe path”
Undefined info command: “”(gdb)Auto-loading safe path"". Try “help info”.
(gdb) warning: Unable to find libthread_db matching inferior’s thread library, thread debugging will not be available.
Undefined command: “warning”. Try “help”.
(gdb) [New LWP 562]
Undefined command: “”. Try “help”.
(gdb) RetroArch [ERROR] :: open_devices :: [udev] Failed to open device: /dev/input/mouse1 (Inappropriate ioctl for device).
Undefined command: “RetroArch”. Try “help”.
(gdb) bt
#0 0x00007f2c32f4799f in pthread_cond_wait () from /lib/libpthread.so.0
#1 0x000000000046e2a4 in ?? ()
#2 0x000000000040a1d1 in ?? ()
#3 0x000000000040dd08 in ?? ()
#4 0x0000000000463da7 in ?? ()
#5 0x0000000000412aae in ?? ()
#6 0x0000000000407f75 in ?? ()
#7 0x00007f2c32903770 in __libc_start_main () from /lib/libc.so.6
#8 0x0000000000408019 in ?? ()
I can’t get Air Gallet to work on my X64 PC with FBA - I’ve tried everything. It just resets to the main Lakka Screen.
I forgot it is not debug version so we can’t know exactly where it crashed. Do you reproduce the error with other platform ?
Can you get the ouput of
lspci -nn | grep VGA
Unadan : Air Gallet works you need the rom and the parent rom.
[QUOTE=gouchi;37934]I forgot it is not debug version so we can’t know exactly where it crashed. Do you reproduce the error with other platform ?
Can you get the ouput of
lspci -nn | grep VGA
Unadan : Air Gallet works you need the rom and the parent rom.[/QUOTE]
I’ve tried everything with Air Gallet - I have like six files related to the game from FBA sites - none of them work. Do I need a bios file to be located in the same directory?
I have a Mame version of the game that DOES work under Lakka but not under the FBA emulator.
Are there some roms you’re able to launch? Or 100% of them fails?
Almost all work - except for AG. Update - actually the same MAME rom I have for this games also loads with FBA - in a bit smaller screen mode (which I like better anyway). Working the bugs out…
[QUOTE=gouchi;37934]I forgot it is not debug version so we can’t know exactly where it crashed. Do you reproduce the error with other platform ?
Can you get the ouput of
lspci -nn | grep VGA
Unadan : Air Gallet works you need the rom and the parent rom.[/QUOTE]
login as: root [email protected]’s password: ###########################################
Lakka - The DIY retro emulation console
… visit http://www.lakka.tv …
###########################################
Lakka (unofficial) Version: devel-20150307205641-r20834-ge8d52d6 Lakka git: e8d52d698372bd8e24f2e93db08cd6d660258679 Lakka:~ # lspci -nn | grep VGA 01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712] Lakka:~ # Lakka:~ #
Ok I got it working now. The problem was I had the wrong version installed. I got the version from http://lifehacker.com/how-to-turn-your-pc-or-other-device-into-a-retro-arca-1703576831 online tutorial but the one I downloaded from the main site http://www.lakka.tv/get/linux/ worked right out of the box.
Yeah, I understand now. Glad that it works now