NVIDIA / NVIDIA/open-gpu-kernel-modules
eGPU kernel modules failure - Chipset Setup Function Error!
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
NVIDIA Open GPU Kernel Modules Version
535.113.01
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
Fedora release 38 (Thirty Eight)
Kernel Release
Linux fedora 6.5.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 20 15:53:48 UTC 2023 x86_64 GNU/Linux
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
NVIDIA Corporation GA104 [GeForce RTX 3070 Ti] (rev a1)
Describe the bug
I'm trying to use the open version of Nvidia driver because of RmInitAdapter failed! issue with the proprietary one, but I'm getting errors from the kernel. In the attached logs artifact it's around 7000 line.
Oct 31 17:53:41 fedora kernel: NVRM objClInitPcieChipset: *** Chipset Setup Function Error!
Oct 31 17:53:44 fedora kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:52:00.0 on minor 1
Oct 31 17:53:44 fedora systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
Oct 31 17:54:06 fedora kernel: NVRM unixCallVideoBIOS: int10h(4f02, 0000) vesa call failed! (4f02, 0000)
Oct 31 17:54:06 fedora kernel: NVRM nvCheckOkFailedNoLog: Check failed: Failure: Generic Error [NV_ERR_GENERIC] (0x0000FFFF) returned from pRmApi->Control(pRmApi, nv->rmapi.hClient, nv->rmapi.hSubDevice, NV2080_CTRL_CMD_INTERNAL_DISPLAY_POST_RESTORE, &restoreParams, sizeof(restoreParams)) @ unix_console.c:197
Laptop specs:
- Manufacturer: LENOVO
- Product Name: 21CBCTO1WW
- Version: ThinkPad X1 Carbon Gen 10
- BIOS version: N3AET77W (1.42)
GRUB params:
GRUB_CMDLINE_LINUX="resume=/dev/mapper/vg--main-swap rd.luks.uuid=luks-dbbd65e4-65f3-4956-85f0-8d9e919e733c rd.lvm.lv=vg-main/root rd.lvm.lv=vg-main/swap rhgb quiet nvidia.NVreg_OpenRmEnableUnsupportedGpus=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
Related Nvidia thread: https://forums.developer.nvidia.com/t/driver-cant-detect-egpu/271201
To Reproduce
Boot the latest Fedora kernel with the open source driver and eGPU.
Bug Incidence
Always
nvidia-bug-report.log.gz
nvidia-bug-report-535-open.log.gz
More Info
eGPU works with Windows and with nouveau driver.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached nvidia-bug-report-535-open.log.gz, especially the area around line 7000, and reproduce by booting Fedora 38 with the open driver and the eGPU. Compare the Chipset Setup Function Error and related display errors with the report that the eGPU works under Windows and nouveau; done means the eGPU loads without these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, fedora, linux
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100