libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.75k stars 289 forks source link

Lakka bootloop #312

Closed Alexius77 closed 6 years ago

Alexius77 commented 6 years ago

Hello, I have a bootloop after flashing lakka to an usb-drive.

gouchi commented 6 years ago

Please boot with live textmode

And provide some Lakka system and graphic logs.

Thank you.

Alexius77 commented 6 years ago

img_20171217_003902 I've entered the commands, what should I do next?

Alexius77 commented 6 years ago

i don't have internet connection or lan on pc running lakka and none of three linux fs drivers work in my windows 10

Alexius77 commented 6 years ago

at last here it is log2.txt

gouchi commented 6 years ago

Same issue with R300 graphic card family. Yours is R400.

Unable to find target for this triple (no targets are registered)

It seems an issue related to llvm.

Alexius77 commented 6 years ago

So, what's the solution then?

gouchi commented 6 years ago

I don't know yet the solution.

Alexius77 commented 6 years ago

Hello! Is there any news about fixing this issue? I have a bit more information if it could help in any way: I have install Windows 7 on my PC and installed RetroArch over it. RetroArch based on MSVC 2010 doesn't start at all, BUT RetroArch based on MSVC 2003 starts and even downloads cores from its repository, but it can't load any of them to use.

gouchi commented 6 years ago

May you try to do some test with our nightly builds and provides some log ?

Alexius77 commented 6 years ago

oh, well, i can try

Alexius77 commented 6 years ago

Tried Lakka-Generic.x86_64-2.1-devel-20180528160406-r28190-gcc135d4.img still bootloop and i don't know how to make logs on this build - only console screen that i see is "boot: " my pc is not connected to network

gouchi commented 6 years ago

Please check this comment.

Alexius77 commented 6 years ago

log.txt here is the log from that build

gouchi commented 6 years ago

Unfortunately, you got a segfault.

Can you try to use the rgui menu driver ? Boot with live textmode then

sed -i -e "s/menu_driver = \"xmb\"/menu_driver = \"rgui\"/g" .config/retroarch/retroarch.cfg
retroarch -v

Edit: correct path ;-)

Alexius77 commented 6 years ago

sed: .config/retroarch.cfg: No such file or directory

ToKe79 commented 6 years ago

should be

.config/retroarch/retroarch.cfg
Alexius77 commented 6 years ago

img_20180607_194519 ls says that there is no config directory

ToKe79 commented 6 years ago

it is a hidden folder (starting with a dot), so you need ls -a. absolute path is /storage/.config/retroarch/retroarch.cfg. i just checked on my s912 box. you can do cd to make sure you are in the right folder for the relative path.

Alexius77 commented 6 years ago

done, again this segmentation fault

Alexius77 commented 6 years ago

by the way, what causes this segfault in general - cpu/ram/hdd?

gouchi commented 6 years ago

Please provide the log with rgui menu.

Alexius77 commented 6 years ago

logrgui.txt

gouchi commented 6 years ago

Same error with rgui menu driver

Unable to find target for this triple (no targets are registered)
Segmentation fault (core dumped)

We need to search/find a fix for this issue as I don't know how to fix it currently.

gouchi commented 6 years ago

Can you try to launch RA with

DRAW_USE_LLVM=0 retroarch -v

Thank you.

Alexius77 commented 6 years ago

yes, it worked - the system has started with rgui driver, but i don't know whether it is an error or not - when i press ESC in any screen, the system quits to the textmode, and when I try to connect to wi-fi and enter the password, nothing happens - so I don't know works my connection or not and my USB flash drive doesn't look like working properly - when I connect it to PC, Windows doesn't allow to format it in any way :( and when I try to view it in Control Panel - Administrative Tools - Computer Management, the system hangs

gouchi commented 6 years ago

It is normal when you pressed Esc that RA closed as you started it manually.

You may try to setup the network with conmannctl.

It is normal you don't see the usb stick as the partition format is not recognized natively on Windows.

Alexius77 commented 6 years ago

no, I mean it wasn't recognized before, but I could easily format it into NTFS or smth and then flash it with a new build of Lakka, now I can't do it at all

gouchi commented 6 years ago

I will close this issue as the original issue is fixed.