Autor Tópico: [RESOLVIDO] Problema com a resolução do monitor Samsung 2063uw e placa nVidia  (Lida 8222 vezes)

Offline lipeodonto

  • Usuário Ubuntu
  • *
  • Mensagens: 28
    • Ver perfil
Galera, estou com um problema para manter a resolução do meu monitor Samsung 2063uw de 20".

Toda vez que inicio o Ubuntu 9.04 tenho que abrir as configurações nVidia (uso uma placa GeForce FX 5200) e apontar para 1680x1050@60Hz. Depois disso, funciona beleza, mas sempre tenho que reconfigurar ao iniciar.

Bem, li uns tutos na net e um deles manda abrir o terminal e digitar "sudo nvidia-settings", ajustar a configuração e salvar, mas aí me retorna o seguinte erro:
VALIDATION ERROR:  Data incomplete in file /etc/X11/xorg.conf.
Undefined Device "(null)" referenced by Screen "Configured Screen Device".

Falha de segmentação

Meu xorg.conf está da seguinte forma:
Section "Screen"
   Identifier   "Configured Screen Device"
   DefaultDepth   24
EndSection

Section "Device"
   Identifier   "Configured Video Device"
   Driver   "nvidia"
EndSection



Alguém pode me dar uma mãozinha?

Agradeço.
« Última modificação: 07 de Julho de 2009, 15:59 por lipeodonto »

Offline Gunfree

  • Usuário Ubuntu
  • *
  • Mensagens: 208
    • Ver perfil
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #1 Online: 08 de Junho de 2009, 10:35 »
O erro é claro. O nvidia-settings procura um device para configurar e não o acha (Undefined Device "(null)").

Rode:
Código: [Selecionar]
sudo dpkg-reconfigure -phigh xserver-xorg
Depois, rode novamente como root o nvidia-settings e poste aqui se resolveu.




Linux Registered User: #491793

Offline lipeodonto

  • Usuário Ubuntu
  • *
  • Mensagens: 28
    • Ver perfil
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #2 Online: 06 de Julho de 2009, 16:32 »
Depois que usei este comando, o terminal me retornou o seguinte:

ERROR: Cannot open display 'durigueto-desktop:0.0'.


ERROR: Unable to assign attribute CursorShadow specified on line 20 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute CursorShadowAlpha specified on line 21 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute CursorShadowRed specified on line 22 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute CursorShadowGreen specified on line 23 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute CursorShadowBlue specified on line 24 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute CursorShadowXOffset specified on line 25 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute CursorShadowYOffset specified on line 26 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute SyncToVBlank specified on line 27 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute LogAniso specified on line 28 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute FSAA specified on line 29 of configuration
       file '/home/durigueto/.nvidia-settings-rc' (no Display connection).


ERROR: Unable to assign attribute TextureSharpen specified on line 30 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute GammaCorrectedAALines specified on line 31 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute AllowFlipping specified on line 32 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute FSAAAppControlled specified on line 33 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute LogAnisoAppControlled specified on line 34 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute OpenGLImageSettings specified on line 35 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute RedBrightness specified on line 36 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute GreenBrightness specified on line 37 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute BlueBrightness specified on line 38 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute RedContrast specified on line 39 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute GreenContrast specified on line 40 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute BlueContrast specified on line 41 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute RedGamma specified on line 42 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute GreenGamma specified on line 43 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute BlueGamma specified on line 44 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute DigitalVibrance specified on line 45 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute ImageSharpening specified on line 46 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute GPUScaling specified on line 47 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).


ERROR: Unable to assign attribute XVideoTextureSyncToVBlank specified on line
       48 of configuration file '/home/durigueto/.nvidia-settings-rc' (no
       Display connection).


ERROR: Unable to assign attribute XVideoBlitterSyncToVBlank specified on line
       49 of configuration file '/home/durigueto/.nvidia-settings-rc' (no
       Display connection).


ERROR: Unable to assign attribute XVideoSyncToDisplay specified on line 50 of
       configuration file '/home/durigueto/.nvidia-settings-rc' (no Display
       connection).

/usr/share/themes/exotic/gtk-2.0/gtkrc:89: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
/usr/share/themes/exotic/gtk-2.0/gtkrc:90: Murrine configuration option "lightborder_ratio" will be deprecated in future releases. Please use "lightborder_shade" instead.
/usr/share/themes/exotic/gtk-2.0/gtkrc:156: Murrine configuration option "highlight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.

VALIDATION ERROR:  Data incomplete in file /etc/X11/xorg.conf.
Device section "Configured Video Device" must have a Driver line.

Falha de segmentação

E o xorg ficou assim:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
   Identifier   "Configured Video Device"
EndSection

Section "Monitor"
   Identifier   "Configured Monitor"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Monitor      "Configured Monitor"
   Device      "Configured Video Device"
EndSection

E agora, o que faço?

Offline lipeodonto

  • Usuário Ubuntu
  • *
  • Mensagens: 28
    • Ver perfil
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #3 Online: 06 de Julho de 2009, 17:16 »
Turma do ubuntuforum, desculpem-me desde já o post seguido, mas venho fazer uma complementação ao anterior, pois achei isso num post em um fórum gringo do ubuntu:

Um cara estava com o mesmo problema e disse que havia adicionado a seguinte linha na seção "monitor" do xorg:
"Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync".

Minha pergunta é: essa linha é adicionada na seção monitor mesmo ou em alguma subseção na seção "screen" para dar certo?


Grato.

Offline martinijr

  • Usuário Ubuntu
  • *
  • Mensagens: 40
  • Need help? me 2.
    • Ver perfil
    • Twitter
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #4 Online: 06 de Julho de 2009, 17:47 »
cara, eu tive esse problema e resolvi ele, espero q possa te ajudar:

1° entre no terminal e digite: nvida-settings
2º digite a senha, após isso abrira a pagina de configuração do Nvidia. (caso não peça para digitar a senha, feche a janela da nvidia e digite no terminal "sudo su") é importante entrar no nvidia-settings como root (#)
3º escolha normalmente a resolução desejada, a taxa de frequencia, clique em salvar X
4º ao clicar em salvar x, abrira uma janelinha, la clique em exibir detalhes (ou algo semelhante)
5º feito isso abrira um texto com varias informações, va ate as resoluções.
6º caso a sua resolução desejada não apareça ali, digite-a (ex: "1280x1024").
7º clique em salvar
8º saia do nivida-settings
9º reinicie o computador para ver se deu certo.

OBS1: é muito importante q vc entre pelo terminal no nvidia-settings, pois ele vai pedir para digitar a senha do root, ai vc pode alterar o xorg.conf. (se ele n pedir a senha, digite ela, ai entao entre no nvidia-settings)

OBS2: se ja aparece la a resolução q vc deseja, basta vc escolher ela, e clicar em salvar x, n precisa nem fazer o passo 5 e 6

caso vc tenha alguam duvida, poste aqui, ou deixe uma mensagem pessoal para mim, pois esse metodod ali sempre da certo.

abraço

fonte: http://ubuntuforum-br.org/index.php/topic,51231.0.html (meu topico com a mesma duvida)


Offline lipeodonto

  • Usuário Ubuntu
  • *
  • Mensagens: 28
    • Ver perfil
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #5 Online: 06 de Julho de 2009, 18:27 »
Saudações Martlnljr...

Obrigado pela atenção desde já. Mas veja o meu xorg como está atualmente, ele contém a resolução 1680x1050. Caso seja necessária alguma outra modificação peço que me ensine.
Aliás, se puder postar o seu xorg para que eu dê uma olhada, eu agradeço.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1680x1050_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



Agradeço a atenção!

Offline martinijr

  • Usuário Ubuntu
  • *
  • Mensagens: 40
  • Need help? me 2.
    • Ver perfil
    • Twitter
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #6 Online: 06 de Julho de 2009, 19:33 »
Meu xorg.conf é esse:
Código: [Selecionar]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Wed May 27 03:15:36 PDT 2009

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Wed May 27 03:16:54 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG 710E"
    HorizSync       30.0 - 71.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
Modes    "1280x1024" "1280x1024" "1280x1024"
    EndSubSection
EndSection

mas atenção, minha placa é uma Nvidia 6200 256mb.

olha, eu acho q se ja aparece no seu xorg.conf a resolução que vc quer, basta vc entrar no "nvidia-settings" pelo terminal, ir na opção "x server display configuration" seleciona ali no resolution a tua resolução preferida e clica em apply. Depois é so apertar em "save to x configuration" e clicar em fechar e pronto. Aposto q vai estar td como vc selecionou no proximo boot.

Aconçelho voce a nem mexer no xorg.conf entao.

att

qualquer coisa chama

Offline lipeodonto

  • Usuário Ubuntu
  • *
  • Mensagens: 28
    • Ver perfil
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #7 Online: 06 de Julho de 2009, 20:48 »
Meu velho, nada feito também.

Inclusive se vc reparar, meu xorg é bem semelhante ao seu. Então, como eu já havia feito o procedimento que vc acabou de me sugerir (entrar no nvidia-settings via sudo, alterar a resolução e salvar), eu fiz algumas alterações no meu xorg para que ficasse mais parecido com o seu. Mas nada disso adiantou.
Realmente não sei o que fazer mais por aqui.

Mas, QUALQUER outra dica que possa me ajudar será muito bem vinda.

Grande abraço.

Offline martinijr

  • Usuário Ubuntu
  • *
  • Mensagens: 40
  • Need help? me 2.
    • Ver perfil
    • Twitter
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #8 Online: 06 de Julho de 2009, 21:42 »
so a titulo de excluir todas as possibilidades: vai em Sistema>preferencias>video     ai se ele pedir para usar o drive do fabricante vc diz q não
ai abrira as propriedades de video, ve se ali tbm ta a que vc escolheu, se n tiver clique na q vc quiser, salve e reinicie.

outra pergunta, ele muda a resolução, mas quando vc reinicia ele ta de novo com a resolução ruim? ou ele nem muda?

vc conseguiu salvar o x?

Offline martinijr

  • Usuário Ubuntu
  • *
  • Mensagens: 40
  • Need help? me 2.
    • Ver perfil
    • Twitter
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #9 Online: 06 de Julho de 2009, 21:57 »
cara, acho q achei o possivel problema, olhando denovo o seu xorg.conf notei que faltam alguns parametros, q potencialmente podem ser o motivo de tanta dor de cabeça, pois bem:

esse é o meu trecho do xorg:

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
   Modes      "1280x1024" "1280x1024" "1280x1024"   
    EndSubSection
EndSection

e esse é o mesmo trecho, so que do seu xorg:

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1680x1050_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

o que falta para vc é adicionar a linha:

Modes      "1280x1024" "1280x1024" "1280x1024"

logo abaixo do Depht    24


so que vc vai escrever exatamente assim:

Modes      "1680x1050" "1680x1050" "1680x1050"

onde 1680x1050 é a sua resolução desejada.


SO FAÇA ESTA PARTE SE ESSA ULTIMA NÃO DEU CERTO, CASO A ANTERIOR DEU CERTO NEM MEXA NISSO:
altere também essas propriedades do xorg:[/b]

o seu é assim:

# HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

deixe-o assim:

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 71.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

o que vc esta alterando é os numeros ali da HorizSync e VertRefresh.

MAs eu tenho certeza q a hora q vc adicionar aqueles modules ali, ja vai fechar o repolho hasuhasuas


espero ter te ajudado, mesmo, pq eu sei o quanto eu sofri pra arruamar, se deu certo por favor avise-me.

abraços.

Offline lipeodonto

  • Usuário Ubuntu
  • *
  • Mensagens: 28
    • Ver perfil
[RESOLVIDO] Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #10 Online: 07 de Julho de 2009, 14:36 »
Meu velho, você é o CARA!!!

Muito obrigado pelos toques, eu já estava desistindo de tentar consertar isso. Além de fazer algumas modificações que você sugeriu, como adicionar a linha Modes e apagar a linha referente ao edid, eu dei um gtx 1680 1050 60 no shell e copiei o retorno para a seção Monitor do xorg.
Agora não tenho mais que ficar reajustando a resolução do meu monitor, e assim posso fazer mais configurações referentes à aparência dele (como adicionar mais Screenlets, por exemplo).

Valeu meu brother, qualquer coisa em que eu puder ajudar é só chamar.
Grande abraço.

Offline martinijr

  • Usuário Ubuntu
  • *
  • Mensagens: 40
  • Need help? me 2.
    • Ver perfil
    • Twitter
Re: Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #11 Online: 07 de Julho de 2009, 15:34 »
otimo entao, morto o porco como diz o caboclo. Estamos aqui pra isto


só uma coisa, clica em editar no seu primeiro post no topico, aquele bem de cima, e nele vc coloca [resolvido] para que o proximo usuario que tiver com o mesmo problema saiba que ele ja tem solução e otimize as pesquisas
« Última modificação: 07 de Julho de 2009, 15:36 por martinijr »

Offline bjodogordo

  • Usuário Ubuntu
  • *
  • Mensagens: 16
  • "Oi, sou Zaraki Kenpachi e vim te matar!"
    • Ver perfil
    • Anime~No~Cn
Re: [RESOLVIDO] Problema com a resolução do monitor Samsung 2063uw e placa nVidia
« Resposta #12 Online: 09 de Outubro de 2009, 11:00 »
é o meu problema era o mesmo, mas eu resolvi com a dica do "martinijr" apenas entrei no "nvidia-settings" como root mudei a resolução e pronto, deu certo!

vlw galera! 8)
Yachiru: "Ken-chan, o que é aquilo?"
Kenpachi: "É um cadáver."
Yachiru: "Não é, não."        Zaraki: "Ah, mas daqui a pouco vai ser..."