Autor Tópico: Via Unichrome Pro IGP  (Lida 2448 vezes)

Offline pedrorafaelvidal

  • Usuário Ubuntu
  • *
  • Mensagens: 20
    • Ver perfil
    • Portfolio Pessoal
Via Unichrome Pro IGP
« Online: 02 de Maio de 2007, 10:40 »
Olá pessoal, estou usando o Ubuntu 7.04, e estou com problemas na resolução do meu vídeo...
Antes eu usava o 6.10, e funcionava a 1280x1024 normalmente, mas nessa nova versão do linux não estou conseguindo atingir os 1280x1024, abaixo segue as especificações de placa de video e xorg.conf:
ao dar um lspci:
Código: [Selecionar]
01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)
no meu xorg.conf, está assim:

Código: [Selecionar]
...
Section "Device"
Identifier "Placa de Vídeo Genérica"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Monitor Genérico"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Placa de Vídeo Genérica"
Monitor "Monitor Genérico"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
...
tentei mudar o driver do video para via, mas não funcionou, e em "Sistema>Preferências>Resolução de Tela" a opção dos 1280x1024 não aparece, apesar de estar presente no xorg.conf.

O que devo fazer para que o video funcione a 1280x1024??
Grato pela atenção!
Pedro Vidal

--------------------------------------------
Abraço a todos []'s
Pedro Vidal
--------------------------------------------

Offline chlferreira

  • Usuário Ubuntu
  • *
  • Mensagens: 69
    • Ver perfil
    • Carnivoro Sem Dentes
Re: Via Unichrome Pro IGP
« Resposta #1 Online: 02 de Maio de 2007, 11:38 »
Pedro,
tenho esta mesma placa, para poder fazer funcionar ela com o driver da VIA usei as dicas dos seguintes links https://help.ubuntu.com/community/OpenChrome e http://ubuntuforums.org/showthread.php?t=419094. Pois só estava conseguindo usar o driver da VESA(como vc esta usando).
Se seguir todos os passos vai dar certo.

[]s

Carlos Ferreira

Offline pedrorafaelvidal

  • Usuário Ubuntu
  • *
  • Mensagens: 20
    • Ver perfil
    • Portfolio Pessoal
Re: Via Unichrome Pro IGP
« Resposta #2 Online: 02 de Maio de 2007, 13:44 »
Olá amigo, se puder postar o seu xorg.conf agradeço, apenas para eu conferir...
seguindo o 1º link dos que vc me passou, fiz o tutorial, o driver da via já está funcionando, porém não pega a resolução de 1280x1024...
estou tentando refazer para que o driver funcione nessa resolução!

grato!
Pedro Vidal
--------------------------------------------
Abraço a todos []'s
Pedro Vidal
--------------------------------------------

Offline chlferreira

  • Usuário Ubuntu
  • *
  • Mensagens: 69
    • Ver perfil
    • Carnivoro Sem Dentes
Re: Via Unichrome Pro IGP
« Resposta #3 Online: 02 de Maio de 2007, 21:04 »
Pedro,
segue meu xorg.conf, se voce reparar o drive vesa esta comentado, pq isto? Em alguns tipos de filmes avi fico com problemas de imagem(imagem ruim e P&B), ai eu comento drive via e descomento o vesa, reinicio o X e o filme roda redondo, ainda não parei para pensar sobre este problema(to sem tempo).
Se vc reparar todas as minhas resoluções são 1280x800, mas vc edita o xorg.conf e substitui tudo pela configuração que vc deseja(1280x1024 não e isto?).
Cara se não der certo vc volta para o xorg.conf original, se vc não souber como antes de mudar o seu xorg.conf original salva ele com outro nome.
Se não ajudar grita  ;D.

[]s

Carlos Ferreira

# /etc/X11/xorg.conf (xorg 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(5) 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.
#
# 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 "Files"
   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"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "i2c"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   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"   "us"
   Option      "XkbOptions"   "lv3:ralt_switch"
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"
   Driver      "wacom"
   Identifier   "stylus"
   Option      "Device"   "/dev/wacom"   # Change to
                     # /dev/input/event
                     # for USB
   Option      "Type"      "stylus"
   Option      "ForceDevice"   "ISDV4"      # Tablet PC ONLY
EndSection

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

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

Section "Device"
   Identifier   "Placa de Vídeo Genérica"
        Driver          "via"
#     Driver      "vesa"
   BusID      "PCI:1:0:0"
EndSection

Section "Monitor"
   Identifier   "Monitor Genérico"
   Option      "DPMS"
   HorizSync   28-64
   VertRefresh   43-60
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Placa de Vídeo Genérica"
   Monitor      "Monitor Genérico"
   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

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice     "stylus"   "SendCoreEvents"
   InputDevice     "cursor"   "SendCoreEvents"
   InputDevice     "eraser"   "SendCoreEvents"
   InputDevice   "Synaptics Touchpad"
EndSection

Section "DRI"
   Mode   0666
EndSection

Offline pedrorafaelvidal

  • Usuário Ubuntu
  • *
  • Mensagens: 20
    • Ver perfil
    • Portfolio Pessoal
Re: Via Unichrome Pro IGP
« Resposta #4 Online: 07 de Maio de 2007, 11:18 »
Olá amigos, seguindo o tutorial, parei na seguinte parte:

Código: [Selecionar]
/home/shad/stuff/drm/linux-core/drm_compat.c:190: error: static declaration of ‘vm_insert_pfn’ follows non-static declaration
include/linux/mm.h:1126: error: previous declaration of ‘vm_insert_pfn’ was here
make[2]: *** [/home/shad/stuff/drm/linux-core/drm_compat.o] Error 1
make[1]: *** [_module_/home/shad/stuff/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [modules] Error 2

deu o erro que o tutorial falava, já com o link apontado pra solução do problema...
segui para esta página http://ubuntuforums.org/showthread.php?t=419094 e pelo que entendi, a resposta para resolver este erro está em editar este aquivo:

Find drm_compat.c in tmp/openchrome/drm/linux-core

Code:

gedit drm_compat.c


o problema é que este arquivo não está neste diretório, pois o diretório sequer existe...

e agora pessoal, como faço para prosseguir com isso??

Grato a todos, obrigado mais uma vez
Pedro Vidal
--------------------------------------------
Abraço a todos []'s
Pedro Vidal
--------------------------------------------

joaomelo

  • Visitante
Re: Via Unichrome Pro IGP
« Resposta #5 Online: 09 de Maio de 2007, 11:07 »
Pedro,

Refaça o tutorial como administrador, digitando "sudo su".
Eu segui as orientações e deu certo. Inclusive habilitei o '3D", mas não consegui habilitar os efeitos do "Beryl".

Boa sorte.