Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
batoceragaming opened this issue Oct 17, 2023 · 32 comments
Closed

Comments

@batoceragaming
Copy link

batoceragaming commented Oct 17, 2023

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
Copy link

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
Copy link
Contributor

lbrpdx commented Oct 17, 2023

@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
Copy link

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
Copy link
Author

batoceragaming commented Oct 18, 2023

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.

  • meson-sm1-x96-air-gbit.dtb
  • meson-sm1-x96-max-plus-100m.dtb
  • meson-sm1-x96-max-plus-2101.dtb --> On Armbian, this works for Wifi and Bluetooth
  • meson-sm1-x96-max-plus-ip1001m.dtb
  • meson-sm1-x96-max-plus-oc.dtb
  • meson-sm1-x96-max-plus-q1.dtb
  • meson-sm1-x96-max-plus-q2.dtb

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?

ophub/amlogic-s9xxx-armbian#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
Copy link

H @batoceragaming

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

#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
Copy link

@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
Copy link

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
Copy link
Collaborator

dmanlfc commented Oct 18, 2023

@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
Copy link
Collaborator

dmanlfc commented Oct 18, 2023

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

@batoceragaming
Copy link
Author

batoceragaming commented Oct 18, 2023

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
Copy link

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

@batoceragaming
Copy link
Author

batoceragaming commented Oct 18, 2023

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

@batserra
Copy link

@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
Copy link
Author

@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
Copy link

ok @batoceragaming ,thanks for trying...

@batoceragaming
Copy link
Author

@batserra Sorry about that

@batoceragaming
Copy link
Author

@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
Copy link
Author

@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
Copy link
Collaborator

dmanlfc commented Oct 19, 2023

@batoceragaming
Copy link
Author

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

@batoceragaming
Copy link
Author

batoceragaming commented Oct 19, 2023

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).

  • meson-sm1-h96-max.dtb --> not bootable, usually by default it should be bootable
  • meson-sm1-x96-air-gbit.dtb --> not bootable
  • meson-sm1-x96-max-plus.dtb --> not bootable
  • meson-sm1-x96-max-plus-100m.dtb --> not bootable
  • meson-sm1-x96-max-plus-2101.dtb --> not bootable

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?
ophub/amlogic-s9xxx-armbian#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
Copy link

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
Copy link
Collaborator

dmanlfc commented Oct 19, 2023

@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
Copy link
Collaborator

dmanlfc commented Oct 20, 2023

ok new build on the same share - thanks.

@batserra
Copy link

@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
Copy link
Author

batoceragaming commented Oct 20, 2023

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:

  • meson-sm1-h96-max --> WIFI works, but No Bluetooth --> this is the default naming of Batocera DTB for s905x3
  • meson-sm1-x96-air.dtb --> WIFI works, but No Bluetooth
  • meson-sm1-x96-air-gbit.dtb --> WIFI works, but No Bluetooth
  • meson-sm1-x96-max-plus.dtb --> WIFI works, but No Bluetooth
  • meson-sm1-x96-max-plus-100m.dtb --> WIFI works, but No Bluetooth
  • meson-sm1-x96-max-plus-2101.dtb --> WIFI works, but No Bluetooth

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
Copy link
Collaborator

dmanlfc commented Oct 20, 2023

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

@batserra
Copy link

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

@batoceragaming
Copy link
Author

batoceragaming commented Oct 21, 2023

@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
Copy link
Author

batoceragaming commented Oct 25, 2023

@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
Copy link

nice work @batoceragaming

@batoceragaming
Copy link
Author

batoceragaming commented Feb 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants