batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

Batocera Beta 38 Stuck at "Batocera Logo" Clean Install TV Box S905X3 #10206

Closed batoceragaming closed 7 months ago

batoceragaming commented 11 months ago

Hi,

I want to report that Starting from Batocera 38, I cannot manage to pass the batocera logo (Stuck at login screen). Already tried the DTBs, but still not working.

Batocera 35 stable and Batocera 37_20230610 were fine.

Do you know what is wrong here?

I use Batocera 38_20231015 (Release Candidate)

X96 Max+ 64 GB / 4GB “rtl8822cs-bt”.

Thanks for your help

chewie-21 commented 11 months ago

Hi, I have the same issue, did an update from v35 to v38 (latest stable) today and after reboot, it's stuck at login screen too, how to fix this ?

HP desktop i5 / 16Go RAM / nvidia GT1030

Thank you

lbrpdx commented 11 months ago

@chewie-21 for PC x86_64, it’s not the same graphic environment as SBC. In particular for NVidia cards, you might need to manually set the driver selection in /boot/batocera-boot.conf See https://wiki.batocera.org/display_issues#i_see_the_batocera_splash_screen_but_then_it_turns_black_no_input and the links referenced there.

batserra commented 11 months ago

Hi Did you try to a fresh install? ,i have a X96 Max Plus 2 with 4 Ram and works perfectly with meson-sm1-x96-max-plus-100m.dtb I think that i have downloaded from:

https://github.com/ophub/amlogic-s9xxx-armbian/tree/2f6151e7e23e8c579af8ecd23586b69a072a1dbe/build-armbian/armbian-files/platform-files/amlogic/bootfs/dtb/amlogic

But no lan, please if you work tell me how you have done

Thanks

batoceragaming commented 11 months ago

Thanks @batserra. I can confirm that using these following DTBs I managed to fix the stuck at batocera logo on a fresh install. It works on X96 Max+ 64 GB / 4GB, But No LAN, No WIFI and NO Bluetooth.

This is a more recent DTBs that is suitable to Batocera 38 (Kernel 6.1.55) https://github.com/ophub/kernel/releases/download/kernel_stable/6.1.52.tar.gz

It's weird, in Armbian I managed to turn on my wifi and bluetooth by using "meson-sm1-x96-max-plus-2101.dtb", but in Batocera wifi and bluetooth are not recognized. Do you know the solution?

https://github.com/ophub/amlogic-s9xxx-armbian/issues/1086 Based on this post, when using "meson-sm1-x96-max-plus-2101.dtb", Wifi and Bluetooth should work out of the box in Armbian. But I don't know what other tweaks must be done in Batocera?

batserra commented 11 months ago

H @batoceragaming

Sorry at this moment i can not find a solution ,i have an issue like yours

https://github.com/batocera-linux/batocera.linux/issues/10189

For what i know there is a problem with the kernel and our dispositives, and at this moment there is not a compatible dtb with this kernel (or i don't know where to find it)

dmanlfc ,told me that we have to wait until a v38 or v39.....

Maybe a solution its to compile a new dtb file compatible with latest version of kernel 6.1 ,but its something that i tryed but no result (i'm not enogh good to do it...) There are some solution to convert a dts to dtb ,if you want to try

https://github.com/unifreq/linux-6.1.y/tree/main/arch/arm64/boot/dts/amlogic

But really i don't know if this solution will work

Please if you or someone else find a solution tell me, will be very apreciate

Thanks

chewie-21 commented 11 months ago

@chewie-21 for PC x86_64, it’s not the same graphic environment as SBC. In particular for NVidia cards, you might need to manually set the driver selection in /boot/batocera-boot.conf See https://wiki.batocera.org/display_issues#i_see_the_batocera_splash_screen_but_then_it_turns_black_no_input and the links referenced there.

Okay thank you for this information, I will try this, (I downgraded to v37 and it's ok) thank you very much and sorry for the disturbance on this topic

J1mb0987 commented 11 months ago

Hi All, I also have the same issue when upgrading from 37 to 38.

After the final splash screen (just before it should load the GUI) it just sits on a black screen. If I press ctrl,alt,del and F3 it displays the following;

X Error of failed request: BadValue (interger parameter out of range for operation) Major opcode of failed request: 151 (GLX) Major opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 118 Current serial number output stream: 119 set eDP-1 as primary /usr/bin/xrandr 0bt-Message: failed to open input method 0bt-Message: failed to open input method 0bt-Message: failed to open input method 0bt-Message: failed to open input method

Am using a hybrid laptop that has both intel and NVidia GPU, I've changed to conf file to force over Nvidia same issue, I've also updated from within linux/37 to 38 and the same thing happens.

unfortunately am going to have to revert back to 37 until the issue is resolved

dmanlfc commented 11 months ago

@J1mb0987 don't jump on another issue with completely different hardware. start your own and when you do, we need the nvidia.log & display.log.

dmanlfc commented 11 months ago

same goes for you @chewie-21 if we don't get logs, we cannot fix it. we had to change nvidia detection.

batoceragaming commented 11 months ago

Hi @batserra

I have tried compiling from scratch and failed, but got the DTBs as by product. But still doesn't solve the Wifi and Bluetooth Problem. It seems we need to patch the kernel somehow in order to solve the problem, not the DTB.

I also have tried the conversion from dtb-->dts, manually edit the dts. Then convert back the dts-->dtb, finally I am convinced that the problem is in the kernel, not the DTB.

10071

batserra commented 11 months ago

@batoceragaming ,thanks for trying ,did you try lan 100 or 1000 if working?

batoceragaming commented 11 months ago

@batserra : I don't have LAN connection, just use WIFI. Last time I used LAN and it didn't work

batserra commented 11 months ago

@batoceragaming can you send me dtb to try lan? ,or attch in your message please ,i would like to try tonigh if lan works

batoceragaming commented 11 months ago

@batserra unfortunately I have deleted all the compilation file process including the DTBs byproduct to reclaim my disk space. I deleted that because they were not working for my WIFI and Bluetooth

batserra commented 11 months ago

ok @batoceragaming ,thanks for trying...

batoceragaming commented 11 months ago

@batserra Sorry about that

batoceragaming commented 11 months ago

@batserra you can try installing Armbian from Ophub, then find the DTB that is match to your Box. You should test the LAN as well. I am pretty sure it should work out of the box.

https://github.com/ophub/amlogic-s9xxx-armbian

batoceragaming commented 11 months ago

@batserra Last time, I compiled Batocera patch by following this post on archived Batocera Forum: https://forum.batocera.org/d/9181-a-working-dtb-for-x96-max-q2

dmanlfc commented 11 months ago

@batoceragaming please try the image here - https://drive.google.com/drive/folders/1juidXdV-h-qj2ZslTI0d4_4ZLwDgehus?usp=share_link

batoceragaming commented 11 months ago

@dmanlfc Ok, thanks. Downloading, I'll let you know the result as soon as possible

batoceragaming commented 11 months ago

Thanks @dmanlfc for sending the Batocera 39 update to S905x3.

Here's my feedback. I have tested several DTBs that comes with the image, I concluded that there is no DTBs that is bootable (Stuck at Batocera Logo).

However when I use the DTBs that come from here: https://github.com/ophub/kernel/releases/download/kernel_stable/6.1.52.tar.gz It works without error.

I tested the "meson-sm1-x96-max-plus-2101.dtb" and "meson-sm1-x96-max-plus-100m.dtb" from Ophub, it runs flawlessly, even I managed to get my WIFI working (I am super happy), but BLUETOOTH is not working currently. Probably when patching the Batocera Kernel, Bluetooth is not included yet? I don't know the answer either.

@dmanlfc : Can we patch the Batocera Kernel using this solution for Bluetooth? https://github.com/ophub/amlogic-s9xxx-armbian/issues/1086

Anyway, thanks for the update.

:)

@batserra : Please try the update of V39 and use the Ophub DTBs, hopefully it can solve your LAN problem

batserra commented 11 months ago

Hi...

Bad news for me, I tryed v39 from @dmanlfc and also not boot ,after i tryed dtbs from ophub, boot but no wifi and not lan... Thanks for both @dmanlfc and @batoceragaming

Tomorrow i have to send x96 to my nethew to another country and will be impossible to try another updates ,anyway many thanks for all work i will leave as v39 without lan/wifi

dmanlfc commented 11 months ago

@batoceragaming yes for the bluetooth but i'm sure this is already added unless i'm missing a specific patch. let's get S905x3 functional again first. I'm cooking a new build...

dmanlfc commented 11 months ago

ok new build on the same share - thanks.

batserra commented 11 months ago

@dmanlfc tryed latest build ,but same error with default dtb no boot ,but with ophub meson-sm1-x96-max-plus-2101.dtb Wifi!!!! Thanks!!! its enoght !!! many thanks for all work!

Now its impossible in two weeks i will do a contribution ,thanks!

batoceragaming commented 11 months ago

Hi @dmanlfc, Thanks for the update. Here's my testing result of Batocera-39-20231020

The DTBs that come from the image are not bootable. But using the ophub DTB, it works. Have tried the following DTBs from Ophub:

Based on the DTB testing, I assume that WIFI works for the tested DTBs because the WIFI was patched universally. But the problem with bluetooth is that because somehow it is not yet patched in the kernel or not activated yet??? I have no idea.

Here's the Ophub DTBs that match with Kernel 6.1.55 of Batocera: https://github.com/ophub/kernel/releases/download/kernel_beta/6.1.55.tar.gz

I just noticed something, when I use DTB from Ophub and open Kodi Player, my TV remote is not recognized. But if I use Batocera 35 and DTB from the image, Kodi Player recognized my TV Remote and I can use it to play video. Probably the DTB that comes with the image also enabled the Infrared??? I don't know.

@batserra I am glad you have WIFI now.

dmanlfc commented 11 months ago

@batoceragaming when you say it doesn't boot, can you be more descriptive? does it show anything? like splash screen or boot video?

batserra commented 11 months ago

@dmanlfc ,in my box just stay in main batocera logo and not continue

batoceragaming commented 11 months ago

@dmanlfc doesn't boot = freeze and stuck at batocera logo, not passing the Boot Video. Here's the keymap process:

  1. Turn on the TV Box
  2. First Batocera Logo
  3. Black Screen
  4. Second Batocera Logo --> Freeze and Stuck Here from Batocera V38
  5. Boot Video
  6. Emulation Station Front-End
batoceragaming commented 11 months ago

@dmanlfc I just found out that I can boot to Batocera v38/v39 by using Batocera 35 DTBs. But WIFI and Bluetooth are not working.

I also tested DTBs from Batocera-37-20230610, I am surprised that using "meson-sm1-sei610.dtb" from Batocera 37 I can boot to Batocera-39-20231020 build and activate the WIFI, but Bluetooth is not working.

batserra commented 11 months ago

nice work @batoceragaming

batoceragaming commented 7 months ago

Hi, I can confirm that using the Latest Batocera Beta Build 39-20240216. Everything works flawlessly. NO STUCK, WIFI and BLUETOOTH now work perfectly. Everything works Out Of The Box.

Good Job Team