batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.02k stars 518 forks source link

Nvidia card using v390 drivers fail #10283

Open dmanlfc opened 1 year ago

dmanlfc commented 1 year ago

Batocera build version

v38 or v39 butterfly builds

Your architecture

x86_64

Your Graphic Processor Unit (GPU)

Dedicated (e.g. GTX 1050; Radeon R9 380)

Graphical brand

Nvidia

Issue description

Xorg fails to load with errors in the terminal.

Expected result

To launch into Batocera like v37

Reproduction steps

Try to boot Batocera with a Nvidia card that requires version 390 driver.

i.e. GeForce GT 620M/630M/635M/640M LE 0DE9

Logs and data

No response

dmanlfc commented 1 year ago

following on from: https://github.com/batocera-linux/batocera.linux/issues/10214

@muyesuyes - I will give you a test soon. DO NOT change the batocera-boot.conf file unless instructed to do so. setting nvidia-driver=true uses the wrong Nvidia driver for your laptop.

dmanlfc commented 1 year ago

@muyesuyes latest build - https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=drive_link

muyesuyes commented 1 year ago

It worked while passing the above error messages on the CTRL+ALT+F3 screen. Booted with Intel mesa graphics card. The F1 screen goes to a black screen and continues to return to the menu.

dmanlfc commented 1 year ago

yo @muyesuyes please try the new version 39-dev-097b3e19ac 2023/10/27 17:07 on my share - https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=drive_link

muyesuyes commented 1 year ago

The same problems above continue. Log files are attached.

amd.log batocera.log display.log mpv.log nvidia.log

dmanlfc commented 1 year ago

can you get me the xorg log file. it's in /var/log/

muyesuyes commented 1 year ago

can you get me the xorg log file. it's in /var/log/

log.zip

dmanlfc commented 1 year ago

@muyesuyes - try the update on my share, thanks.

dmanlfc commented 1 year ago

i see this error - Oct 29 18:08:08 batocera kernel: [ 6.983880] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice Oct 29 18:08:08 batocera kernel: [ 6.983987] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device

muyesuyes commented 1 year ago

New build logs:

amd.log batocera.log display.log mpv.log nvidia.log var/log: log.zip

dmanlfc commented 1 year ago

@muyesuyes the driver is crashing with the later kernel in v38 & v39. specifically the nvidia-drm kernel module as per the error message i posted earlier.

v37 may be the final supported version for these cards as per There may be driver issues due to lack of maintenance from Nvidia for modern kernels.

It's hard for me to verify further as I don't have a legacy card which requires this driver.

muyesuyes commented 1 year ago

The driver doesn't work on v37 either. I am using v37 version with Intel (mesa) 4000. If it at least worked with mesa, I could benefit from the updated mame version. No problem. I will continue with v37 and mesa driver.

My only problem with v37 right now is that I cannot play PS2 and equivalent console games with the Mesa graphics card. There is no problem in other emulators (games of consoles such as PS3 and PS Vita do not work with these graphics cards anyway.) However, I will try again in case the mesa driver works in the stable version.

Thank you for your support and help.

Sorry my bad English.

dmanlfc commented 1 year ago

Set nvidia-driver=false and nvidia-prime=false in the batocera-boot.conf. That should force the Intel mesa driver for you.

muyesuyes commented 1 year ago

Set nvidia-driver=false and nvidia-prime=false in the batocera-boot.conf. That should force the Intel mesa driver for you.

It boots properly with the above changes, but system sounds are significantly reduced. No problems anywhere else. Apparently, as you said, it is a problem caused by Nvidia no longer supporting its old cards. Unfortunately, batocera will no longer be available in the Geforce GT5xxM-6xxM-7xxM series. It would be better if you close the topic and open the unsupported cards area on the main site as a warning so that people can be informed. As you said, I will do a clean installation and continue with v37. Thank you again for the support you have given so far.

Sorry my bad English.

mabounour commented 1 year ago

for me i have good news for my NVIDIA GeForce GT 750M finally it works with the last version was in google drive this morning batocera-x86_64-x86_64-39-20231030 i was see all your conversations daily and i try daily every version you was uploading using a flash drive so i can format and installs many time as i want so will you keep uploading other test versions so i can test for you and other question if there any update while i am in developer version can i get it directly from update menu or how is this work

muyesuyes commented 1 year ago

If it worked for you for the 750M driver, there is a possibility that it could work for the 630M too. I'm downloading it now, I'll let you know the results tomorrow.

muyesuyes commented 1 year ago

Unfortunately it didn't work for me. I'm glad it worked for you and your problem was solved in the 750M series.

mabounour commented 1 year ago

did you tried that last version there is new one with today date 31/10 @muyesuyes

muyesuyes commented 1 year ago

did you tried that last version there is new one with today date 31/10 @muyesuyes

I think it is unnecessary to try from now on. I'll try again in the stable version. I will install v38, turn off nvidia settings and use it. Since I will be installing it on flash drive, I will also have the chance to open nvidia settings for the computer I use from now on.

itzKENDAMA commented 8 months ago

hi guys i am new to this emulation stuff. i want help regarding boot when i boot batocera all works and it boots up till animation but after that it doesnt load it shows some king of a output error when i press ctra atrl f3.

my spec:

i7 10750h rtx 3060 1080p 144hz monitor i dont have a pc it is a lpatop msi gf65 thin 10ue

itzKENDAMA commented 8 months ago

![Uploading IMG_1007.JPG…]()

itzKENDAMA commented 8 months ago

image

itzKENDAMA commented 8 months ago

this is the error

itzKENDAMA commented 8 months ago

but the version 39 that you provided on drive works and loads porperly

edit: you provied early bould of v39 which is also called 40 preview works fine but has some bugs

dmanlfc commented 8 months ago

v40 is in early development. Use the official v39 version released yesterday.