Problem:
The displaymodeselector tool does not yield the same responses as listed in its documentation.
When following the directions to convert to Compute mode “displaymodeselector --mode=compute --gpu=0” does not change the mode. Instead it outputs a list aas if “displaymodeselector --help” had been invoked.
Is there any current documentation for displaymodeselector that shows the correct invocations and responses?
=== system ===
displaymodeslector usage mode: Invoked on Ubuntu server 24.04 with NO graphics drivers installed.
(created just for displaymodeselector)
What driver revision number have you found to work?
How did you get past the displaymodeselector error message about installed graphics?:
$ sudo ./displaymodeselector
terminate called after throwing an instance of ‘std::runtime_error’
what(): In order to avoid the irreparable damage to your graphics
adapter it is necessary to unload the NVIDIA kernel driver first:
I have not personally had to do this, but was just looking at the doc, which on a second look, appears not to be up to date for your card - it’s not mentioned there.
It might be worth contacting one of the posters in this thread.
I know this is a bit late, but I’m on the 580 Datacenter Driver. If you’re not on the datacenter driver, the GPUs won’t show up in Compute mode. I’m also on Ubuntu 24.04 LTS.
As for the kernel modules:
##as root, or use sudo for all of the following
systemctl isolate multi-user.target
##(CTRL+ALT+F3 to switch to TTY3 and log in)
systemctl stop nvidia-persistenced.service
rmmod nvidia_uvm nvidia_drm nvidia_modeset nvidia
##then do your displaymodeselector stuff
Do a FULL power down after the tool completes so the cards are power cycled.
Basically the drivers need to be installed, but certain kernel modules cannot be loaded because the tool is flashing the BIOS to change the display mode.
You also may need to turn off secure boot in your BIOS if you get something like “devmem: mmap: Operation not permitted”. This is because the tool does not get along with the CONFIG_STRICT_DEVMEM kernel parameter.