NVIDIA / NVIDIA/open-gpu-kernel-modules

My pc hang if choose nvidia (open kernel) metapackage from nvidia-515-open (propietery,tested)

Open
#394 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

nvidia (open kernel) metapackage from nvidia-515-open (propietery,tested)

Does this happen with the proprietary driver (of the same version) as well?

No

Operating System and Version

Ubuntu 22.04.1 LTS

Kernel Release

Linux ROG-Ubuntu 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Hardware: GPU

GPU 0: NVIDIA GeForce RTX 2080 Ti (UUID: GPU-b50fb453-3006-18c1-2aaf-9d8cf4564b82)

Describe the bug

my pc will hang when i choose nvidia (open kernel) metapackage from nvidia-515-open (propietery,tested) , i can't do anything

To Reproduce
sudo ubuntu-drivers autoinstall
[sudo] password for myusername: 
Traceback (most recent call last):
  File "/usr/bin/ubuntu-drivers", line 513, in <module>
    greet()
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/bin/ubuntu-drivers", line 432, in autoinstall
    command_install(config)
  File "/usr/bin/ubuntu-drivers", line 187, in command_install
    UbuntuDrivers.detect.nvidia_desktop_pre_installation_hook(to_install)
  File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 839, in nvidia_desktop_pre_installation_hook
    with_nvidia_kms = version >= 470
UnboundLocalError: local variable 'version' referenced before assignment
  1. This error come out when i use sudo ubuntu-drivers autoinstall

  2. If i choose nvidia (open kernel) metapackage from nvidia-515-open (propietery,tested) in addtional driver my pc will hang and
    can't click or do anything.

  3. This is personal dekstop and NOT a server.

  4. Alot of error come out at the boot screen, i can't capture it, but from what i understand after change the driver to nvidia-open-kernel the os not detecting my cpu gpu and all the drivers,something like it didn't recognize my cpu chip etc, and something unauthorize.

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported sudo ubuntu-drivers autoinstall traceback in /usr/bin/ubuntu-drivers and /usr/lib/python3/dist-packages/UbuntuDrivers/detect.py, then inspect the attached nvidia-bug-report.log.gz. Compare the open-kernel and proprietary-driver behavior on the stated Ubuntu, kernel, and RTX 2080 Ti setup; done requires a reproducible diagnosis for the traceback or hang and verification that the affected workflow no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, ubuntu
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.