Autor Tópico: Janela Preta  (Lida 13826 vezes)

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Janela Preta
« Online: 12 de Junho de 2007, 09:36 »
Boas, sou iniciante no Ubuntu e quanto mais descubro mais gosto do Linux! Mas tenho um pequeno problema.
Já procurei no forum mas não descobri nada. É o seguinte: Se eu abrir uma janela e maximizar não tenho problema nenhum, mas se eu abrir outra janela e ela maximizar, também, fica preta! Se eu minimizar a 1ª e voltar e maximizar a 2ª já fica bem. Só posso ter uma janela maximizada! Só acontece qd tenho desktop effects enable.

Será que me podem ajudar?

Linux Rules!!!

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #1 Online: 14 de Junho de 2007, 07:32 »
Já actualizei os dirvers da nVidia ma scontinua na mesma!

Será que tenho de actualizar o xconf?

ginho

  • Visitante
Re: Janela Preta
« Resposta #2 Online: 14 de Junho de 2007, 10:25 »
Talvez, coloque aqui o conteúdo do arquivo /etc/X11/xorg.conf e também a marca e o modelo do seu monitor, de preferência um link para o fabricante dele.

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #3 Online: 15 de Junho de 2007, 03:48 »
Oi Ginho, obrigado pela sua resposta. Aqui vai o meu xorg.:

Identifier     "Generic Monitor"
    HorizSync       28.0 - 64.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce Go 6200/6400]"
    Driver         "nvidia"
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "AllowGLXWithComposite" "True"
    Option "backingstore" "True"
    Option "TripleBuffer" "True"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce Go 6200/6400]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800"
    EndSubSection
EndSection

-Em relação ao monitor eu tenho um notebook Sony Vaio VGN-FS115Z e as unicas informações que tenho são estas:
Tamanho do monitor     15,4 polegadas
Monitor                      LCD WXGA X-Black de dupla lâmpada
Resolução do monitor    1280 x 800 píxeis

Obrigado,

ginho

  • Visitante
Re: Janela Preta
« Resposta #4 Online: 15 de Junho de 2007, 11:28 »
Este?
http://www.sony.co.uk/view/View.action?section=Products_ITE&productcategory=%2FComputing%2FVAIO+Notebooks%2FVN+Previous+Models%2FPM+FS+Series&productmodel=%2FComputing%2FVAIO+Notebooks%2FVN+Previous+Models%2FPM+FS+Series%2FVGN-FS115Z&productsku=VGNFS115Z.CEK&site=ite_en_GB&page=ProductTechnicalFeatures
Parece ser Turbo Cache, este tópico trata disso;
http://ubuntuforum-pt.org/index.php/topic,20257.0.html
De uma olhada neste tópico também
http://ubuntuforum-pt.org/index.php/topic,20181.msg109356.html#msg109356

Minha proposta:

Identifier     "Generic Monitor"
    HorizSync       28.0 - 64.0   # Não encontrei,
    VertRefresh     43.0 - 60.0   # Não encontrei, acho baixo os valores.
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce Go 6200/6400]"
    Driver         "nvidia"
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "backingstore" "True"  # Este achei interessante, até vou estudar melhor
    Option "TripleBuffer" "True"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce Go 6200/6400]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option          "AddARGBGLXVisuals" "True" # Este eu tenho duas vezes mesmo
    Option          "AllowGLXWithComposite" "True" # Mudei da section Device
    SubSection     "Display"
        Depth       1
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800"
    EndSubSection
EndSection

Section "ServerFlags"               # Incluí
         Option         "Xinerama" "0"
EndSection

Section "Extensions"                # Incluí
         Option          "Composite" "Enable"
EndSection

Eu faria uma cópia do xorg atual.seguro morreu de velho, pelo terminal
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-bkp
altera o xorg e reinicia, se não subir o x é só dar um
sudo cp /etc/X11/xorg.conf-bkp /etc/X11/xorg.conf
sudo reboot
deve subir normal com as configurações anteriores.
Espero que ajude, de qualquer forma estaremos no aguardo pois tem outros usuários com o mesmo
problema.
T+

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #5 Online: 16 de Junho de 2007, 13:07 »
Oi Ginho,
fiz aquilo que me pediu, mas agora a 3ª janela que maximizo fica preta. E sempre essa 3º janela que abri.
Li o outro topico em relação ao turbo cache da nvidia. Ah, você acertou na placa e link do notebook.
As modificações que me pediu:
ection "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
    InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"

   # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "pt"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "Synaptics Touchpad"
    Driver         "synaptics"
    Option         "SendCoreEvents" "true"
    Option         "Device" "/dev/psaux"
    Option         "Protocol" "auto-dev"
    Option         "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"      # Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"      # Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"      # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 64.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce Go 6200/6400]"
    Driver         "nvidia"
    VideoRam       131072      # Acrescentei como no topico que me enviou
    Option       "NvAGP" "1"   # Acrescentei como no topico que me enviou
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "backingstore" "True"
    Option "TripleBuffer" "True"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce Go 6200/6400]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option "AddARGBGLXVisuals" "True"
    Option "AllowGLXWithComposite" "True"   #Mudei da section devive
    SubSection     "Display"
        Depth       1
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x800"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x800"
    EndSubSection
EndSection

Section "ServerFlags"                              #incluido
   Option      "Xinerama" "0"
EndSection

Section "Extensions"
   Option      "Composite" "Enable"  #incluido
EndSection


Vou ver se encontro mais alguma cena...

Será que tem mais dicas?

T+

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #6 Online: 16 de Junho de 2007, 13:14 »
Ginho desculpa,
1ª linha é Section :problema no copy.

Pergunta: na section device , não tenho nada referente a BusID ! Deveria ter?

T+

ginho

  • Visitante
Re: Janela Preta
« Resposta #7 Online: 16 de Junho de 2007, 13:54 »
Quanto ao BusID não sei te dizer, alguns tem com eu outros não, e já vi tópicos onde diz para tirar.
Deveria estar funcionando corretamente agora e não sei te dizer se tua questão tem relevância à ainda
não estar.
Qual a versão do driver que você esta usando? Nisso acredito, pode ser:
Vejo relatos desses problema com anteriores ao 9755, este no synaptic é referenciado pelo pacote
nvidia-glx-new, verifique por favor. Posso procurar por algo mais explicitamente.

ginho

  • Visitante
Re: Janela Preta
« Resposta #8 Online: 16 de Junho de 2007, 15:35 »
Citar
VertRefresh     43.0 - 60.0
Veja se acha este valor correto para sua tela, este não é, esta muito baixo, procurei mas não achei, veja se tem no manual ou no próprio note.
Se esta com dual boot, procure no Windows, talvez tenha la, só que eu não sei onde. Não tenho Windows instalado aqui.
« Última modificação: 16 de Junho de 2007, 15:37 por ginho »

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #9 Online: 19 de Junho de 2007, 05:01 »
Andei procurando e encontrei alguns com o meu notebook que utilizam vertrefresh 43.0 - 90.0.

MAs continua o mesmo. Não posso ter 3 janelas maximizadas. E se abro a 4ª então é que dá tudo preto, todas as janelas pretas e tenho de fechar uma.
A versão que tenho é a 9755 e tenho instalado o nvidia-glx-new. Posso ter o compiz desligado, mas gostava de ter os efeitos a funcionar.

Mas mesmo assim valeu pela ajuda dada.

ginho

  • Visitante
Re: Janela Preta
« Resposta #10 Online: 19 de Junho de 2007, 09:51 »
Experimente abrir o nvidia-settings e fecha-lo pelo x da janela.

E se não resolver os tenho uma última idéia, experimente comentar as seguintes linhas:

#Option "AllowGLXWithComposite" "True"   #Mudei da section devive

e.a
# Section "Extensions"
#   Option      "Composite" "Enable"  #incluido
# EndSection
 

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #11 Online: 21 de Junho de 2007, 04:22 »
Não deu nada! Se eu comentar essas linhas desaparece-me os botões de maximizar e minimizar.

Alguma coisa me está a escapar mas não sei o quê!!! Vou trabalhar sem o compiz, e vou tentando fazer algumas alterações a ver se dá alguma coisa!

Até era capaz de desinstalar o driver e voltar a instalar mas como sou novo nisto estou com algum receio de arrebentar com o resto...

Offline pmontalvao

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Janela Preta
« Resposta #12 Online: 21 de Junho de 2007, 04:43 »
Ginho, vi este comentário a dizer que existe um bug com nvidia drivers exactamente igual ao meu problema.

Você acha que se aplica a mim?

Citar
This is a bug in the Nvidia drivers (as of now from 9625 beta to 9631 for legacy and up for others) that may be fixed in the future. This is because memory management of driver does not work properly, therefore it is especially occuring with video cards that have not enough video memory. When you've used it all up with open windows, newly opened windows are left black. Reloading the window manager or resizing windows smaller or minimize other opened windows will make the currently-opened windows visible, but doesn't solve the problem. Some have had success with one of the following, though usually at the expense of a lower framerate:

 * beryl --indirect-rendering
 * beryl --strict-binding
 * beryl --indirect-rendering --strict-binding
 * beryl --force-aiglx
 * beryl --use-copy

Note: Many of these options can be toggled by right clicking on the beryl system tray icon and then clicking on "Advanced Beryl Options."

Also check out the post here for optimal settings: nvidia forum discussion on the issue

If you use the Blur plugin turning it off is beneficial since it leaves you with more video memory for your windows.

Also check your shared video RAM in BIOS settings first, some default settings are below capacity.

Edit: Driver 9755 (latest at the time of this writing) exhibits this bug with a GeForce 6150LE that has 256MB of (Shared) video ram operating at 1280x1024x24bpp, and force aiglx works around the problem nicely.

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Janela Preta
« Resposta #13 Online: 21 de Junho de 2007, 08:10 »
É prosaico, mas pode ter escapado.

Na minha placa Intel eu tinha o mesmo problema e foi só habilitar o 3D.

Veja se serve o link http://www.guiadohardware.net/dicas/desktop-3d-aiglx-beryl.html

Meu caminho foi por aí. Agora eu não tenho tela preta.

Sei que Nvidia e ATI são mais espinhosas que minha Intel mas de qualquer maneira acho que vale a lembrança.

[],s

Offline Eunir Augusto

  • Usuário Ubuntu
  • *
  • Mensagens: 853
  • Embaixador do Projeto Fedora Brasil
    • Ver perfil
    • Comunidade PCLinuxOS Brasil
Re: Janela Preta
« Resposta #14 Online: 21 de Junho de 2007, 08:18 »
Citar
VertRefresh     43.0 - 60.0
Veja se acha este valor correto para sua tela, este não é, esta muito baixo, procurei mas não achei, veja se tem no manual ou no próprio note.
Se esta com dual boot, procure no Windows, talvez tenha la, só que eu não sei onde. Não tenho Windows instalado aqui.

No embalo de vcs... eu queria entender essa citação, ginho, se for possivel

é o seguinte... estou batalhando nisso em outro topico e nada... meu monitor é um TCE 14 Ne Digital. Não acho o manual dele na net em hipotese alguma  :o essa diferença de 43-60, por exemplo, nao encontro o que ela significa, exatamente... tipo, eu entendi a teoria dela, mas eu nao sei se o valor é alto, baixo, vou por tentativa... nao deveria ser apenas um valor?

obrigado
Comunidade PCLinuxOS Brasil - Assinatura modificada a pedido do grande amigo Ricardo (rjbgbo)