Instalando driver de vídeo Sis 671/771 Mirage 3 no Ubuntu 11

Após muita pesquisas e tentativas, cheguei a conclusão que a forma mais segura de ter os drivers de vídeo para chipset SIS M671/678/771 no Ubuntu 11 é mesmo compilando em sua máquina. Então mostro aqui como passar por esse processo sem dor. Compilar drivers no Linux é uma grande vantagem pois as configurações dos drivers estarão “afinadas” com as características de sua máquina. Quem tem os notebooks da linha Win (Eu!), da CCE, por exemplo, terão a tela em 1280×800 com o nível de aceleração (baixíssimo) que o hardware oferece… :-)

Esta solução serve tanto para o Ubuntu 11.04 e também para o Ubuntu 11.10

Para resolver de vez o problema (da falta) de driver SIS Mirage no Ubuntu 11 faça o seguinte:

Inicie o terminal e passe a ser sudo (super usuário) para facilitar e permitir alterações em sua máquina

$ sudo su

Instale os pacotes necessários (serão informados muitos outros pacotes a ser instalados, apenas aceite)

# apt-get install git xorg-dev mesa-common-dev libdrm-dev libtool

Feita a instalção dos pacotes, vamos iniciar a compilação do driver de vídeo.

  1. Sincronizar o repositório com o driver que funciona no Ubuntu 11.04 via git:
    # git clone git://github.com/hellnest/xf86-video-sismedia-0.9.1.git

  2. Acessar a pasta onde se encontra o driver:
    # cd xf86-video-sismedia-0.9.1

  3. Configurar o driver:
    # ./configure --prefix=/usr --disable-static

  4. Compilar o driver:
    # make

  5. Instalar o driver:
    # make install

Pronto!

Basta você reiniciar o notebook para ter sua tela naquela resolução tão desejada…

Uma coisa a se observar é que estando este driver no git, poderemos acompanhar a atualização dele…

Tranquilo? Funcionou? Fácil? Difícil? dê sua opinião e ajude este humilde blog a se tornar cada vez melhor. :-)

1288
Thanks!
An error occurred!

About Marcus

Trabalha e se diverte com informática desde que a "barreira dos 100Mhz" foi rompida. Atualmente é desenvolvedor e continua levando seus trabalhos e projetos adiante, enquanto o tempo permitir.

, ,

10 Responses to Instalando driver de vídeo Sis 671/771 Mirage 3 no Ubuntu 11

  1. André Phellip 24 de janeiro de 2012 at 11:44 #

    Olá Marcus, muito boa tarde!
    Gostaria de saber se posso copiar seu post e disponibilizá-lo para outros usuários Linux?
    Eu agradeço imensamente sua ajuda, pois agora posso disfrutar de uma melhor visualização!
    Antes eu estava usando o Xubuntu porque este permite visualização de 1024×768, mas agora está tudo perfeito, tanto no Ubuntu quando no Xubuntu.
    Forte abraço!

    • Marcus Monteiro 24 de janeiro de 2012 at 16:08 #

      Olá André, obrigado pelos elogios!
      Fico muito feliz quando vejo que estou conseguindo ajudar as pessoas pois este é o principal objetivo de meu site.
      O conteúdo deste site é de uso livre, fique a vontade. :-)

  2. Renato 24 de dezembro de 2011 at 23:39 #

    Obrigado, É o que eu precisava.

  3. lincoln 13 de dezembro de 2011 at 23:45 #

    valeu demais mesmo, agora meu notebook cce win w55 ta bala , com a resolução tinindo, sou novato no Linux mas adorei muito o Ubuntu e não tinha razão de deixar uma imagem ruim, obrigado.

    "vida longa aos sábios"

  4. pedro 10 de novembro de 2011 at 12:48 #

    obrigado! funcionou.

  5. Jhonatan 6 de outubro de 2011 at 11:01 #

    Valew cara funciono aki direitinho bem melhor agora

  6. Cybereu 22 de setembro de 2011 at 17:42 #

    Consegui compilar, acho o que falta é "sudo make install" ao invés de "make install"

    • Marcus 23 de setembro de 2011 at 06:26 #

      Olá Cyber… voce (rsrsrs) – Na verdade, logo na primeira parte eu digo para entrar como su, justamente para (entre outras coisas) não ter de ficar escrevendo sudo isso, sudo aquilo… Mesmo assim, obrigado pela observação :o)

  7. Efraim 8 de setembro de 2011 at 14:44 #

    Estava dando tudo certinho ate que no passo 3 ocorreu:

    root@efraim-laptop:/home/efraim/xf86-video-sismedia-0.9.1/xf86-video-sismedia-0.9.1# ./configure –prefix=/usr –disable-static

    checking for a BSD-compatible install… /usr/bin/install -c

    checking whether build environment is sane… yes

    checking for gawk… no

    checking for mawk… mawk

    checking whether make sets $(MAKE)… yes

    checking whether to enable maintainer-specific portions of Makefiles… no

    checking build system type… i686-pc-linux-gnu

    checking host system type… i686-pc-linux-gnu

    checking for style of include used by make… GNU

    checking for gcc… gcc

    checking for C compiler default output file name… a.out

    checking whether the C compiler works… yes

    checking whether we are cross compiling… no

    checking for suffix of executables…

    checking for suffix of object files… o

    checking whether we are using the GNU C compiler… yes

    checking whether gcc accepts -g… yes

    checking for gcc option to accept ANSI C… none needed

    checking dependency style of gcc… gcc3

    checking for a sed that does not truncate output… /bin/sed

    checking for egrep… grep -E

    checking for ld used by gcc… /usr/bin/ld

    checking if the linker (/usr/bin/ld) is GNU ld… yes

    checking for /usr/bin/ld option to reload object files… -r

    checking for BSD-compatible nm… /usr/bin/nm -B

    checking whether ln -s works… yes

    checking how to recognise dependent libraries… pass_all

    checking how to run the C preprocessor… gcc -E

    checking for ANSI C header files… yes

    checking for sys/types.h… yes

    checking for sys/stat.h… yes

    checking for stdlib.h… yes

    checking for string.h… yes

    checking for memory.h… yes

    checking for strings.h… yes

    checking for inttypes.h… yes

    checking for stdint.h… yes

    checking for unistd.h… yes

    checking dlfcn.h usability… yes

    checking dlfcn.h presence… yes

    checking for dlfcn.h… yes

    checking for g++… g++

    checking whether we are using the GNU C++ compiler… yes

    checking whether g++ accepts -g… yes

    checking dependency style of g++… gcc3

    checking how to run the C++ preprocessor… g++ -E

    checking for g77… no

    checking for f77… no

    checking for xlf… no

    checking for frt… no

    checking for pgf77… no

    checking for fort77… no

    checking for fl32… no

    checking for af77… no

    checking for f90… no

    checking for xlf90… no

    checking for pgf90… no

    checking for epcf90… no

    checking for f95… no

    checking for fort… no

    checking for xlf95… no

    checking for ifc… no

    checking for efc… no

    checking for pgf95… no

    checking for lf95… no

    checking for gfortran… no

    checking whether we are using the GNU Fortran 77 compiler… no

    checking whether accepts -g… no

    checking the maximum length of command line arguments… 32768

    checking command to parse /usr/bin/nm -B output from gcc object… ok

    checking for objdir… .libs

    checking for ar… ar

    checking for ranlib… ranlib

    checking for strip… strip

    checking if gcc supports -fno-rtti -fno-exceptions… no

    checking for gcc option to produce PIC… -fPIC

    checking if gcc PIC flag -fPIC works… yes

    checking if gcc static flag -static works… yes

    checking if gcc supports -c -o file.o… yes

    checking whether the gcc linker (/usr/bin/ld) supports shared libraries… yes

    checking whether -lc should be explicitly linked in… no

    checking dynamic linker characteristics… GNU/Linux ld.so

    checking how to hardcode library paths into programs… immediate

    checking whether stripping libraries is possible… yes

    checking if libtool supports shared libraries… yes

    checking whether to build shared libraries… yes

    checking whether to build static libraries… no

    configure: creating libtool

    appending configuration tag "CXX" to libtool

    checking for ld used by g++… /usr/bin/ld

    checking if the linker (/usr/bin/ld) is GNU ld… yes

    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes

    checking for g++ option to produce PIC… -fPIC

    checking if g++ PIC flag -fPIC works… yes

    checking if g++ static flag -static works… yes

    checking if g++ supports -c -o file.o… yes

    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes

    checking dynamic linker characteristics… GNU/Linux ld.so

    checking how to hardcode library paths into programs… immediate

    appending configuration tag "F77" to libtool

    checking for gcc… (cached) gcc

    checking whether we are using the GNU C compiler… (cached) yes

    checking whether gcc accepts -g… (cached) yes

    checking for gcc option to accept ANSI C… (cached) none needed

    checking dependency style of gcc… (cached) gcc3

    checking for cpp… /usr/bin/cpp

    checking if /usr/bin/cpp requires -undef… yes

    checking if /usr/bin/cpp requires -traditional… yes

    checking if XINERAMA is defined… no

    checking if RANDR is defined… no

    checking if RENDER is defined… no

    checking if XV is defined… no

    checking if XF86MISC is defined… no

    checking if DPMSExtension is defined… no

    checking for pkg-config… /usr/bin/pkg-config

    checking pkg-config is at least version 0.9.0… yes

    checking for XORG… configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto ) were not met:

    No package 'xorg-server' found

    No package 'xproto' found

    No package 'fontsproto' found

    No package 'xf86dgaproto' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you

    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables XORG_CFLAGS

    and XORG_LIBS to avoid the need to call pkg-config.

    See the pkg-config man page for more details.

    Em seguida no passo 4 ocorreu:

    root@efraim-laptop:/home/efraim/xf86-video-sismedia-0.9.1/xf86-video-sismedia-0.9.1# make

    make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.

    root@efraim-laptop:/home/efraim/xf86-video-sismedia-0.9.1/xf86-video-sismedia-0.9.1#

    Eu sou novato no linux e tenho um notebook CCE linha Win J48A com as seguintes configurações:

    Chipset SIS® M672

    Processador Intel® Celeron® M 530

    Memória RAM 1 GB (atualmente estou usando um pente de 2gb)

    Ja estava desistindo de usar o Ubunto que acabei de baixar por causa da imensa dificuldade para instalar um simples driver (levando em conta que sou novato), fiquei muito feliz quando encontrei esta pagina, quase chorei de alegria no entando outra vez do com a cara da parede!! ajude-me!! /

    • Marcus 12 de setembro de 2011 at 13:37 #

      Olá Efraim, acredito que a falha tenha sido no passo 3 > ./configure –prefix=/usr –disable-static (São dois tracinhos antes de prefix e disable) – E os passos dependem sempre do anterior, enquanto o passo 3 não funcionar, os outros também não funcionarão. :-)
      Faça mais um teste, não desanime! Depois que vc ganhar o domínio do seu Linux não vai querer saber de outra coisa. palavra de quem usa Windows, Linux, e MAC :)
      PS.: Tabém pode optar por uma distro mais amigável para iniciantes, como Kurumin ou Kubuntu :)

Deixe uma resposta