Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
Not sure I would call this the same hang issue, but using the latest script, the installation of the latest NVIDIA-Linux-x86_64-460.39.run driver "successfully" installs (without a script error), but on re-boot (even after a hard halt and re-start), I get a blinking cursor like you get when a new kernel is installed. Ran it again, and got the same result. The sgfxi log:

:: Code ::
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2021-01-30-09:15:12
Video Card Information: NVIDIA Corporation TU116 [GeForce GTX 1650] (rev a1)
Video Card Type: 10de
Video Card Number: 2188
Xorg Version: 1.20.10
Installing driver to kernel: 5.10.0-2-amd64
sgfxi script version: 4.26.47
sgfxi start options:  -o 460.39 -j 1 -! 120 -X -P apt-get
SYSTEM_BASE: debian
SYSTEM_CODENAME: sid
DISTRIB_CODENAME: sid
DISTRIB_ID: debian
DISTRIB_RELEASE:
SIS: debian-sid-64
BITS: 64
FG_DISTRIB_CODENAME: sid
FG_DISTRIB_ID: Debian
APT_TYPE: apt-get
LOGIN_PID: 517
SUDO_START:
B_SYSTEMD: true
B_SYSTEMD_GRAPHICAL: true
B_SYSTEMD_SYSINIT: true
B_UPSTART: false
=========================================================
X is Running: false
Current Runlevel: 5
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 5.10.0-2-amd64
KERNEL_BASE: 5
KERNEL_NUMBER: 5.10
KERNEL_MATH: 10
B_IS_XEN: true
Function: create_x_conf - Primary: Start
  xorg is present with xorg.conf file
Function: create_x_conf - Primary: End
Function: check_supported_driver - Utility: Start
Function: check_supported_driver - Utility: End
Function: set_cpu_data - Utility: Start
  BITS: 64 - arch: _64
Function: set_cpu_data - Utility: End
Function: set_driver_install_version - Primary: Start
Function: check_supported_driver - Utility: Start
  Args: last-check
Function: check_supported_driver - Utility: End
Function: print_information_continue - Utility: Start
  Args: standard The graphics installer will be installing the nvidia driver: 460.39
Function: check_ia32_libs - Utility: Start
  Args: test
Function: check_package_status - Utility: Start
  Args: ia32-libs-i386:i386 i
  Package Version:
Function: check_package_status - Utility: End
  32 bit nvidia supported. Showing install option.
Function: check_ia32_libs - Utility: End
Function: print_information_continue - Utility: End
  Installing this driver: 460.39
Function: set_driver_install_version - Primary: End
Function: driver_support_tests - Utility: Start
  Args: supported-driver
Function: driver_support_tests - Utility: End
Function: check_kernel_headers - Utility: Start
Function: check_package_status - Utility: Start
  Args: linux-headers-5.10.0-2-amd64 i
  Package Version: 5.10.9-1
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: linux-headers-5.10.0-2-amd64 c
  Package Version: 5.10.9-1
Function: check_package_status - Utility: End
  headerPresent: Makefile
Module.symvers
arch
include
scripts
tools
headerName: linux-headers-5.10.0-2-amd64
headerInstalled: 5.10.9-1
headerAvailable: 5.10.9-1
headerFile:
Function: check_kernel_headers - Utility: End
Function: check_run_package_tools - Primary: Start
Function: check_run_package_tools - Primary: End
Function: set_download_info - Primary: Start
  download url: https://download.nvidia.com/XFree86/Linux-x86_64/460.39/ - driver file: NVIDIA-Linux-x86_64-460.39
Function: set_download_info - Primary: End
Function: test_module_build_ok - Primary: Start
  Args: return
Function: list_installed_packages - Utility: Start
  Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|libgl1-nvidia-glx:386|modalias|libvdpau)
  packageList:
Function: list_installed_packages - Utility: End
  returnValue: 3
Error Data: No Installed Nvidia:
Function: download_extract_driver - Primary: Start
  Args: https://download.nvidia.com/XFree86/Linux-x86_64/460.39/ NVIDIA-Linux-x86_64-460.39
Function: pre_extract_clean_set_up - Utility: Start
  Args: NVIDIA-Linux-x86_64-460.39
Function: pre_extract_clean_set_up - Utility: End
Creating directory NVIDIA-Linux-x86_64-460.39
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 460.39...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-460.39
Function: check_patch_driver - Primary: Start
Function: check_patch_driver - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: stop
Function: x_start_stop_master - Primary: End
Function: check_driver_install_tools - Primary: Start
Function: check_package_status - Utility: Start
  Args: module-assistant i
  Package Version: 0.11.10
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: build-essential i
  Package Version: 12.9
Function: check_package_status - Utility: End
Function: check_driver_install_tools - Primary: End
Function: prep_install - Primary: Start
Function: prep_install - Primary: End
Function: preinstall_cleanup - Primary: Start
  Using nvidia uninstaller: /usr/bin/nvidia-installer

WARNING: The '--no-network' option is deprecated:  nvidia-installer will ignore this option.

  Pre Remove: nvidia.ko files:

Function: list_installed_packages - Utility: Start
  Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|libgl1-nvidia-glx:386|modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit)
  packageList:
Function: list_installed_packages - Utility: End
  Post Purge/Remove: nvidia.ko files:

Function: remove_module - Primary: Start
  Args: nvidia
  operation outcome: unset
Function: remove_module - Primary: End
Function: remove_module - Primary: Start
  Args: nouveau
  operation outcome: unset
Function: set_modesetting_off - Primary: End
Function: add_grub_nomodeset_blacklist_item - Utility: Start
  Args: nouveau
Function: get_active_grub_files - Utility: Start
  grub files:  /boot/grub/grub.cfg /etc/default/grub
Function: get_active_grub_files - Utility: End
Function: add_grub_nomodeset_blacklist_item - Utility: End
Function: add_modprobe_d_blacklist_item - Utility: Start
  Args: nouveau
Function: add_modprobe_d_blacklist_item - Utility: End
Function: set_modesetting_off - Primary: Start
  Args: nouveau unset
Function: remove_module - Primary: End
Function: list_installed_packages - Utility: Start
  Args: fglrx modalias
  packageList:
Function: list_installed_packages - Utility: End
Function: remove_module - Primary: Start
  Args: fglrx
  operation outcome: unset
Function: remove_module - Primary: End
Function: clean_dkms - Primary: Start
Function: clean_dkms - Primary: End
Function: preinstall_cleanup - Primary: End
Function: run_driver_installer - Primary: Start
  driver: 460.39

WARNING: The '--no-network' option is deprecated:  nvidia-installer will ignore this option.


WARNING: The nvidia-uvm module will not be installed. As a result, CUDA will not function with this installation of the NVIDIA driver.

Function: run_driver_installer - Primary: End
Function: post_installer_steps - Primary: Start
Function: post_installer_steps - Primary: End
Function: update_xorg - Primary: Start
  xorg.conf was backed up to: /etc/X11/xorg.conf-bu-2021-01-30-09:15:39
Function: create_section_device - Utility: Start
Function: create_section_device - Utility: End
Function: create_driver_entry - Utility: Start
  sed 1 outcome: 0
  sed 2 outcome: 0
Function: create_driver_entry - Utility: End
Function: update_xorgconf_driver_version - Utility: Start
  sed 1 outcome: 0
  Driver nvidia written to /etc/X11/xorg.conf. This component worked.
Function: update_xorgconf_driver_version - Utility: End
Function: clear_prep_xorg - Utility: Start
  perl 1 outcome: 0
Function: clear_prep_xorg - Utility: End
Function: check_extensions - Utility: Start
  perl 1 outcome: 0
Function: create_section_extensions - Utility: Start
Function: create_section_extensions - Utility: End
  perl 2 outcome: 0
Function: check_extensions - Utility: End
Function: remove_modelines - Utility: Start
Function: remove_modelines - Utility: End
Function: fix_xorg_device_id - Utility: Start
  No CardX in /etc/X11/xorg.conf.
Function: fix_xorg_device_id - Utility: End
  perl 1 outcome: 0
Function: update_xorg - Primary: End
Function: final_install_steps - Primary: Start
Function: process_xvmc - Utility: Start
Function: process_xvmc - Utility: End
Function: final_install_steps - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: start
Function: start_x_question - Primary: Start
  Final Step: quit
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2021-01-30-09:17:30
Video Card Information: NVIDIA Corporation TU116 [GeForce GTX 1650] (rev a1)
Video Card Type: 10de
Video Card Number: 2188
Xorg Version: 1.20.10
Installing driver to kernel: 5.10.0-2-amd64
sgfxi script version: 4.26.47
sgfxi start options:
SYSTEM_BASE: debian
SYSTEM_CODENAME: sid
DISTRIB_CODENAME: sid
DISTRIB_ID: debian
DISTRIB_RELEASE:
SIS: debian-sid-64
BITS: 64
FG_DISTRIB_CODENAME: sid
FG_DISTRIB_ID: Debian
APT_TYPE: apt-get
LOGIN_PID: 534
SUDO_START:
B_SYSTEMD: true
B_SYSTEMD_GRAPHICAL: true
B_SYSTEMD_SYSINIT: true
B_UPSTART: false
=========================================================
X is Running: false
Current Runlevel: 5
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 5.10.0-2-amd64
KERNEL_BASE: 5
KERNEL_NUMBER: 5.10
KERNEL_MATH: 10
B_IS_XEN: true
Function: create_x_conf - Primary: Start
  xorg is present with xorg.conf file
Function: create_x_conf - Primary: End
Function: check_package_manager_updated - Utility: Start
  sizeWorking: 36
Function: check_package_manager_updated - Utility: End
Function: check_supported_driver - Utility: Start
Function: check_supported_driver - Utility: End
Function: set_cpu_data - Utility: Start
  BITS: 64 - arch: _64
Function: set_cpu_data - Utility: End
Function: set_driver_install_version - Primary: Start
Function: check_supported_driver - Utility: Start
  Args: last-check
Function: check_supported_driver - Utility: End
Function: print_information_continue - Utility: Start
  Args: standard The graphics installer will be installing the nvidia driver: 460.39
Function: check_ia32_libs - Utility: Start
  Args: test
Function: check_package_status - Utility: Start
  Args: ia32-libs-i386:i386 i
  Package Version:
Function: check_package_status - Utility: End
  32 bit nvidia supported. Showing install option.
Function: check_ia32_libs - Utility: End
Function: print_information_continue - Utility: End
  Installing this driver: 460.39
Function: set_driver_install_version - Primary: End
Function: driver_support_tests - Utility: Start
  Args: supported-driver
Function: driver_support_tests - Utility: End
Function: check_kernel_headers - Utility: Start
Function: check_package_status - Utility: Start
  Args: linux-headers-5.10.0-2-amd64 i
  Package Version: 5.10.9-1
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: linux-headers-5.10.0-2-amd64 c
  Package Version: 5.10.9-1
Function: check_package_status - Utility: End
  headerPresent: arch
include
Makefile
Module.symvers
scripts
tools
headerName: linux-headers-5.10.0-2-amd64
headerInstalled: 5.10.9-1
headerAvailable: 5.10.9-1
headerFile:
Function: check_kernel_headers - Utility: End
Function: check_run_package_tools - Primary: Start
Function: check_run_package_tools - Primary: End
Function: set_download_info - Primary: Start
  download url: https://download.nvidia.com/XFree86/Linux-x86_64/460.39/ - driver file: NVIDIA-Linux-x86_64-460.39
Function: set_download_info - Primary: End
Function: test_module_build_ok - Primary: Start
  Args: return
Function: list_installed_packages - Utility: Start
  Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|libgl1-nvidia-glx:386|modalias|libvdpau)
  packageList:
Function: list_installed_packages - Utility: End
  returnValue: 3
Error Data: No Installed Nvidia:
Function: download_extract_driver - Primary: Start
  Args: https://download.nvidia.com/XFree86/Linux-x86_64/460.39/ NVIDIA-Linux-x86_64-460.39
Function: pre_extract_clean_set_up - Utility: Start
  Args: NVIDIA-Linux-x86_64-460.39
Function: pre_extract_clean_set_up - Utility: End
Creating directory NVIDIA-Linux-x86_64-460.39
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 460.39...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-460.39
Function: check_patch_driver - Primary: Start
Function: check_patch_driver - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: stop
Function: start_stop_x - Utility: Start
  Args: stop
Function: get_default_display_manager - Utility: Start
  defaultDM: lightdm
Function: get_default_display_manager - Utility: End
  default runlevel:
current runlevel: 5
  dmanCommand: service lightdm stop
  Display manager stop status: true
  Reached post dmancommand:  service lightdm stop 2>>/var/log/sgfxi/sgfxi.log && success='true'
Function: x_is_running - Utility: Start
Function: do_display_manager_pid_test - Utility: Start
  dmInstance: lightdm
Function: do_display_manager_pid_test - Utility: End
  X ps aux:
  returnVal: false
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: End
Function: x_start_stop_master - Primary: End
Function: check_driver_install_tools - Primary: Start
Function: check_package_status - Utility: Start
  Args: module-assistant i
  Package Version: 0.11.10
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: build-essential i
  Package Version: 12.9
Function: check_package_status - Utility: End
Function: check_driver_install_tools - Primary: End
Function: prep_install - Primary: Start
Function: prep_install - Primary: End
Function: preinstall_cleanup - Primary: Start
  Using nvidia uninstaller: /usr/bin/nvidia-installer

WARNING: The '--no-network' option is deprecated:  nvidia-installer will ignore this option.

  Pre Remove: nvidia.ko files:

Function: list_installed_packages - Utility: Start
  Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|libgl1-nvidia-glx:386|modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit)
  packageList:
Function: list_installed_packages - Utility: End
  Post Purge/Remove: nvidia.ko files:

Function: remove_module - Primary: Start
  Args: nvidia
  operation outcome: unset
Function: remove_module - Primary: End
Function: remove_module - Primary: Start
  Args: nouveau
  operation outcome: unset
Function: set_modesetting_off - Primary: End
Function: add_grub_nomodeset_blacklist_item - Utility: Start
  Args: nouveau
Function: get_active_grub_files - Utility: Start
  grub files:  /boot/grub/grub.cfg /etc/default/grub
Function: get_active_grub_files - Utility: End
Function: add_grub_nomodeset_blacklist_item - Utility: End
Function: add_modprobe_d_blacklist_item - Utility: Start
  Args: nouveau
Function: add_modprobe_d_blacklist_item - Utility: End
Function: set_modesetting_off - Primary: Start
  Args: nouveau unset
Function: remove_module - Primary: End
Function: list_installed_packages - Utility: Start
  Args: fglrx modalias
  packageList:
Function: list_installed_packages - Utility: End
Function: remove_module - Primary: Start
  Args: fglrx
  operation outcome: unset
Function: remove_module - Primary: End
Function: clean_dkms - Primary: Start
Function: clean_dkms - Primary: End
Function: preinstall_cleanup - Primary: End
Function: run_driver_installer - Primary: Start
  driver: 460.39

WARNING: The '--no-network' option is deprecated:  nvidia-installer will ignore this option.


WARNING: The nvidia-uvm module will not be installed. As a result, CUDA will not function with this installation of the NVIDIA driver.

Function: run_driver_installer - Primary: End
Function: post_installer_steps - Primary: Start
Function: post_installer_steps - Primary: End
Function: update_xorg - Primary: Start
  xorg.conf was backed up to: /etc/X11/xorg.conf-bu-2021-01-30-09:17:55
Function: create_section_device - Utility: Start
Function: create_section_device - Utility: End
Function: create_driver_entry - Utility: Start
  sed 1 outcome: 0
  sed 2 outcome: 0
Function: create_driver_entry - Utility: End
Function: update_xorgconf_driver_version - Utility: Start
  sed 1 outcome: 0
  Driver nvidia written to /etc/X11/xorg.conf. This component worked.
Function: update_xorgconf_driver_version - Utility: End
Function: clear_prep_xorg - Utility: Start
  perl 1 outcome: 0
Function: clear_prep_xorg - Utility: End
Function: check_extensions - Utility: Start
  perl 1 outcome: 0
Function: create_section_extensions - Utility: Start
Function: create_section_extensions - Utility: End
  perl 2 outcome: 0
Function: check_extensions - Utility: End
Function: remove_modelines - Utility: Start
Function: remove_modelines - Utility: End
Function: fix_xorg_device_id - Utility: Start
  No CardX in /etc/X11/xorg.conf.
Function: fix_xorg_device_id - Utility: End
  perl 1 outcome: 0
Function: update_xorg - Primary: End
Function: final_install_steps - Primary: Start
Function: process_xvmc - Utility: Start
Function: process_xvmc - Utility: End
Function: final_install_steps - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: start
Function: start_x_question - Primary: Start
  Final Step: quit


Installing the debian driver (460.39) worked.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
I can't modify the last post, but I meant to say at the end that installing the debian driver (460.39) with the script worked.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4024
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
A driver failing is often caused by hardware incompatibility, you always want to show for such thinigs: inxi -bay at least so the chip data is available. the current stable nvidia in sgfxi is the same as the debian one, 460.39, so if that worked, it's not a hardware issue. I'mpossible to diagnose since there are no failure logs, though Xorg.0.log will show towards the end what failed to load, but that was almost certainly nvidia, so that won't be very enlightening.
Back to top
DeepDayze
Status: Contributor
Joined: 21 May 2009
Posts: 115
Reply Quote
What card model you have? It may be possible your card may not be exactly supported by the new driver.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours