[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: openshot: X Window System error




---------- Forwarded message ----------
From: Rodolfo <rof20004@gmail.com>
Date: 2016-05-01 13:36 GMT-04:00
Subject: Re: openshot: X Window System error
To: "G.Paulo" <linuser@terra.com.br>


O programa não conseguiu obter recursos para rodar, pode ser um bug no programa, pode ser pouca memória utilizada para o mesmo, dei uma olhada no fórum do launchpad e um cara postou 2 possíveis soluções:

Thanks for the bug report and the testing. This is a tough one. This is not a common error, and infact, I have never seen it before. I did some research on the error, and it looks like an issue with your xorg setup, or possibly a video card driver issue.

I have 2 suggestions:

1) try disabling desktop effects (although I doubt that will fix it)
2) look for an updated video card driver (probably not in the repository)

If both of those don't work, you might need to post a bug report with Ubuntu or the Xorg project. I found this same error message being reported on many different video players (such as Mplayer, Xine, VLC, etc...). So, I don't think it's anything unique to OpenShot, ya know.

Gook luck!


Um outro usuário falou que a primeira solução funcionou -> https://answers.launchpad.net/openshot/+question/75010



Outro fórum pede pra desabilidar o compiz, mas o cara adicionou duas linhas no xorg.conf:

Hi. It is a bug in Xorg. Edit the file /etc/X11/Xorg.conf. Reach the section "device" and add those lines:
Option "Videoram" "65536"

Option "Cachelines" "1980" then halt and restart x server

Link: https://forums.opensuse.org/showthread.php/389147-X-Error-of-failed-request-BadAlloc-%28insufficient-resources






Em 1 de maio de 2016 12:03, G.Paulo <linuser@terra.com.br> escreveu:
Saudações.

Tenho tido problemas para executar o programa openshot numa instalação Jessie num laptop Asus. Busco alguma ajuda entre vocês. Eis o caso: ao comando
$ openshot
obtenho uma longa série de mensagens, codecs e formats e, finalmente, vem a mensagem fatal:
<inicio de mensagem>
The program 'openshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 25 error_code 11 request_code 151 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
<fim de mensagem>

Agora, a parte curiosa: isto ocorre no Gnome e no KDE. Porém, ao rodar o programa sob o Fluxbox, esta mensagem não aparece e o programa roda normalmente!

Buscando pela internet, achei várias coisas, mas em geral, neste caso, as soluções são sempre associadas a temas do Gnome. Alterando esses temas, porém, não dá resultado. Alem disso, certamente temas do Gnome não deveriam afetar o KDE.

Um ponto que talvez seja relevante é a quantidade de memória livre. No caso do Fluxbox, há uns 3 Gb livre. No caso do Gnome e KDE, há um pouco menos:
$ free -h
             total       used       free     shared    buffers     cached
Mem:          3.8G       1.8G       2.0G        19M        76M       1.0G
-/+ buffers/cache:       710M       3.1G
Swap:         7.7G         0B       7.7G

A instalação em questão é um Jessie:
uname -a
Linux flaminia 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux

Uma outra instalação Jessie num laptop Toshiba funciona normalmente.

Finalmente, a razão de insistir no Gnome é que o laptop é de uso de uma criança. Usar o Fluxbox, nesse caso, seria exigir demais.

[]'s, G.Paulo.




Reply to: