:: Re: [DNG] Request for assistance in…
Inizio della pagina
Delete this message
Reply to this message
Autore: aitor
Data:  
To: dng
Oggetto: Re: [DNG] Request for assistance in dealing with a nouveau problem
Hi,

On 1/4/21 18:53, o1bigtenor via Dng wrote:
> root@debianbase:/tmp/nouveau/nvidia# python3 extract_firmware.py
> Please run this in a directory where NVIDIA-Linux-x86-340.108 is a subdir.
>
> You can make this happen by running
> wgethttp://us.download.nvidia.com/XFree86/Linux-x86/340.108/NVIDIA-Linux-x86-340.108.run
> sh NVIDIA-Linux-x86-340.108.run --extract-only
>
> Note: You can use other versions/arches, see the source for what is acceptable.


On the one hand, why are you using python3? The script is for python2
only; so, better to use python2 instead.

On the other, it seems that the NVIDIA subdirectory is not found. The
code launching this error is:

for (VERSION, ARCH) in product(VERSIONS, ARCHES):
    if os.path.exists("NVIDIA-Linux-%s-%s" % (ARCH, VERSION)):
        break
else:
    print("""Please run this in a directory where
NVIDIA-Linux-x86-%(version)s is a subdir.
Blah blah blah
""" % {"version": VERSIONS[-1]})

where:

ARCHES = ("x86_64", "x86")

Are you under 64 bits? If so, try with this other one:

wget
http://us.download.nvidia.com/XFree86/Linux-x86_64/325.15/NVIDIA-Linux-x86_64-325.15.run

Good luck,

Aitor.