Open matt973 opened 10 months ago
From v39, provide your nvidia.log
& display.log
files.
Also the output of lspci
via the terminal or SSH.
remove the es.resolution=max-1920x1080
from your batocera.conf file
for a start.
i'm awaiting the output of lspci
nvidia.log display.log batocera.log
lspci
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #2 (rev 02)
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:17.0 SATA controller: Intel Corporation Alder Lake-P SATA AHCI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Alder Lake PCH-P PCI Express Root Port #9 (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
03:00.0 Non-Volatile memory controller: Sandisk Corp Device 5007 (rev 01)
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
manually update from here - https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=drive_link
Hi Daniel, batocera died after the reboot. Black screen and inability to log in from terminal. These are the steps I took to upgrade:
@. /userdata/system/upgrade]# chmod +x manual-upgrade.sh @. /userdata/system/upgrade]# ./manual-upgrade.sh batocera-boot.conf boot/ boot/syslinux/ boot/syslinux/menu.c32 boot/syslinux/libutil.c32 boot/syslinux/syslinux.cfg boot/batocera.board boot/linux boot/batocera.update tar: boot/batocera.update: only 8704 bytes written out of 10240 boot/initrd.gz boot/syslinux.cfg EFI/ EFI/batocera/ EFI/batocera/mmx64.efi EFI/batocera/BOOTX64.CSV EFI/batocera/grubx64.efi EFI/batocera/menu.c32 EFI/batocera/shimx64.efi EFI/batocera/ldlinux.e32 EFI/batocera/ldlinux.e64 EFI/batocera/libutil.c32 EFI/batocera/syslinux.cfg EFI/batocera/batocera-mok.cer EFI/batocera/bootx64.efi EFI/BOOT/ EFI/BOOT/mmx64.efi EFI/BOOT/fbx64.efi EFI/BOOT/bootia32.efi EFI/BOOT/BOOTX64.EFI EFI/syslinux.cfg ENROLL_THIS_KEY_IN_MOKMANAGER_batocera.cer tools/ tools/btrfs_on_windows/ tools/btrfs_on_windows/btrfs.inf tools/btrfs_on_windows/x86/ tools/btrfs_on_windows/x86/btrfs.sys tools/btrfs_on_windows/x86/shellbtrfs.dll tools/btrfs_on_windows/x86/ubtrfs.dll tools/btrfs_on_windows/x86/mkbtrfs.exe tools/btrfs_on_windows/btrfs.cat tools/btrfs_on_windows/x64/ tools/btrfs_on_windows/x64/btrfs.sys tools/btrfs_on_windows/x64/shellbtrfs.dll tools/btrfs_on_windows/x64/ubtrfs.dll tools/btrfs_on_windows/x64/mkbtrfs.exe tools/btrfs_on_windows/readme.txt tar: Exit with failure status based on previous errors
Reboot now DMAN!
@.***/userdata/system/upgrade]# reboot
Il giorno mer 15 nov 2023 alle ore 15:34 Daniel Martin < @.***> ha scritto:
manually update from here - https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=drive_link
— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/10436#issuecomment-1812644338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7M4IXA6VBMSFH5JXJ2W6LYETHIVAVCNFSM6AAAAAA7IOA2GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSGY2DIMZTHA . You are receiving this because you authored the thread.Message ID: @.***>
new logs please
Il giorno gio 16 nov 2023 alle ore 02:58 Daniel Martin < @.***> ha scritto:
new logs please
— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/10436#issuecomment-1813646480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7M4IQ4TVOGGJAFA5K5MYLYEVXKRAVCNFSM6AAAAAA7IOA2GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTGY2DMNBYGA . You are receiving this because you authored the thread.Message ID: @.***>
I'll update: I did a fresh install starting from batocera v37 hoping to get the minipc working with batocera, but still the usual black screen. I update with your files from terminal bringing the system to v39 dev. Still black screen both enabling nvidia from batocera.boot.conf and disabling it. I attach zipped log folder
Il giorno gio 16 nov 2023 alle ore 03:23 Matteo Finocchi < @.***> ha scritto:
Il giorno gio 16 nov 2023 alle ore 02:58 Daniel Martin < @.***> ha scritto:
new logs please
— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/10436#issuecomment-1813646480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7M4IQ4TVOGGJAFA5K5MYLYEVXKRAVCNFSM6AAAAAA7IOA2GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTGY2DMNBYGA . You are receiving this because you authored the thread.Message ID: @.***>
i don't see any attachment
logs.zip
Il giorno gio 16 nov 2023 alle ore 23:55 Daniel Martin < @.***> ha scritto:
i don't see any attachment
— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/10436#issuecomment-1815443115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM7M4IWHYLHGZDBLYXVODP3YE2KU7AVCNFSM6AAAAAA7IOA2GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVGQ2DGMJRGU . You are receiving this because you authored the thread.Message ID: @.***>
you need to attach them
@matt973 everything is showing fine. There appears to be a problem with some laptops which have different wiring for the video out etc. We will need to make a custom xorg file. See my fifth post in this issue about what to try - https://github.com/batocera-linux/batocera.linux/issues/4451
Thank you, but I had already seen your solution days ago and by creating the 10-gpu.conf file Batocera only boots in text mode: I attach var/log.zipper and video of the startup
try like this
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
now starts normally but always black screen. 😣
Ok well I'm on holiday. So your best solution for now is to set nvidia-prime=false
in your batocera-boot.conf
file.
@matt973 try the latest beta on my share https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=drive_link
Hi Daniel, happy holidays. Thank you for your support which I immediately put into practice. Unfortunately this device also quite well known, seems to be incompatible with batocera, the gpu is never recognized even though it is present in the various log files. I attach you a video with batocera info after upgrading
Did you comment out nvidia-prime=false
?
I think I have tried all the combinations among these also nvidia-prime=false nvidia-prime=true
Only in the audio options under "Audio output" and "Audio Profile" there are signs that Hdnvidia is present even though there is no audio
If I don't get logs I can't assist / advise further.
If I don't get logs I can't assist / advise further.
Hi Daniel, do you think it is impossible?
@matt973 sorry I didn't see the update. Please upgrade to the latest beta & then provide a support file.
hi Daniel, I have updated to version 39 dev on Jan. 25. I attach support file. Thank you logs.zip
@matt973 you need to run a completely stock image. Which means no changes, no overlays etc. Also create a support file and attach it. See the wiki if you don't know how. You can ssh in if you have a blank display after the splash video. Again details in the wiki.
@dmanlfc I did a fresh install with the latest version v39-dev-6aa5b5b0ca 2024/01/28 No display problems and on first boot the audio was working too (disappeared on first reboot). The Nvidia RTX 3050 GPU is still not recognized I only have a trace of it in the Audio Output section. I attach the log files and the batocera support file batocera-support-20240128211302.tar.gz logs.zip
There is a problem with the driver & your Nvidia GPU which I have not seen before -
[ 5.058051] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 5.074404] ACPI Warning: \_SB.PC00.PEG1.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20230628/nsarguments-61)
[ 6.006994] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x56:1482)
[ 6.007702] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 6.008415] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[ 6.008656] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
Effectively it's failing where it shouldn't, hence the downstream Xorg, Prime functionality for OpenGL etc is not working. Can you ensure the Nvidia GPU is enabled in the BIOS or try different GPU settings from the BIOS?
Researching seems to outline some general issues for this error & a lot of non fixed problems:
So check the BIOS updates etc as previously suggested. If you still have a fault, try another Linux OS on the same device using the Proprietary Nvidia drivers (i.e. Manjaro) and see if the Nvidia drivers fully work there with hardware acceleration.
@dmanlfc I don't know if it helps, I attach photos of the options I found on the Bios regarding the video card. This minipc mounts hybrid laptop hardware with Nvidia-Optimus Muxed technology. In this regard, I found two articles from the manufacturer Nvidia https://download.nvidia.com/XFree86/Linux-x86_64/390.42/README/optimus.html and here in particular are listed the same errors found in the support file and the reasons why VBIOS does not load on Optimus system https://download.nvidia.com/XFree86/Linux-x86_64/390.42/README/commonproblems.html#optimusacpivbios
@dmanlfc
The 3050 has been supported for some time unless they haven't enabled your PCI ID for some reason.
It seems unlikely to me, also because I have used it very little.
A BIOS update / configuration change can help.
I can try
The GPU is faulty
Tried successfully with windows 11
Try other OS's
I was going to do it
Try PEG Slot
@matt973 - try this updated version https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=drive_link
a new linux nvidia beta driver has been released.
hi @dmanlfc
a curse hovers over this minipc I attach the usual files
same error with the new driver - [ 7.278747] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x56:1598) [ 7.279394] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0 [ 7.280403] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice [ 7.280632] [drm:nv_drm_register_drm_device [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
you need to test another linux os, if that fails with the proprietary driver then you need to inform the manufacturer & report it to nvidia also. there is not a lot we can do as it appears to be some sort of compatibility problem.
Hi @matt973, have the same Problem. Did you try another Linux OS or did you Opened a Nvidia Ticket? Thx Anton
Batocera build version
39-dev-1eb34f45d5 2023/11/08 01:00
Your architecture
X64
Your Graphic Processor Unit (GPU)
Dedicated (e.g. GTX 1050; Radeon R9 380)
Graphical brand
Nvidia
Issue description
I am experiencing problems with a pc that has the architecture of a hybrid laptop (i7-12800H + nvidia RTX 3050) the infamous Hybrid/Optimus Nvidia laptops. With a fresh installation of Batocera v38 I was not getting any video seganel after the boot animation but I could connect via terminal or SFTP, so I upgraded to Batocera v39 beta managing at least to boot Batocera and getting video signal (with audio on the other hand I can't find the right combination and get only croaking beeps). I modified the batocera.boot.conf file by activating the nvidia-prime=true option but I also tried nvidia-driver=true without success. From the system info under openGL Driver Version, I keep seeing only Mesa, as well as on Vendor and Render always Intel. Even opening the configuration in emulators like Dolphin or Rpcs3 in the video section, the only alternative resat Intel
Expected result
Batocera should have loaded the correct Nvidia RTX 3050 GPU drivers on both V38 and V39 Beta and displayed the versions in system information and as an option in the various emulators that support the choice of Gpu and vulkan drivers, excluding Intel.
Reproduction steps
Problem detected on new installation of Batocera V38 and on upgrade to V39 Beta.
Logs and data
this is the contents of my /userdata/system/logs/batocera.log :
NVIDIA GPU detected
Control card: GeForce RTX 3050 Mobile
Detected PCI device ID in the production list
Detected card name in the production list
Using the NVIDIA Production driver - 525.60.11
Using the NVIDIA Production driver - 525.60.11
Using the NVIDIA Production driver - 525.60.11
this is the contents of my /userdata/system/logs/nvidia.log file:
OS version: 39-dev-1eb34f45d5 2023/11/08 01:00 Using automatic Nvidia driver detection Detect if we have a Nvidia GPU Detected a NVIDIA GPU Checking card: GeForce RTX 3050 Mobile with ID: 25A2 Detected card name: GeForce RTX 3050 Mobile in production list Detected PCI device ID: 25A2 in production list too, yay! Using NVIDIA Production driver - 545.29.02 Module ipmi_devintf loaded successfully Module nvidia loaded successfully Module nvidia_modeset loaded successfully Module nvidia_uvm loaded successfully Module nvidia_drm loaded successfully Download of production.list failed. Download of legacy.list failed. Download of legacy390.list failed. Download of legacy340.list failed.