Nvidia X Server Settings em Branco [RESOLVIDO]

25. Ainda sem resolução!

Yury José Sacilotto
Sacilotto

(usa Linux Mint)

Enviado em 16/07/2021 - 09:29h


Buckminster escreveu:

A título de curiosidade dá um nvidia-settings e posta aqui a saída.


Ok, quando eu executo é isso que aparece no terminal e abre a caixinha vazia =´/


mint@sacilotto:~$ nvidia-settings

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system


(nvidia-settings:555628): GLib-GObject-CRITICAL **: 09:27:32.437: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 09:27:32.446: PRIME: No offloading required. Abort
** Message: 09:27:32.446: PRIME: is it supported? no






  


26. Re: Nvidia X Server Settings em Branco [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 16/07/2021 - 09:46h

Quando conseguir resolver crie uma dica pois essas placas de vídeo híbridas ainda dão muita dor de cabeça



27. Re: Nvidia X Server Settings em Branco

Buckminster
Buckminster

(usa Debian)

Enviado em 16/07/2021 - 15:05h

Sacilotto escreveu:


Buckminster escreveu:

A título de curiosidade dá um nvidia-settings e posta aqui a saída.


Ok, quando eu executo é isso que aparece no terminal e abre a caixinha vazia =´/


mint@sacilotto:~$ nvidia-settings

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system


(nvidia-settings:555628): GLib-GObject-CRITICAL **: 09:27:32.437: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 09:27:32.446: PRIME: No offloading required. Abort
** Message: 09:27:32.446: PRIME: is it supported? no





1 - Eu vi que você tem o prime.
Roda prime-select nvidia e veja se resolve.

2 - Talvez não tenha criado /etc/X11/xorg.conf*
Tente:
rm -v /etc/X11/xorg.conf*
daí
nvidia-xconfig
então
prime-select nvidia
e reinicie.

3 - Caso contrário tente:
add-apt-repository -y ppa:graphics-drivers/ppa
apt-get update

Verifique a versão disponível do driver:
apt search nvidia-graphics-drivers
E escolha um deles.

Instale o driver da Nvidia assim:
apt install -y nvidia-graphics-drivers-440
mude o número 440 para o numero da versão desejada.

Reinicie o sistema.
systemctl -i reboot

Talvez uma dessas resolva o problema ou pelo menos te dê uma luz.


28. Tentativa

Yury José Sacilotto
Sacilotto

(usa Linux Mint)

Enviado em 16/07/2021 - 18:17h

Buckminster escreveu:

Sacilotto escreveu:


Buckminster escreveu:

A título de curiosidade dá um nvidia-settings e posta aqui a saída.


Ok, quando eu executo é isso que aparece no terminal e abre a caixinha vazia =´/


mint@sacilotto:~$ nvidia-settings

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system


(nvidia-settings:555628): GLib-GObject-CRITICAL **: 09:27:32.437: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 09:27:32.446: PRIME: No offloading required. Abort
** Message: 09:27:32.446: PRIME: is it supported? no





1 - Eu vi que você tem o prime.
Roda prime-select nvidia e veja se resolve.

2 - Talvez não tenha criado /etc/X11/xorg.conf*
Tente:
rm -v /etc/X11/xorg.conf*
daí
nvidia-xconfig
então
prime-select nvidia
e reinicie.

3 - Caso contrário tente:
add-apt-repository -y ppa:graphics-drivers/ppa
apt-get update

Verifique a versão disponível do driver:
apt search nvidia-graphics-drivers
E escolha um deles.

Instale o driver da Nvidia assim:
apt install -y nvidia-graphics-drivers-440
mude o número 440 para o numero da versão desejada.

Reinicie o sistema.
systemctl -i reboot

Talvez uma dessas resolva o problema ou pelo menos te dê uma luz.


Tentei todas as alternativas.

mint@sacilotto:~$ sudo prime-select nvidia
Info: the nvidia profile is already set
mint@sacilotto:~$ rm -v /etc/X11/xorg.conf*
rm: não foi possível remover '/etc/X11/xorg.conf*': Arquivo ou diretório inexistente
mint@sacilotto:~$ nvidia-xconfig

WARNING: Unable to locate/open X configuration file.


WARNING: Unable to parse X.Org version string.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing 'xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found

ERROR: Unable to write to directory '/etc/X11'.

mint@sacilotto:~$ prime-select nvidia
This operation requires root privileges

mint@sacilotto:~$ sudo add-apt-repository -y ppa:graphics-drivers/ppa
Você está prestes a adicionar o seguinte PPA:
Fresh drivers from upstream, currently shipping Nvidia.

## Current Status

Current long-lived branch release: 'nvidia-430' (430.40)
Dropped support for Fermi series (https://nvidia.custhelp.com/app/answers/detail/a_id/4656)

Old long-lived branch release: 'nvidia-390' (390.129)

For GF1xx GPUs use 'nvidia-390' (390.129)
For G8x, G9x and GT2xx GPUs use 'nvidia-340' (340.107)
For NV4x and G7x GPUs use 'nvidia-304' (304.137) End-Of-Life!

Support timeframes for Unix legacy GPU releases:
https://nvidia.custhelp.com/app/answers/detail/a_id/3142

## What we are working on right now:

- Normal driver updates
- Help Wanted: Mesa Updates for Intel/AMD users, ping us if you want to help do this work, we are shorthanded.

## WARNINGS:

This PPA is currently in testing, you should be experienced with packaging before you dive in here:

Volunteers welcome!

### How you can help:

## Install PTS and benchmark your gear:

    sudo apt-get install phoronix-test-suite

Run the benchmark:

    phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley

and then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you are using it might preferable for you to grabs PTS from upstream directly: http://www.phoronix-test-suite.com/?k=downloads

## Share your results with the community:

Post a link to your results (or any other feedback to): https://launchpad.net/~graphics-drivers-testers

Remember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.

If you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.

If someone wants to go ahead and start prototyping on 'software-properties-gtk' on what the GUI should look like, please start hacking!

## Help us Help You!

We use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you are loving this PPA:

http://www.ubuntu.com/download/desktop/contribute
Mais informações: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Executing: /tmp/apt-key-gpghome.uJO4CLHFq3/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 2388FF3BE10A76F638F80723FCAE110B1118213C
gpg: chave FCAE110B1118213C: "Launchpad PPA for Graphics Drivers Team" não mudada
gpg: Número total processado: 1
gpg: não modificados: 1
mint@sacilotto:~$ sudo apt-get update
Atingido:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Atingido:2 http://dl.google.com/linux/chrome/deb stable InRelease
Atingido:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
Ign:4 http://packages.linuxmint.com uma InRelease
Atingido:5 http://packages.microsoft.com/repos/code stable InRelease
Obter:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Atingido:7 http://packages.linuxmint.com uma Release
Atingido:8 https://repo.steampowered.com/steam stable InRelease
Atingido:9 http://archive.ubuntu.com/ubuntu focal InRelease
Atingido:10 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Atingido:11 http://archive.canonical.com/ubuntu focal InRelease
Obter:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Atingido:14 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
Obter:15 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Baixados 328 kB em 2s (151 kB/s)
Lendo listas de pacotes... Pronto
mint@sacilotto:~$ sudo apt search nvidia-graphics-drivers
mint@sacilotto:~$ sudo apt install -y nvidia-graphics-drivers-465
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
E: Impossível encontrar o pacote nvidia-graphics-drivers-465
mint@sacilotto:~$ apt install -y nvidia-graphics-drivers-440
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
E: Impossível encontrar o pacote nvidia-graphics-drivers-440





29. Re: Nvidia X Server Settings em Branco

Buckminster
Buckminster

(usa Debian)

Enviado em 16/07/2021 - 18:41h

1- mint@sacilotto:~$ prime-select nvidia
This operation requires root privileges

Você não deu o sudo antes no comando acima.
A mensagem diz que precisa de privilégios root.

2- Cria o arquivo xorg no caminho /etc/X11/xorg.conf* e
daí
nvidia-xconfig
então
prime-select nvidia
e reinicie.

3- For GF1xx GPUs use 'nvidia-390' (390.129)
For G8x, G9x and GT2xx GPUs use 'nvidia-340' (340.107)
For NV4x and G7x GPUs use 'nvidia-304' (304.137) End-Of-Life!

Esses são os drives disponíveis para tua placa de vídeo.

Veja bem, é para executar uma coisa de cada vez, porém, o erro foi meu, pelo que vi tu não tem muita experiência em comandos no Linux.
Refaça o passo 1, caso não funcionar, vá para o passo 3 e refaça ele desde o início colocando 390 ou 340 ou 304.

Caso não funcionar faça o passo 2 deste comentário.


30. Talvez quase la....

Yury José Sacilotto
Sacilotto

(usa Linux Mint)

Enviado em 18/07/2021 - 17:10h

Buckminster escreveu:

1- mint@sacilotto:~$ prime-select nvidia
This operation requires root privileges

Você não deu o sudo antes no comando acima.
A mensagem diz que precisa de privilégios root.

2- Cria o arquivo xorg no caminho /etc/X11/xorg.conf* e
daí
nvidia-xconfig
então
prime-select nvidia
e reinicie.

3- For GF1xx GPUs use 'nvidia-390' (390.129)
For G8x, G9x and GT2xx GPUs use 'nvidia-340' (340.107)
For NV4x and G7x GPUs use 'nvidia-304' (304.137) End-Of-Life!

Esses são os drives disponíveis para tua placa de vídeo.

Veja bem, é para executar uma coisa de cada vez, porém, o erro foi meu, pelo que vi tu não tem muita experiência em comandos no Linux.
Refaça o passo 1, caso não funcionar, vá para o passo 3 e refaça ele desde o início colocando 390 ou 340 ou 304.

Caso não funcionar faça o passo 2 deste comentário.


Depois de tentar alguns passos e colocar o nvidia-304 e travar o mint foi pra tela de recuperação dai consegui tirar tudo da nvidia e retornar pra o padrao. Dai tentai de novo e este é o histórico da nova tentativa.

mint@sacilotto:~$ prime-select nvidia
This operation requires root privileges
mint@sacilotto:~$ sudo prime-select nvidia
Info: the nvidia profile is already set
mint@sacilotto:~$
mint@sacilotto:~$
sudo prime-select nvidia
Info: the nvidia profile is already set
mint@sacilotto:~$ sudo add-apt-repository -y ppa:graphics-drivers/ppa
Você está prestes a adicionar o seguinte PPA:
Fresh drivers from upstream, currently shipping Nvidia.

## Current Status

Current long-lived branch release: 'nvidia-430' (430.40)
Dropped support for Fermi series (https://nvidia.custhelp.com/app/answers/detail/a_id/4656)

Old long-lived branch release: 'nvidia-390' (390.129)

For GF1xx GPUs use 'nvidia-390' (390.129)
For G8x, G9x and GT2xx GPUs use 'nvidia-340' (340.107)
For NV4x and G7x GPUs use 'nvidia-304' (304.137) End-Of-Life!

Support timeframes for Unix legacy GPU releases:
https://nvidia.custhelp.com/app/answers/detail/a_id/3142

## What we are working on right now:

- Normal driver updates
- Help Wanted: Mesa Updates for Intel/AMD users, ping us if you want to help do this work, we are shorthanded.

## WARNINGS:

This PPA is currently in testing, you should be experienced with packaging before you dive in here:

Volunteers welcome!

### How you can help:

## Install PTS and benchmark your gear:

    sudo apt-get install phoronix-test-suite

Run the benchmark:

    phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley

and then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you are using it might preferable for you to grabs PTS from upstream directly: http://www.phoronix-test-suite.com/?k=downloads

## Share your results with the community:

Post a link to your results (or any other feedback to): https://launchpad.net/~graphics-drivers-testers

Remember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.

If you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.

If someone wants to go ahead and start prototyping on 'software-properties-gtk' on what the GUI should look like, please start hacking!

## Help us Help You!

We use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you are loving this PPA:

http://www.ubuntu.com/download/desktop/contribute
Mais informações: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Executing: /tmp/apt-key-gpghome.G4PssO2RCH/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 2388FF3BE10A76F638F80723FCAE110B1118213C
gpg: chave FCAE110B1118213C: "Launchpad PPA for Graphics Drivers Team" não mudada
gpg: Número total processado: 1
gpg: não modificados: 1
mint@sacilotto:~$ sudo apt-get update
Atingido:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://packages.linuxmint.com uma InRelease
Atingido:3 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Atingido:4 http://packages.linuxmint.com uma Release
Atingido:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Atingido:6 http://archive.canonical.com/ubuntu focal InRelease
Atingido:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
Atingido:8 http://archive.ubuntu.com/ubuntu focal InRelease
Atingido:10 http://packages.microsoft.com/repos/code stable InRelease
Atingido:11 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Atingido:12 https://repo.steampowered.com/steam stable InRelease
Atingido:13 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Atingido:14 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Atingido:15 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
Lendo listas de pacotes... Pronto
mint@sacilotto:~$ sudo apt install -y nvidia-graphics-drivers-390
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
E: Impossível encontrar o pacote nvidia-graphics-drivers-390
mint@sacilotto:~$
mint@sacilotto:~$

mint@sacilotto:~$ cd /etc/X11/x
xinit/ xkb/ xsm/
mint@sacilotto:~$ cd /etc/X11/x
xinit/ xkb/ xsm/
mint@sacilotto:~$ cd /etc/X11/x
xinit/ xkb/ xsm/
mint@sacilotto:~$ nano /etc/X11/xorg.conf
mint@sacilotto:~$ cd /etc/X11/
mint@sacilotto:/etc/X11$ ls
app-defaults xkb Xsession.d
cursors xorg.conf.nvidia-xconfig-original Xsession.options
default-display-manager Xreset xsm
fonts Xreset.d XvMCConfig
rgb.txt Xresources Xwrapper.config
xinit Xsession
mint@sacilotto:/etc/X11$ nano x
xinit/ xorg.conf.nvidia-xconfig-original
xkb/ xsm/
mint@sacilotto:/etc/X11$ nano x
xinit/ xorg.conf.nvidia-xconfig-original
xkb/ xsm/
mint@sacilotto:/etc/X11$ nano xorg.conf
mint@sacilotto:/etc/X11$ echo xorg.conf.nvidia-xconfig-original
xorg.conf.nvidia-xconfig-original
mint@sacilotto:/etc/X11$ nvidia-xconfig

WARNING: Unable to locate/open X configuration file.


WARNING: Unable to parse X.Org version string.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing 'xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found

ERROR: Unable to write to directory '/etc/X11'.

mint@sacilotto:/etc/X11$ nano xorg.conf
mint@sacilotto:/etc/X11$ sudo nano xorg.conf
mint@sacilotto:/etc/X11$ ls
app-defaults xkb Xsession
cursors xorg.conf Xsession.d
default-display-manager xorg.conf.nvidia-xconfig-original Xsession.options
fonts Xreset xsm
rgb.txt Xreset.d XvMCConfig
xinit Xresources Xwrapper.config
mint@sacilotto:/etc/X11$ echo xorg.conf
xorg.conf
mint@sacilotto:/etc/X11$ cat xorg.conf
mint@sacilotto:/etc/X11$ sudo nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
At least one Device section is required.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing 'xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Backed up file '/etc/X11/xorg.conf' as
'/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

mint@sacilotto:/etc/X11$ sudo rm xorg.conf.backup
mint@sacilotto:/etc/X11$ sudo rm xorg.conf.nvidia-xconfig-original
mint@sacilotto:/etc/X11$ ls
app-defaults fonts xkb Xreset.d Xsession.d XvMCConfig
cursors rgb.txt xorg.conf Xresources Xsession.options Xwrapper.config
default-display-manager xinit Xreset Xsession xsm
mint@sacilotto:/etc/X11$ nano xorg.conf
mint@sacilotto:/etc/X11$ sudo rm xorg.conf
mint@sacilotto:/etc/X11$ ls
app-defaults default-display-manager rgb.txt xkb Xreset.d Xsession Xsession.options XvMCConfig
cursors fonts xinit Xreset Xresources Xsession.d xsm Xwrapper.config
mint@sacilotto:/etc/X11$ sudo nano xorg.conf
mint@sacilotto:/etc/X11$ sudo nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
At least one Device section is required.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing 'xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

mint@sacilotto:/etc/X11$ ls
app-defaults rgb.txt xorg.conf.backup Xresources xsm
cursors xinit xorg.conf.nvidia-xconfig-original Xsession XvMCConfig
default-display-manager xkb Xreset Xsession.d Xwrapper.config
fonts xorg.conf Xreset.d Xsession.options
mint@sacilotto:/etc/X11$ sudo prime-select nvidia
Info: the nvidia profile is already set
mint@sacilotto:/etc/X11$





31. Solução a caminho!

Yury José Sacilotto
Sacilotto

(usa Linux Mint)

Enviado em 19/07/2021 - 09:52h

Bom pessoal depois de rodar bastante de tentar várias coisas vi em um tópico da nvidia:

O que pode causar isso é a inicialização de boot de segurança, então desabilitei e olha o ai...

mint@sacilotto:~$ sudo prime-select nvidia
Info: the nvidia profile is already set
mint@sacilotto:~$ sudo prime-select intel
Info: selecting the intel profile
Updating the initramfs. Please wait for the operation to complete:
Done
mint@sacilotto:~$ sudo prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Done



32. Se problema persistir

Yury José Sacilotto
Sacilotto

(usa Linux Mint)

Enviado em 26/07/2021 - 11:29h

Se você fizer o que disse, funcionar e após atualizar a placa ou algo assim e der o mesmo problema faça o seguinte:
sudo apt install nvidia-prime
sudo prime-select nvidia


Verifique se existe o arquivo, se existir delete-o
cat /lib/modprobe.d/blacklist-nvidia.conf
rm /lib/modprobe.d/blacklist-nvidia.conf


e atualize:
sudo update-initramfs -u 


por fim reinicie.
sudo reboot 




01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts