File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,13 +13,18 @@ alias zero_fill_help='dd_help'
1313alias multiboot_help=' help multiboot'
1414alias 40_custom_help=' multiboot_help'
1515
16+ alias markers_ascii_for_documentation=' printf "1\ n" | help markers'
17+ alias marcadores_ascii_para_documentar=' printf "2\ n" | help markers'
18+
1619alias qemu_gpu_passthrough_help=' help qemu_gpu_passthrough'
1720alias gpu_passthrough_help=' qemu_gpu_passthrough_help'
1821
1922alias qemu_mounting_help=' help qemu_mounting_help'
2023alias qcow2_mounting_help=' qemu_mounting_help'
2124alias mounting_qcow2_help=' qemu_mounting_help'
2225
26+ alias nouveau_nvk_zink_help=' help nouveau_nvk_zink'
27+
2328alias trap_signals=' help trap_signals'
2429alias trap_signals_a_help=' trap_signals'
2530alias trap_signals_a_comprehensive_guide=' trap_signals'
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ alias waydroid_script_libhoudini='sudo waydroid-extras -l'
1414
1515alias waydroid_mount_share_folder=' help waydroid_mount_share_folder'
1616alias waydroid_fix_solutions=' help waydroid_fix_solutions'
17+ alias waydroid_certificate_playstore=' help waydroid_certificate_playstore'
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ alias waydroid_script_libhoudini='sudo waydroid-extras -l'
1414
1515alias waydroid_mount_share_folder=' help waydroid_mount_share_folder'
1616alias waydroid_fix_solutions=' help waydroid_fix_solutions'
17+ alias waydroid_certificate_playstore=' help waydroid_certificate_playstore'
Original file line number Diff line number Diff line change @@ -524,8 +524,12 @@ detectgpu () {
524524
525525 if lspci | grep -E " VGA|3D" | grep " NVIDIA" > /dev/null; then
526526 # Detect NVIDIA GPUs
527- if type -p nvidia-smi > /dev/null 2>&1 ; then
527+ if lsmod | grep -qi nvidia && type -p nvidia-smi > /dev/null 2>&1 ; then
528528 nvidia_gpus=$( nvidia-smi --query-gpu=name --format=csv,noheader 2> /dev/null)
529+ else
530+ nvidia_gpus=$( lspci 2> /dev/null | grep -i ' vga.*nvidia' | head -1 | cut -d' :' -f3- | sed ' s/^[ \t]*//' )
531+ fi
532+ if [[ -n " $nvidia_gpus " ]]; then
529533 while IFS= read -r gpu; do
530534 if [[ -n " $gpu " ]]; then
531535 # gpus+=("NVIDIA $gpu [Discrete]")
You can’t perform that action at this time.
0 commit comments