| Both sides previous revision Previous revision Next revision | Previous revision |
| supported_pc_hardware [2022/07/07 03:00] – atom is being depreciated in dec 2022 atari | supported_pc_hardware [2025/06/02 19:24] (current) – [Fix no audio on Radeon HDMI audio output] Fix for syslinux.cfg paths lbrpdx |
|---|
| === Current Nvidia drivers === | === Current Nvidia drivers === |
| |
| Batocera includes most available Linux versions of the Nvidia drivers available at the time of a new release. Batocera will guess the "best" drivers to use automatically, but this decision can be overridden in case of false detection or desire to use a specific version. | Batocera includes the Linux versions of the Nvidia drivers and will use them automatically. Details about which driver is being used after boot can be found in the log file at ''/userdata/system/logs/nvidia.log''. |
| |
| To override the automatic setting, [[:edit_boot_partition#plugging_it_into_another_machine|plug your SD-card/USB drive into a computer]]. At the top level, find the ''batocera-boot.conf'' file and uncomment (i.e. remove the initial #) the ''nvidia-driver=true'' line. If the line is not present, add it anywhere. In the latest config file, it should look like this: | The automatic setting can be overridden by [[:edit_boot_partition#plugging_it_into_another_machine|modifying the boot configuration file]]. At the top level, find the ''batocera-boot.conf'' file and uncomment (i.e. remove the initial #) the ''nvidia-driver=true'' line. If the line is not present, add it anywhere. ''true'' can be replaced to specify a specific version. |
| |
| <code> | <code> |
| # to enable the alternative nvidia 'legacy' driver - set to nvidia-driver=legacy | ## Manually override Nvidia driver selected. Leave this setting commented to have Batocera automatically select the correct driver. |
| # see driver details & supported GPU's here - https://www.nvidia.com/en-us/drivers/unix/ | ## See https://wiki.batocera.org/supported_pc_hardware |
| | ## true -> Use the current production driver. |
| | ## legacy -> Use the "legacy" 470 driver (could be subject to change, though unlikely). |
| | ## legacy390 -> Use the older 390 driver. |
| | ## false -> Use the open-source Nouveau drivers. |
| nvidia-driver=true | nvidia-driver=true |
| |
| # enable nvidia prime switcher, helps with modern laptops (post-2018) with hybrid graphics that default to using integrated graphics | |
| </code> | </code> |
| |
| ''true'' will force the latest Nvidia produciton drivers to be used. Use the major version from any version from Production Branch Version back to Version 390 to use that version instead. As of writing, these options are ''true'', ''495'', ''470'' ''390'' or ''legacy'' (''legacy'' refers to the drivers used in the last "legacy Nvidia drivers" version available on the download page, this image is no longer updated). | |
| |
| <WRAP center round important> | <WRAP center round important> |
| </WRAP> | </WRAP> |
| |
| For Batocera versions **v31** and newer, if you use a laptop that has both an integrated Intel and a discrete Nvidia GPU (hybrid setup or "Optimus" technology, which is very common with post-2018 laptops), you need to enable the official Nvidia drivers and then tell your laptop to actually use them with ''nvidia-prime=true'' as well. Your config should contain this uncommented line: | For Batocera versions **v31** and newer, if you use a laptop that has both an integrated Intel and a discrete Nvidia GPU (hybrid setup or "Optimus" technology, which is very common with post-2018 laptops), you need to tell your laptop to use the Nvidia card as a primary card with the ''nvidia-prime=true'' option. Your config should contain this uncommented line: |
| |
| <code> | <code> |
| </WRAP> | </WRAP> |
| |
| How can you tell if the Nvidia driver is correctly set up? Go to **SYSTEM SETTINGS** -> **INFORMATION** and see if the OpenGL version mentions **NVIDIA** in its version. If it does, you're all set. If it mentions **MESA**, that means that the Nvidia driver is not correctly activated. | == External HDMI ports == |
| | |
| | If the second GPU has outputs that are not accessible by the primary GPU, you can use [[https://wiki.archlinux.org/title/PRIME#Reverse_PRIME|Reverse PRIME]] to make use of them. This will involve using the primary GPU to render the images, and then pass them off to the second GPU. |
| | |
| | [[:access_the_batocera_via_ssh|Using ssh]] or the terminal via the F1 option, create the following file - ''/etc/X11/xorg.conf.d/10-gpu.conf'': |
| | |
| | In this example, we use the nano command - ''nano /etc/X11/xorg.conf.d/10-gpu.conf'' |
| | |
| | Copy the code below into ''nano'' for the file you're creating. |
| | |
| | <file - 10-gpu.conf> |
| | Section "ServerLayout" |
| | Identifier "layout" |
| | Screen 0 "nouveau" |
| | Inactive "intel" |
| | EndSection |
| | |
| | Section "Device" |
| | Identifier "nouveau" |
| | Driver "nouveau" |
| | BusID "PCI:x:x:x" # Sample: "PCI:1:0:0" |
| | EndSection |
| | |
| | Section "Screen" |
| | Identifier "nouveau" |
| | Device "nouveau" |
| | EndSection |
| | |
| | Section "Device" |
| | Identifier "intel" |
| | Driver "intel" |
| | BusID "PCI:x:x:x" # Sample: "PCI:0:2:0" |
| | EndSection |
| | |
| | Section "Screen" |
| | Identifier "intel" |
| | Device "intel" |
| | EndSection |
| | </file> |
| | |
| | Hit ''[Ctrl]'' + ''[X]'' to exit and then ''Y'' to save the changes. Run ''batocera-save-overlay'' to make it permanent. |
| |
| --> Legacy Nvidia drivers image# | --> Legacy Nvidia drivers image# |
| |
| HDMI audio is disabled by default on Radeon graphics cards due to a black screen issue on some monitors. To enable it, edit the boot configuration file on the boot partition. In Batocera: | HDMI audio is disabled by default on Radeon graphics cards due to a black screen issue on some monitors. To enable it, edit the boot configuration file on the boot partition. In Batocera: |
| * **5.25** and above, ''boot/syslinux/syslinux.cfg'' for legacy boot and ''boot/EFI/syslinux.cfg'' for EFI boot. | * From **41** onwards, ''boot/EFI/batocera/syslinux.cf'' for EFI boot, and ''boot/boot/syslinux/syslinux.cfg'' for legacy |
| | * **5.25** to **40**, ''boot/syslinux/syslinux.cfg'' for legacy boot and ''boot/EFI/syslinux.cfg'' for EFI boot. |
| * FIXME **5.24** to **5.XX**, ''boot/syslinux.cfg'' for legacy boot | * FIXME **5.24** to **5.XX**, ''boot/syslinux.cfg'' for legacy boot |
| * **5.XX** and lower, ''boot/grub.cfg'' for legacy boot and ''EFI/boot/grub.cfg'' for EFI boot. | * **5.XX** and lower, ''boot/grub.cfg'' for legacy boot and ''EFI/boot/grub.cfg'' for EFI boot. |
| } | } |
| |
| ===== Intel i965 ===== | |
| |
| Although most Intel integrated graphics should work out of the box, some chips such as the one in the [[https://www.intel.com.au/content/www/au/en/products/sku/89190/intel-nuc-kit-nuc6i5syh/specifications.html|NUC6i5SYH]] Intel NUC Kit require activating the latest official i965 drivers. | |
| |
| To activate these drivers, [[:edit_boot_partition#plugging_it_into_another_machine|plug your SD-card/USB drive into a computer]]. At the top level, find the ''batocera-boot.conf'' file and uncomment (i.e. remove the initial #) the ''intel-i965-driver=true'' line. If the line is not present, add it. It should look like this: | |
| |
| <code> | |
| intel-i965-driver=true | |
| </code> | |
| |
| ===== Others ===== | ===== Others ===== |