Bug 255485 - After the latest updates the GPU does not work
Summary: After the latest updates the GPU does not work
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 14:18 UTC by Jonas Lopes
Modified: 2021-05-12 13:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Lopes 2021-04-29 14:18:06 UTC
After the latest updates the GPU does not work. I already uninstalled and installed all kinds of packages again, but it doesn't work anymore :(

I already built the dmr-kmod with **make install clean** and it didn't work either. 

----------------------------------------------------------------------------

❯ nvidia-smi
Thu Apr 29 11:16:24 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: N/A      |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce MX110       Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   47C    P0    N/A /  N/A |      0MiB /  2004MiB |      2%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

❯ glxinfo
name of display: :0.0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  40
  Current serial number in output stream:  41

❯ uname -a
FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #2 main-n246315-4b84b4cca47: Mon Apr 26 07:50:16 -03 2021     root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

----------------------------------------------------------------------------
Comment 1 Alex S 2021-04-30 05:22:47 UTC
This honestly looks like a support request and should be handled elsewhere (forums, Discord, IRC). I'd say you probably need to deinstall nvidia-driver.
Comment 2 Jack 2021-04-30 05:39:25 UTC
Do you have options STACK in the kernel? The new driver seems to require that and adding STACK fixed it for me.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253269
Comment 3 Alex S 2021-04-30 05:45:09 UTC
(In reply to Jack from comment #2)

nvidia-smi wont work at all without an already loaded kernel driver.
Comment 4 Jonas Lopes 2021-05-12 13:55:12 UTC
(In reply to Jack from comment #2)

It's already set up:

❯ sysctl kern.conftxt | grep STACK
options	STACK