Strona 1 z 1

Ubuntu server 20.04 - consola - nvidia zmiana parametrów

: 08 gru 2020, 16:44
autor: Bult
Witam,
Mam problem z sterownikami Nvidia mianowicie chodzi o to iż w trybie textowym ( a tak mam teraz server ustawiony ) nie działa zarządzanie kartą graficzną za pomocą komend :

sudo nvidia-settings -c :0 -a '[gpu:0]/GPUMemoryTransferRateOffset[3]=xxxx'
sudo nvidia-settings -c :0 -a '[gpu:0]/GPUGraphicsClockOffset[3]=xx'

bo jeśli dobrze rozumiem plik xorg.conf jest konfiguracją środowiska graficznego a to w tym pliku odblokowujemy możliwość zarządzania poprzez komendę :
nvidia-xconfig --cool-bits=28

więc jeśli wszystko się zgadza to mam kilka pytań :
1. Czy jest jakiś inny plik lub metoda zmiany parametrów karty graficznej ?
2. Czy można uruchomić tryb graficzny działający w tle a monitor może wyświetlać np 2 sesję w trybie tekstowym ?

Czy ktoś ma jeszcze jakieś inne rozwiązanie tego problemu ?

Re: Ubuntu server 20.04 - consola - nvidia zmiana parametrów

: 08 gru 2020, 18:58
autor: arecki
RTFM nvidia-settings:
4. Command Line Interface
nvidia-settings has a rich command line interface: all attributes that can be manipulated
with the GUI can also be queried and set from the command line
. The command line syntax
for querying and assigning attributes matches that of the .nvidia-settings-rc
configuration file.

The --query option can be used to query the current value of attributes. This will also
report the valid values for the attribute. You can run nvidia-settings --query all for a
complete list of available attributes, what the current value is, what values are valid
for the attribute, and through which target types (e.g., X screens, GPUs) the attributes
can be addressed.
i to:
When nvidia-settings starts, it reads the current settings from its configuration file and
sends those settings to the X server. Then, it displays a graphical user interface (GUI)
for configuring the current settings. When nvidia-settings exits, it queries the current
settings from the X server and saves them to the configuration file.
co jak rozumiem wymaga działającego serwera X.

Re: Ubuntu server 20.04 - consola - nvidia zmiana parametrów

: 11 gru 2020, 11:30
autor: Bult
A czy jest możliwość w jakiś sposób fikcyjnie odpalić server X ? Lub aby działał w tle ?

Re: Ubuntu server 20.04 - consola - nvidia zmiana parametrów

: 11 gru 2020, 12:45
autor: arecki
Fikcyjnie to nie kojarzę, ale możesz normalnie załączyć serwer X i po zmianie parametrów wyłączyć, czy też zostawić go w tle.

Re: Ubuntu server 20.04 - consola - nvidia zmiana parametrów

: 11 gru 2020, 13:22
autor: Bult
A możesz podpowiedzieć jak zrobić to za pomocą komend, tak aby po restarcie działo się to automatycznie ?
Lub czy można mu zrobić jakieś configi w trybie text aby zmienić ustawienia kart ?

Re: Ubuntu server 20.04 - consola - nvidia zmiana parametrów

: 13 gru 2020, 11:35
autor: arecki
Tu masz dosyć obszerne wyjaśnienia.
https://superuser.com/questions/1278256 ... -no-screen
A tu skrypt, który możesz użyć jako bazę:
https://gist.github.com/squadbox/e5b5f7bcd86259d627ed