Autor Tópico: Monitor desconfigurado 14.04 apenas 640x480  (Lida 12737 vezes)

Offline SouzaRC

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Monitor desconfigurado 14.04 apenas 640x480
« Online: 20 de Abril de 2014, 09:00 »
Olá pessoal,

Pesquisei sobre este assunto em vários foruns e não encontrei solução.

o monitor esta desconfigurado, a placa é sis, já tentei sudo dpkg-reconfigure xserver-xorg, não funcionou.

Também tentei sudo gedit /etc/X11/xorg.conf - O xorg-conf abre mas não tem nenhuma informação, esta em branco. e aparece no terminal a mensagem:

(gedit:4217): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

Obrigado pela ajuda.

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #1 Online: 20 de Abril de 2014, 13:05 »
Execute os seguintes comandos em terminal e cole os resultados aqui.

sudo lshw -C video
lspci | grep "VGA"

Offline SouzaRC

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #2 Online: 20 de Abril de 2014, 15:24 »
Ok.

*-display UNCLAIMED     
       description: VGA compatible controller
       product: 771/671 PCIE VGA Display Adapter
       vendor: Silicon Integrated Systems [SiS]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 10
       width: 32 bits
       clock: 66MHz
       capabilities: pm agp agp-3.0 vga_controller cap_list
       configuration: latency=0
       resources: memory:c0000000-cfffffff memory:d4000000-d401ffff ioport:9000(size=128)



01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)



Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #3 Online: 20 de Abril de 2014, 16:16 »
Placa de vídeo SIS com Linux deve ser uma ****.

Dê uma lida aqui.

Offline jkmsjq

  • Usuário Ubuntu
  • *
  • Mensagens: 3.343
  • Ubuntu Member
    • Ver perfil
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #4 Online: 20 de Abril de 2014, 16:20 »
Tenho um notebook com esta placa de vídeo da SiS e utilizo a dica postada por Arthur e consigo usar o monitor na sua configuração nativa que é de 1440 X 900.

Único detalhe é: que esta dica funciona até a versão 12.04, pois você pode escolher utilizar o Unity 2D, acima desta versão, nunca tive sorte para fazer funcionar corretamente a resolução do monitor.

Esta semana tentei instalar o Xubuntu 14.04 utilizando esta dica, e não funcionou.

Voltei para a versão 12.04.4 de 64 bits do Ubuntu.
LinuxUser: 548942 / Dando um tópico como resolvido
"A verdade só é agressiva a quem vive de mentiras". Autor desconhecido.
Twitter: @jeisonkertesz

Offline SouzaRC

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #5 Online: 20 de Abril de 2014, 16:56 »
Infelizmente não funcionou, vou postar o resultado, se  possível, veja se fiz algo errado.

Obrigado.

rodrigo@rodrigo-N-A:~$ sudo apt-get install git xorg-dev mesa-common-dev libdrm-dev libtool gcc build-essential
[sudo] password for rodrigo:
Sorry, try again.
[sudo] password for rodrigo:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
gcc is already the newest version.
git is already the newest version.
libdrm-dev is already the newest version.
libtool is already the newest version.
mesa-common-dev is already the newest version.
xorg-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rodrigo@rodrigo-N-A:~$ git clone git://github.com/hellnest/xf86-video-sismedia-0.9.1.git
fatal: destination path 'xf86-video-sismedia-0.9.1' already exists and is not an empty directory.
rodrigo@rodrigo-N-A:~$ cd xf86-video-sismedia-0.9.1
rodrigo@rodrigo-N-A:~/xf86-video-sismedia-0.9.1$ make
make  all-recursive
make[1]: Entering directory `/home/rodrigo/xf86-video-sismedia-0.9.1'
Making all in src
make[2]: Entering directory `/home/rodrigo/xf86-video-sismedia-0.9.1/src'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -pthread -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/mirclient -I/usr/include/libdrm -I/usr/include/mircommon -I/usr/include/xorg -I/usr/include/X11/dri   -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT init301.lo -MD -MP -MF ".deps/init301.Tpo" -c -o init301.lo init301.c; \
   then mv -f ".deps/init301.Tpo" ".deps/init301.Plo"; else rm -f ".deps/init301.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/mirclient -I/usr/include/libdrm -I/usr/include/mircommon -I/usr/include/xorg -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT init301.lo -MD -MP -MF .deps/init301.Tpo -c init301.c  -fPIC -DPIC -o .libs/init301.o
In file included from sis.h:71:0,
                 from init301.h:60,
                 from init301.c:76:
/usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp]
 #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
  ^
In file included from sis.h:213:0,
                 from init301.h:60,
                 from init301.c:76:
vgatypes.h:88:1: warning: 'IOADDRESS' is deprecated [-Wdeprecated-declarations]
 typedef IOADDRESS SISIOADDRESS;
 ^
In file included from sis.h:214:0,
                 from init301.h:60,
                 from init301.c:76:
vstruct.h:244:2: warning: 'PCITAG' is deprecated [-Wdeprecated-declarations]
  PCITAG    PciTag;
  ^
In file included from init301.h:60:0,
                 from init301.c:76:
sis.h:247:17: fatal error: xaa.h: No such file or directory
 #include "xaa.h"
                 ^
compilation terminated.
make[2]: *** [init301.lo] Error 1
make[2]: Leaving directory `/home/rodrigo/xf86-video-sismedia-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rodrigo/xf86-video-sismedia-0.9.1'
make: *** [all] Error 2
rodrigo@rodrigo-N-A:~/xf86-video-sismedia-0.9.1$ sudo make install
Making install in src
make[1]: Entering directory `/home/rodrigo/xf86-video-sismedia-0.9.1/src'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -pthread -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/mirclient -I/usr/include/libdrm -I/usr/include/mircommon -I/usr/include/xorg -I/usr/include/X11/dri   -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT init301.lo -MD -MP -MF ".deps/init301.Tpo" -c -o init301.lo init301.c; \
   then mv -f ".deps/init301.Tpo" ".deps/init301.Plo"; else rm -f ".deps/init301.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/mirclient -I/usr/include/libdrm -I/usr/include/mircommon -I/usr/include/xorg -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT init301.lo -MD -MP -MF .deps/init301.Tpo -c init301.c  -fPIC -DPIC -o .libs/init301.o
In file included from sis.h:71:0,
                 from init301.h:60,
                 from init301.c:76:
/usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp]
 #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
  ^
In file included from sis.h:213:0,
                 from init301.h:60,
                 from init301.c:76:
vgatypes.h:88:1: warning: 'IOADDRESS' is deprecated [-Wdeprecated-declarations]
 typedef IOADDRESS SISIOADDRESS;
 ^
In file included from sis.h:214:0,
                 from init301.h:60,
                 from init301.c:76:
vstruct.h:244:2: warning: 'PCITAG' is deprecated [-Wdeprecated-declarations]
  PCITAG    PciTag;
  ^
In file included from init301.h:60:0,
                 from init301.c:76:
sis.h:247:17: fatal error: xaa.h: No such file or directory
 #include "xaa.h"
                 ^
compilation terminated.
make[1]: *** [init301.lo] Error 1
make[1]: Leaving directory `/home/rodrigo/xf86-video-sismedia-0.9.1/src'
make: *** [install-recursive] Error 1

Hoshi

  • Visitante
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #6 Online: 21 de Abril de 2014, 05:48 »
Olha cara, também tentei de tudo(computador com as mesmas configurações que o seu), inclusive a solução apresentada aqui, de várias formas diferentes, nada funcionou.

Eu voltei pro ubuntu 13.10 e achei melhor e mais fácil deixar assim até vir outro pc.

De qualquer forma, boa sorte e tomara que alguém consiga ajudar-nos.  :(


Offline Tupac

  • Usuário Ubuntu
  • *
  • Mensagens: 38
    • Ver perfil
Re: Monitor desconfigurado 14.04 apenas 640x480
« Resposta #8 Online: 24 de Janeiro de 2015, 23:43 »
Um positivo antigo aqui (z62) deu esse problema com a mesma placa que a do autor do tópico com o Lubuntu 14.04LTS. A única solução que funcionou pra mim foi editar o xorg.conf da seguinte maneira:

Código: [Selecionar]
sudo leafpad /etc/X11/xorg.conf

Caso sua distro seja o ubuntu, pode trocar o editor (leafpad) pelo gedit, ou o editor que sua distro tiver. Pode ser até trocando com o nano se preferir.

Bom, o comando acima abrirá como administrador o arquivo xorg.conf dentro do caminho /etc/X11/.

Após o arquivo aberto, insira as instruções abaixo nele.

Código: [Selecionar]
Section "Device"
  Identifier "Generic Video Card"
    VendorName  "Silicon Integrated Systems [SiS]"
        BoardName   "771/671 PCIE VGA Display Adapter"
    Busid "PCI:1:0:0"
    Driver "vesa"
    Screen 0
        Option "UseFBDev" "true"
        Option "DPMS"
        Option "ShadowFB"
        Option "MaxXFBMem"
        VideoRam 262016
        Option "RenderAccel" "true"
        Option "AllowGLXWithComposite" "true"
        Option "backingstore" "true"
        Option "AddARGBGLXVisuals" "True"

EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
    Vendorname    "Generic LCD Display"
    Modelname    "LCD Panel 1280x800"
    HorizSync 20-107
        VertRefresh 50-185
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
  modeline  "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
  modeline  "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
    Gamma    1.0
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    Defaultdepth    24
    SubSection "Display"
        Depth    24
        Virtual    1280    768
        Modes        "1280x768@60"    "1280x720@60"    "800x600@60"    "1280x800@60"    "800x600@56"
    EndSubSection
EndSection

Section "Module"
    Load "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "GLcore"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "int10"
    Load "vbe"
    Load "speedo"
    Load "record"
EndSection

Section "DRI"
        Mode 0666
EndSection

Depois disso basta reiniciar a máquina e provavelmente sua resolução estará ajustada corretamente.

Créditos da solução para o forista javier-ejsf do ubuntuforums gringo (aqui: http://ubuntuforums.org/showthread.php?t=2167879)

Edit: Verifique se o driver SiS está instalado na máquina, e caso não esteja já instale, com o comando:

Código: [Selecionar]
sudo apt-get install xserver-xorg-video-sis
Aí depois é só editar o xorg.conf, como explicado acima, e (espero fortemente) só partir pro abraço.
« Última modificação: 24 de Janeiro de 2015, 23:50 por Tupac »