Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

what is nvidia-uvm module

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

what is nvidia-uvm module

  • Quote

Post by jagdpanther » Sun Jan 31, 2016 8:17 pm

I just emerged the latest stable nvidia-drivers (358.16-r1 -- update from 355.11-r2).
After the emerge I was getting some messages in /var/log/messages about a mismatch:

Code: Select all

kernel: NVRM: API mismatch: the client has the version 358.16, but\x0aNVRM: this kernel module has the version 355.11.  Please\x0aNVRM: make sure that this kernel module and all NVIDIA driver\x0aNVRM: components have the same version.
This should not be much of a problem. I switched to a console, killed xdm and tried to remove the old nvidia driver, planning to load the new:

Code: Select all

# lsmod | grep nvidia
nvidia               8608490  0
# modprobe -r nvidia
modprobe: FATAL: Module nvidia-uvm not found.
I don't know what nvidia-uvm is but thought a reboot may fix this.
After a reboot from a console window:

Code: Select all

# lsmod | grep nvidia
nvidia_modeset        700005  2
nvidia               8691502  36 nvidia_modeset
# /etc/init.d/xdm stop
 * Stopping xdm ...                                                                                                                                                                                                                                                           # lsmod | grep nvidia
nvidia_modeset        700005  0
nvidia               8691502  1 nvidia_modeset
# modprobe -r nvidia
modprobe: FATAL: Module nvidia-uvm not found.
modprobe: FATAL: Error running remove command for nvidia
# lsmod | grep nvidia
# modprobe nvidia
# lsmod | grep nvidia
nvidia               8691502  0
# /etc/init.d/xdm start
 * Setting up xdm ...                                                                                                                                                                                                                                                           
# lsmod | grep nvidia
nvidia_modeset        700005  2
nvidia               8691502  36 nvidia_modeset
According to the nvidia web site:
Added nvidia-uvm.ko, the NVIDIA Unified Memory kernel module, to the NVIDIA Linux driver package. This kernel module provides support for the new Unified Memory feature in an upcoming CUDA release.
Everything seems to work but there is no nvidia-uvm in /lib/modules/4.1.15-gentoo-r1/video:

Code: Select all

-rw-r--r-- 1 root root   976744 Jan 31 10:19 nvidia-modeset.ko
-rw-r--r-- 1 root root 12129976 Jan 31 10:19 nvidia.ko
Should I just ignore the complaint about not finding nvidia-uvm?
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Sun Jan 31, 2016 8:31 pm

Did you build driver with USE=uvm ?
Top
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

  • Quote

Post by jagdpanther » Sun Jan 31, 2016 9:01 pm

No. I did not build with uvm use flag. I don't program in or use CUDA so didn't think I needed 'uvm'.
Top
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

  • Quote

Post by jagdpanther » Sun Jan 31, 2016 9:32 pm

Buffoon: Thanks. emerging nvidia-drivers with uvm use flag solves the issue. nvidia-uvm.ko now exists. nvidia-uvm is not loaded according to lsmod, but that error message is gone.
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Sun Jan 31, 2016 10:16 pm

Surprisingly enough GIMP wants to use it.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Jan 31, 2016 10:57 pm

Buffoon wrote:Surprisingly enough GIMP wants to use it.
yer, the new beta for gimp was crashing due to no uvm... seems gimp is offloading (sort of good i guess...)
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic