Announcement

Collapse
No announcement yet.

Nvidia On-Demand offloading not works correctly after software update

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Nvidia On-Demand offloading not works correctly after software update

    Hi, I am not sure this is the correct section for my problem. I think I have problem with the proprietary Nvidia drivers after software update.

    Today I have updated few packages through Plasma Discover including the package for configuring external drivers (I'm not sure what is the exact name of this package). After that I've noticed my Nvidia card not working properly. I've started using Nvidia Prime offloading just recent, it is named "NVIDIA On-Demand" in nvidia-settings. And it worked well, I was happy, but after update I've noticed that in nvidia-settings there were missing sections, only "PRIME Profiles" are presented now. This is weird because nvidia drivers were not updated recently.

    When I am trying to run command '__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears -info' I got output:
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 152 (GLX)
    Minor opcode of failed request: 3 (X_GLXCreateContext)
    Value in failed request: 0x0
    Serial number of failed request: 25
    Current serial number in output stream: 26

    Here is output of command 'nvidia-smi':
    Wed Feb 17 15:40:30 2021
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
    |-------------------------------+----------------------+----------------------+
    | 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 940MX Off | 00000000:01:00.0 Off | N/A |
    | N/A 43C P8 N/A / N/A | 0MiB / 2004MiB | 0% Default |
    | | | N/A |
    +-------------------------------+----------------------+----------------------+

    +-----------------------------------------------------------------------------+
    | Processes: |
    | GPU GI CI PID Type Process name GPU Memory |
    | ID ID Usage |
    |================================================= ============================|
    | No running processes found |
    +-----------------------------------------------------------------------------+


    I am not sure what happened but I think it was related to the software update. What should I do to make offloading to works again?

    #2
    Ok, I wrote directly on Nvidia forums and issue is solved. I provide solution if anyone is interested:

    Code:
    The driver loads too late, please try embedding it into the initrd, i.e.
    add the lines
    nvidia
    nvidia-modeset
    nvidia-drm
    to
    /etc/initramfs-tools/modules
    and run
    sudo update-initramfs -u

    Comment


      #3
      mmm... That may explain why my Nvidia gives the same problem when I installed Wayland. When I removed Wayland I got my full Nvidia GUI back. It could also explain why Wayland ran about 1/2 as fast as SDDM does. Saving that for future reference. Thanks for posting it!
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment

      Working...
      X