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

Nvidia gt730 batocera 41 #13343

Open
alienos opened this issue Jan 27, 2025 · 6 comments
Open

Nvidia gt730 batocera 41 #13343

alienos opened this issue Jan 27, 2025 · 6 comments

Comments

@alienos
Copy link

alienos commented Jan 27, 2025

Batocera build version

41

Your architecture

x86-64

Your Graphic Processor Unit(s) (GPU)

Gt 730

Issue description

I have Batocera 41, and the Nvidia GT 730 card only works with the Nouveau drivers. Attempting to force Nvidia's proprietary drivers using nvidia-driver=legacy470 results in a crash, while setting nvidia-driver=true causes the Nouveau drivers to be used instead.
In Batocera 40, however, it works fine and uses Nvidia's proprietary drivers.

Detailed reproduction steps

Install Batocera.
Change files batocera-boot.conf
Only comment line:
#amdgpu=true
Uncomment and change:
nvidia-driver=legacy470

Details of any attempts to fix this yourself

No response

Details of any modifications you have made to Batocera.

Change file batocera-boot.conf:
Only comment line:
#amdgpu=true
Uncomment and change:
nvidia-driver=legacy470

Logs and data

Xorg.log
[ 16.265] X.Org X Server 1.21.1.14 X Protocol Version 11, Revision 0 [ 16.265] Current Operating System: Linux BATOCERA 6.11.10 #1 SMP PREEMPT_DYNAMIC Mon Jan 6 00:28:32 Europe 2025 x86_64 [ 16.265] Kernel command line: BOOT_IMAGE=/boot/linux label=BATOCERA console=tty3 quiet loglevel=0 vt.global_cursor_default=0 initrd=/boot/initrd.gz [ 16.265] [ 16.265] Current version of pixman: 0.43.4 [ 16.265] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 16.265] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 16.265] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 27 15:37:34 2025 [ 16.266] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 16.266] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 16.268] (==) No Layout section. Using the first Screen section. [ 16.268] (==) No screen section available. Using defaults. [ 16.268] (**) |-->Screen "Default Screen Section" (0) [ 16.268] (**) | |-->Monitor "<default monitor>" [ 16.268] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 16.268] (**) | |-->Device "Device0" [ 16.268] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 16.268] (**) Allowing byte-swapped clients [ 16.268] (==) Automatically adding devices [ 16.268] (==) Automatically enabling devices [ 16.268] (==) Automatically adding GPU devices [ 16.268] (==) Automatically binding GPU devices [ 16.269] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 16.269] (WW) The directory "/usr/share/fonts/X11//TTF/" does not exist. [ 16.269] Entry deleted from font path. [ 16.269] (WW) The directory "/usr/share/fonts/X11//OTF/" does not exist. [ 16.269] Entry deleted from font path. [ 16.269] (WW) The directory "/usr/share/fonts/X11//Type1/" does not exist. [ 16.269] Entry deleted from font path. [ 16.269] (WW) fonts.dir' not found (or not valid) in "/usr/share/fonts/X11//100dpi/".
[ 16.269] Entry deleted from font path.
[ 16.269] (Run 'mkfontdir' on "/usr/share/fonts/X11//100dpi/").
[ 16.269] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11//75dpi/".
[ 16.269] Entry deleted from font path.
[ 16.269] (Run 'mkfontdir' on "/usr/share/fonts/X11//75dpi/").
[ 16.269] (==) FontPath set to:
/usr/share/fonts/X11//misc/
[ 16.269] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 16.269] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16.269] (II) Loader magic: 0x638d40
[ 16.269] (II) Module ABI versions:
[ 16.269] X.Org ANSI C Emulation: 0.4
[ 16.269] X.Org Video Driver: 25.2
[ 16.269] X.Org XInput driver : 24.4
[ 16.269] X.Org Server Extension : 10.0
[ 16.273] (--) PCI:*(7@0:0:0) 10de:1287:1458:3693 rev 161, Mem @ 0xfb000000/16777216, 0x7ff0000000/134217728, 0x7ff8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 16.273] (WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
[ 16.273] (II) LoadModule: "glx"
[ 16.274] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16.279] (II) Module glx: vendor="X.Org Foundation"
[ 16.279] compiled for 1.21.1.14, module version = 1.0.0
[ 16.279] ABI class: X.Org Server Extension, version 10.0
[ 16.279] (==) Matched nouveau as autoconfigured driver 0
[ 16.279] (==) Matched nv as autoconfigured driver 1
[ 16.279] (==) Matched modesetting as autoconfigured driver 2
[ 16.279] (==) Matched fbdev as autoconfigured driver 3
[ 16.279] (==) Matched vesa as autoconfigured driver 4
[ 16.279] (==) Assigned the driver to the xf86ConfigLayout
[ 16.279] (II) LoadModule: "nouveau"
[ 16.279] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 16.281] (II) Module nouveau: vendor="X.Org Foundation"
[ 16.281] compiled for 1.21.1.14, module version = 1.0.17
[ 16.281] Module class: X.Org Video Driver
[ 16.281] ABI class: X.Org Video Driver, version 25.2
[ 16.281] (II) LoadModule: "nv"
[ 16.282] (WW) Warning, couldn't open module nv
[ 16.282] (EE) Failed to load module "nv" (module does not exist, 0)
[ 16.282] (II) LoadModule: "modesetting"
[ 16.282] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 16.283] (II) Module modesetting: vendor="X.Org Foundation"
[ 16.283] compiled for 1.21.1.14, module version = 1.21.1
[ 16.283] Module class: X.Org Video Driver
[ 16.283] ABI class: X.Org Video Driver, version 25.2
[ 16.283] (II) LoadModule: "fbdev"
[ 16.283] (WW) Warning, couldn't open module fbdev
[ 16.283] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 16.283] (II) LoadModule: "vesa"
[ 16.283] (WW) Warning, couldn't open module vesa
[ 16.283] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 16.283] (II) NOUVEAU driver
[ 16.283] (II) NOUVEAU driver for NVIDIA chipset families :
[ 16.283] RIVA TNT (NV04)
[ 16.283] RIVA TNT2 (NV05)
[ 16.283] GeForce 256 (NV10)
[ 16.283] GeForce 2 (NV11, NV15)
[ 16.283] GeForce 4MX (NV17, NV18)
[ 16.283] GeForce 3 (NV20)
[ 16.283] GeForce 4Ti (NV25, NV28)
[ 16.283] GeForce FX (NV3x)
[ 16.283] GeForce 6 (NV4x)
[ 16.283] GeForce 7 (G7x)
[ 16.283] GeForce 8 (G8x)
[ 16.283] GeForce 9 (G9x)
[ 16.283] GeForce GTX 2xx/3xx (GT2xx)
[ 16.283] GeForce GTX 4xx/5xx (GFxxx)
[ 16.283] GeForce GTX 6xx/7xx (GKxxx)
[ 16.283] GeForce GTX 9xx (GMxxx)
[ 16.283] GeForce GTX 10xx (GPxxx)
[ 16.283] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 16.283] (--) using VT number 2

[ 16.770] (EE) [drm] Failed to open DRM device for pci:0000:07:00.0: -19
[ 16.771] (EE) open /dev/dri/card0: No such file or directory
[ 16.771] (WW) Falling back to old probe method for modesetting
[ 16.771] (EE) open /dev/dri/card0: No such file or directory
[ 16.771] (EE) Screen 0 deleted because of no matching config section.
[ 16.771] (II) UnloadModule: "modesetting"
[ 16.771] (EE) Device(s) detected, but none match those in the config file.
[ 16.771] (EE)
Fatal server error:
[ 16.771] (EE) no screens found(EE)
[ 16.771] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 16.771] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 16.771] (EE)
[ 16.783] (EE) Server terminated with error (1). Closing log file.`

@DubaiShark
Copy link

It is a known issue but can't be fixed in V41 either you update to V42 butterfly and test it or revert to V40

@alienos
Copy link
Author

alienos commented Jan 28, 2025

Batocera 42 20250126 doesn't work at all with either the Nouveau driver or the proprietary Nvidia driver. It's a completely black screen. If I had an Nvidia card that supports the latest Nvidia drivers, say a 1660 Super, would it also be bugged in Batocera 41?
Thanks for your reply.

@dtecnbg
Copy link

dtecnbg commented Jan 29, 2025

I am running into the same issue with a GTX 770.
It was running fine on V40.
However upgrading to v41 I am getting the same symptoms. I tried all config combinations I can come up with and ultimately upgraded to the butterfly release but it is still not working.
The log files say that my card matches the json and it tells me that I should use legacy470 but non of it works.
I've been on it for 3 days now tying everything with no success.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Jan 30, 2025

it is likely the end of the road for legacy nvidia cards support in Batocera. old drivers don't play well with newer kernels.

@alienos
Copy link
Author

alienos commented Feb 5, 2025

Image
Picture dmesg on the latest beta.

@alienos
Copy link
Author

alienos commented Feb 8, 2025

Batocera beta batocera-x86_64-42-20250208
nvidia-driver=false Nouveau drivers working !
nvidia-driver=legacy470 not working

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

4 participants