I was having issue with GPU. Now i realize there was different methods to install it, in a website i saw a command: sudo add-apt-repository ppa:graphics-drivers/ppa but when run it, it gave my some python line problems. So i was trying to install another methods. But i guess if its not added in the repo it is a problem, and it might be the source of it.
I realize the python didnt installed or while removing/updating the nvidia, its removed.
How can i install python properly with depencies/utils/tools and make sure ?
–GPU problem in hashcat:–
Failed to initialize NVIDIA RTC library.
* Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
CUDA SDK Toolkit required for proper device support and utilization.
Falling back to OpenCL runtime.
This is what im trying to run: sudo add-apt-repository ppa:graphics-drivers/ppa
and this is the output of error:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 362, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
Ah. That’s your issue. Disregard my previous messages. PPAs (Personal Package Archives) are usually meant for and tested against Ubuntu - not Debian. It’s probably best to install the Nvidia driver a different way on Debian.
K. I didn’t expect it to be so old tbh. I am researching to see if it’s still supported by the latest Nvidia Linux driver. If it isn’t, then the installation path is pretty simple… hopefully.
I don’t know tbh. This being Nvidia hardware on Linux means that it isn’t that straight forward. It’s much easier installing Nvidia drivers on Windows imo.
step sudo te << is problem sudo te command is not found
I installed Cuda and now my output is:
hashcat (v6.2.6) starting in backend information mode
CUDA Info:
==========
CUDA.Version.: 12.2
Backend Device ID #1 (Alias: #2)
Name...........: NVIDIA GeForce GTX 1050 Ti
Processor(s)...: 6
Clock..........: 1480
Memory.Total...: 4035 MB
Memory.Free....: 3610 MB
Local.Memory...: 48 KB
PCI.Addr.BDFe..: 0000:01:00.0
OpenCL Info:
============
OpenCL Platform ID #1
Vendor..: NVIDIA Corporation
Name....: NVIDIA CUDA
Version.: OpenCL 3.0 CUDA 12.2.147
Backend Device ID #2 (Alias: #1)
Type...........: GPU
Vendor.ID......: 32
Vendor.........: NVIDIA Corporation
Name...........: NVIDIA GeForce GTX 1050 Ti
Version........: OpenCL 3.0 CUDA
Processor(s)...: 6
Clock..........: 1480
Memory.Total...: 4035 MB (limited to 1008 MB allocatable in one block)
Memory.Free....: 3584 MB
Local.Memory...: 48 KB
OpenCL.Version.: OpenCL C 1.2
Driver.Version.: 535.129.03
PCI.Addr.BDF...: 01:00.0
The error/problem:
cuLinkAddData(): the provided PTX was compiled with an unsupported toolchain.
* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl link failed. Error Log:
ptxas application ptx input, line 9; fatal : Unsupported .version 8.3; current version is '8.2'
* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.
Sorry for my laziness but im trying the resolve this and looking the screen for 1 and a half day. I resolve the issue. Cuda and Nvidia drivers are not same / supported. Cuda or Nvidia coming from back. How can i equalize it ?
Here are the some links:
Also find out something like this but didnt able to get it right im so cozy right now and didnt want to mess it up: