Warning: Undefined variable $session_id in /usr/home/zenrat/public_html/tech/forums/includes/sessions.php on line 253
Tech Patterns :: smxi sgfxi svmi :: bug reports

Warning: Undefined variable $s_watching_topic_img in /usr/home/zenrat/public_html/tech/forums/viewtopic.php on line 677
Page: Previous  1, 2, 3 ... , 24, 25, 26  Next

DeepDayze
Status: Contributor
Joined: 21 May 2009
Posts: 152
Reply Quote
Yesterday I hit a bug when trying out new sgfxi script version: 4.27.05:

Here's the relevant section of the log where the error occurs:

:: Code ::
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-565.77
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: sddm
Function: get_default_display_manager - Utility: End
  default runlevel:
current runlevel: unknown
  dmanCommand: service sddm stop
  Display manager stop status: true
  Reached post dmancommand:  service sddm stop 2>>/var/log/sgfxi/sgfxi.log && success='true'
Function: x_is_running - Utility: Start
Function: do_display_manager_pid_test - Utility: Start
  dmInstance:
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.11
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: build-essential i
  Package Version: 12.12
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.

Back to top
DeepDayze
Status: Contributor
Joined: 21 May 2009
Posts: 152
Reply Quote
Okay, looks like it's now working again with new update to sgfxi as been testing it per h2's instructions via IRC channel. New sgfxi version now works with 565 nvidia driver and 6.12 kernel.
Back to top
DeepDayze
Status: Contributor
Joined: 21 May 2009
Posts: 152
Reply Quote
Out of curiosity is there an option for sgfxi to pass an option to the nvidia driver installer to ignore the gcc version when building the driver? I was unable to build the 570 nvidia driver because of a very small mismatch (gcc currently 14.2.0-19 on sid and 14.2.0-17 which the latest liquorix kernel was built) yet the build failed on such a tiny mismatch.

Thanks for any input.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4144
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
I don't know, I think that would not matter unless it was sgfxi itself that complained, was it?

If it just failed, that's not something sgfxi could do anything about since gcc is going to be needed to make the module, I think.
Back to top
smxi crash error
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 71
Reply Quote
1st, I've run into more and more Debian testing kernel build issues as it relates to Nvidia drivers, so I ended up applying the Datacenter Driver 595 at developer.nvidia.com/datacenter-driver-595-91-07-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=13&target_type=deb_local

I don't think that has anything to do with my new, consistent smxi crash, but you never know.

smxi crashes out at the end of the run, just before you pick run options. The error is:

:: Code ::
/user/local/bin/sm-lib-kernal: line 183: 7
4: arithmetic syntax error in expression (error token is "4")


The error returns me to the terminal.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4144
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
I'l check, smxi doesn't get much attention, and some of the math stuff assumed numbers that may no longer be valid.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4144
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
I can't reproduce this.

What kernel and distro are you using?

If it's Mint, smxi doesn't support it, same with ubuntu.

It looks like you have a differing kernel syntax that breaks something in the math, but that would always show in a Debian system I believe, not just sometimes.

it's hard to debug this because I need a lot of information, but since this is working in debian testing without any issue, I'll have to wait to see what the actual cause is.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4144
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
nvidia issues haven othing to do with smxi or sgfxi, if the driver works with your kernel, and if it doesn't, it doesn't, that's outside of smxi program scope.

This is why I dumped nvidia years ago and switched to foss amd drivers, I was tired of chasing after nvidia support.

sgfxi does try to make some guesses about kernels and support, so it will exit with error if it's a driver sgfxi knows doesn't work with that kernel, or xorg version, but that's all it does, and that's not reliable anymore since I don't get many user feedbacks, and I don't track it myself anymore, since, as noted, I don't use nvidia on any of my machines anymore.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4144
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
just to be clear, you're almost certainly getting this due to a change in kernel syntax.

You can grab a version with commented out debuggers, download it here:

smxi.org/sm/sm-lib-kernel

and replace your existing version with that one.

Then scroll down to line 183, and uncomment the following echoes down to line 191. It will probably only make it to before kernelMath= line.

This will show you what part of the kernel string from apt or your running kernel contains unexpected characters.

This is all I can do really because if I can't myself reproduce it, I can't figure out what string is failing to parse as expected.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 71
Reply Quote
Kernel 7.2.6 just dropped into Debian Testing, and that fixed the issue. I've had more problems with the 7.1 kernel than I've ever had, so maybe things are looking good for a while.
Back to top
Display posts from previous:   
Page: Previous  1, 2, 3 ... , 24, 25, 26  Next
All times are GMT - 8 Hours