Latest SGFXI, Debian SID and NVIDIA-Linux-x86_64-525.78.01
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 69
Reply Quote
Without altering the script, sgfxi wants to install 352.30 as the current nvidia driver under the last two Debian kernels, 6.0.0-6-amd64 and 6.1.0-1-amd64. Altering the script to try and force 525.78.01 results in:

:: Code ::
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2023-01-15-10:55:24
Video Card Information: NVIDIA Corporation TU116 [GeForce GTX 1650] (rev a1)
Video Card Type: 10de
Video Card Number: 2188
Xorg Version: 1.21.1
Installing driver to kernel: 6.1.0-1-amd64
sgfxi script version: 4.24.47
sgfxi start options:  -o 525.78.01 -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: 581
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: 6.1.0-1-amd64
KERNEL_BASE: 6
KERNEL_NUMBER: 6.1
KERNEL_MATH: 1
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: 525.78.01
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: 525.78.01
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-6.1.0-1-amd64 i
  Package Version: 6.1.4-1
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: linux-headers-6.1.0-1-amd64 c
  Package Version: 6.1.4-1
Function: check_package_status - Utility: End
  headerPresent: Makefile
Module.symvers
arch
include
scripts
tools
headerName: linux-headers-6.1.0-1-amd64
headerInstalled: 6.1.4-1
headerAvailable: 6.1.4-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: ftp://download.nvidia.com/XFree86/Linux-x86_64/525.78.01/ - driver file: NVIDIA-Linux-x86_64-525.78.01
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: ftp://download.nvidia.com/XFree86/Linux-x86_64/525.78.01/ NVIDIA-Linux-x86_64-525.78.01
Function: pre_extract_clean_set_up - Utility: Start
  Args: NVIDIA-Linux-x86_64-525.78.01
Function: pre_extract_clean_set_up - Utility: End
Creating directory NVIDIA-Linux-x86_64-525.78.01
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 525.78.01...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-525.78.01
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.11
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: check_package_status - Utility: Start
  Args: gcc- c
  Package Version:
Function: check_package_status - Utility: End
  ERROR: (230) Could not detect gcc version: /usr/bin/gcc-, or it is not installed.
Please let the script maintainer know, this may be a bug in the script.


This the latest 12/1/2022 script
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
must be some syntax change in gcc detection. I think 352.30 must be a typo, there's no scenario where that driver would be installed no matter what legacy level the card was detected as, but in your case, that's a current generation nvidia.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
The gcc id failure _may_ work again, as to the driver version, that seems unlikely. your card id is not listed which means it would fall back to current driver, not legacy. Also, 352.30 is not in the legacy list, it's also not in the alternate list, so I'm not clear where that came from.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 69
Reply Quote
Not sure what happened here, but I just ran the script after walking away from it a few days ago, and it worked.

I didn't think of this thread first - I just ran the script. There was no smxi.zip in the /usr/local/bin/ folder, but running smxi did show an updated version, so I think it may have updated the sgfxi script first, and then successfully installed the driver.

Don't know about the 352.30 issue. Maybe I read it wrong, but I thought I saw it a couple times. Anyway, I eliminated that to get to the gcc id failure.

Can't explain the weirdness, but I'm up and running.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
The gcc failure would have made sgfxi always fail no matter what with that changed syntax. that's now I think the 3rd significant syntax change to /proc/version I've seen over past few years, I really wish they'd stop messing with that simple string.

sgfxi always updates itself so when you ran it it would have been the fixed version that ran. Or smxi updates it if there is a new version, so it would be updated either way when you ran it again. That's why it now works, thanks for confirming it works again, I don't really use sgfxi anymore since I switched to all AMD graphics to step off the nvidia train, I did that after trying to use nouveau and having to give up due to stability issues.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 69
Reply Quote
The latest (2/28/2023, I think) works perfectly.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours