sgfxi Failure
BasilBrush
Status: New User - Welcome
Joined: 18 Nov 2013
Posts: 2
Reply Quote
I'm a noob at this stuff I admit but a few days ago I installed these scripts and ran sgfxi on a Solydxk system and everything ran fine. I'm on the same laptop with a Debian install (Jessie) and sgfxi has messed up. At the end of the install it gave me an Error 1 and the log it has this:

:: Code ::
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2013-11-18-22:04:43
Video Card Information: NVIDIA Corporation G86M [Quadro NVS 140M] (rev a1)
Video Card Type: 10de
Video Card Number: 0429
Xorg Version: 1.14
Installing driver to kernel: 3.10-3-amd64
sgfxi script version: 4.21.09
sgfxi start options:  -B
SYSTEM_BASE: debian
SYSTEM_CODENAME: testing
DISTRIB_CODENAME: testing
DISTRIB_ID: debian
DISTRIB_RELEASE:
SIS: debian-testing-64
BITS: 64
FG_DISTRIB_CODENAME: sid
FG_DISTRIB_ID: Debian
APT_TYPE: apt-get
=========================================================
X is Running: true
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 3.10-3-amd64
KERNEL_BASE: 3
KERNEL_NUMBER: 3.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: 21
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: info You are using the following options:
 -B - Use Beta Driver (nVidia only. Only if available)

Function: print_information_continue - Utility: End
Function: print_information_continue - Utility: Start
  Args: standard The graphics installer will be installing the nvidia driver: 331.20
There is no current beta driver for your nvidia card type.
Using the current stable driver instead.

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: 331.20
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-3.10-3-amd64 i
  Package Version: (none)
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: linux-headers-3.10-3-amd64 c
  Package Version: 3.10.11-1
Function: check_package_status - Utility: End
  headerName: linux-headers-3.10-3-amd64
headerInstalled: (none)
headerAvailable: 3.10.11-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/331.20/ - driver file: NVIDIA-Linux-x86_64-331.20
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/331.20/ NVIDIA-Linux-x86_64-331.20
Function: pre_extract_clean_set_up - Utility: Start
  Args: NVIDIA-Linux-x86_64-331.20
Function: pre_extract_clean_set_up - Utility: End
Creating directory NVIDIA-Linux-x86_64-331.20
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 331.20.......................................................................................................................................................................................................................
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-331.20
Function: run_driver_patches - Primary: Start
Function: run_driver_patches - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: stop
Function: start_stop_x - Utility: Start
  Args: stop
  default runlevel: 2
current runlevel: 2
  dmanCommand: service lightdm stop
Function: x_is_running - Utility: Start
  xIsRunning: 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: (none)
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: build-essential i
  Package Version: (none)
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
  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: 331.20

ERROR: You do not appear to have libc header files installed on your
       system.  Please install your distribution's libc development
       package.


ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find
       suggestions on fixing installation problems in the README available
       on the Linux driver download page at www.nvidia.com.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Error logs from nvidia install:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Nov 18 22:05:05 2013
installer version: 331.20

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
    ./nvidia-installer
    -s
    -N
    --x-module-path=/usr/lib/xorg/modules
    --x-library-path=/usr/lib
    -k
    3.10-3-amd64

Using built-in stream user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 331.20.
-> Not probing for precompiled kernel interfaces.
ERROR: You do not appear to have libc header files installed on your system.  Please install your distribution's libc development package.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ERROR: (245) The nvidia installer exited with the error: 1
A copy of this driver installer error log is also here: /var/log/sgfxi/sgfxi.log


One of the error's at the bottom says I don't have libc header files installed. I have done a search but don't know anything about libc files or which ones to install. Right now my screen looks awful and so I need some help to either get sgfxi to install the driver properly or revert to how it was before. Thanks!
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4076
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
This looks like an actual bug in sgfxi, it checked the kernel headers package, found the install candidate, but did not install it. Let me see if I can figure out what's going on here.

the kernel image/headers versions are current in testing/jesse so it can't be an out of date kernel image.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4076
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
This bug should now be fixed, debian did a subtle change in their syntax for apt-cache policy that exposed an error I had let slip in to sgfxi (using gawk syntax in awk, which doesn't of course work).

Just run sgfxi again and the install should proceed as expected.

"this bug has been present a long time, who knows how many issues were caused by it, thanks for the bug report.
Back to top
BasilBrush
Status: New User - Welcome
Joined: 18 Nov 2013
Posts: 2
Reply Quote
Thanks techAdmin. I just ran the script again and everything ran smoothly. Cheers!
Back to top
Display posts from previous:   

All times are GMT - 8 Hours