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

Re: Intelfb (Mobile GM965/GL960 Integrated Graphics Controller)



Vitor Eduardo Souza lança escreveu:
>   Peço perdão pela mensagem anterior, eu a enviei por acidente e parece
> que a correção que mandei não chegou à lista.
>   Realmente eu pensava que a questão do vídeo seria resolvida apenas com
> um driver do kernel como o intelfb ou vesafb. Pelo visto estava
> enganado...
>   Bem eu gostaria de saber mais sobre os drivers do X, para que ele serve
> já que existe os drivers do kernel, e como configura-los corretamente.
Normalmente o X requer driver para o controlador de vídeo para fornecer o
ambiente gráfico. Apesar de ser possível acionar o X com o driver VESA do
kernel, o recomendado é usar o próprio driver do X porque é otimizado e
aproveita melhor os recursos do controlador de vídeo.

>   Quanto ao teor do log (/var/log/Xorg.0.log) que tentei mandar em anexo
> na correção da última mensagem; o que me parece a causa da falha no envio
> da mesma; eu o considero um pouco extenso mas como não tenho conhecimento
> suficiente para selecionar as partes importantes, deixei para o final
> desse e-mail. Existe um arquivo "Xorg.20.log" no "/var/log" do meu Debian
> alem de seus respectivos ".old", caso necessário posso manda-los em uma
> outra mensagem.
>   Sinto muito pelo tamanho descomunal deste e-mail...
>
Não tem problema, até é melhor assim. Eu removi as partes que não importam
no momento.

Esta parte mostra o carregamento do DRI:
> (II) LoadModule: "dri"
> (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
> (II) Module dri: vendor="X.Org Foundation"
>     compiled for 1.4.2, module version = 1.0.0
>     ABI class: X.Org Server Extension, version 0.3
> (II) Loading extension XFree86-DRI
> (II) Matched intel from file name intel.ids in autoconfig
> (==) Matched intel for the autoconfigured driver
> (==) Assigned the driver to the xf86ConfigLayout
> (II) LoadModule: "intel"
> (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so

O chipset 965GM foi detectado:
> (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
>     i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
>     E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ,
>     965GM, 965GME/GLE, G33, Q35, Q33,
>     Mobile Intel® GM45 Express Chipset,
>     Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
> (II) Primary Device is: PCI 00:02:0
> (--) Assigning device section with no busID to primary device
> (WW) intel: No matching Device section for instance (BusID PCI:0:2:1)
> found
> (--) Chipset 965GM found

> (==) intel(0): Depth 24, (--) framebuffer bpp 32
> (==) intel(0): RGB weight 888
> (==) intel(0): Default visual is TrueColor
> (II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
> (--) intel(0): Chipset: "965GM"
> (--) intel(0): Linear framebuffer at 0xC0000000
> (--) intel(0): IO registers at addr 0xD3000000
> (II) intel(0): 2 display pipes available.
> (==) intel(0): Using EXA for acceleration
> (==) intel(0): Disabling EXA render acceleration

> (II) intel(0): VESA BIOS detected
> (II) intel(0): VESA VBE Version 3.0
> (II) intel(0): VESA VBE Total Mem: 7616 kB
> (II) intel(0): VESA VBE OEM: Intel(r)GM965/PM965/GL960 Graphics Chip
> Accelerated VGA BIOS
> (II) intel(0): VESA VBE OEM Software Rev: 1.0
> (II) intel(0): VESA VBE OEM Vendor: Intel Corporation
> (II) intel(0): VESA VBE OEM Product: Intel(r)GM965/PM965/GL960 Graphics
> Controller
> (II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0

As partes seguintes mostram que o DRM foi inicializado:
> (II) intel(0): I830CheckAvailableMemory: 2985980 kB available
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 9, (OK)
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 9, (OK)
> drmOpenByBusid: Searching for BusID pci:0000:00:02.0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 9, (OK)
> drmOpenByBusid: drmOpenMinor returns 9
> drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
> (II) [drm] DRM interface version 1.3
> (II) [drm] DRM open master succeeded.
> (II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
> (II) intel(0): [drm] framebuffer mapped by ddx driver
> (II) intel(0): [drm] added 1 reserved context for kernel
> (II) intel(0): X context handle = 0x1
> (II) intel(0): [drm] installed DRM signal handler
> (**) intel(0): Framebuffer compression disabled
> (**) intel(0): Tiling enabled
> (==) intel(0): VideoRam: 262144 KB
> (II) intel(0): Attempting memory allocation with tiled buffers.
> (II) intel(0): Tiled allocation successful.
> (II) intel(0): [drm] Registers = 0xd3000000
> (II) intel(0): [drm] ring buffer = 0xc0000000
> (II) intel(0): [drm] mapped front buffer at 0xc0100000, handle =
> 0xc0100000
> (II) intel(0): [drm] mapped back buffer at 0xc1a00000, handle = 0xc1a00000
> (II) intel(0): [drm] mapped depth buffer at 0xc2040000, handle =
> 0xc2040000
> (II) intel(0): [drm] mapped classic textures at 0xc2680000, handle =
> 0xc2680000
> (II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
> (II) intel(0): [dri] visual configs initialized
> (II) intel(0): Page Flipping disabled
> (WW) intel(0): Failed to set up write-combining range
> (0xc0000000,0x10000000)
> (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
> 0x0000
> (II) EXA(0): Offscreen pixmap area of 19660800 bytes
> (II) EXA(0): Driver registered support for the following operations:
> (II)         Solid
> (II)         Copy
> (==) intel(0): Backing store disabled
> (==) intel(0): Silken mouse enabled
> (II) intel(0): Initializing HW Cursor
> (II) intel(0): [DRI] installation complete
> (II) intel(0): xf86BindGARTMemory: bind key 0 at 0x0077f000 (pgoffset
> 1919)
> (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01a00000 (pgoffset
> 6656)
> (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x02040000 (pgoffset
> 8256)
> (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x02680000 (pgoffset
> 9856)
> (II) intel(0): Fixed memory allocation layout:
> (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
> (II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB)
> (II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB)
> (II) intel(0): 0x00032000-0x00041fff: exa G965 state buffer (64 kB)
> (II) intel(0): 0x00042000-0x00042fff: overlay registers (4 kB)
> (II) intel(0): 0x00043000-0x00043fff: power context (4 kB)
> (II) intel(0): 0x00100000-0x0073ffff: front buffer (6400 kB) X tiled
> (II) intel(0): 0x00740000-0x019fffff: exa offscreen (19200 kB)
> (II) intel(0): 0x0077f000:            end of stolen memory
> (II) intel(0): 0x01a00000-0x0203ffff: back buffer (6400 kB) X tiled
> (II) intel(0): 0x02040000-0x0267ffff: depth buffer (6400 kB) Y tiled
> (II) intel(0): 0x02680000-0x0467ffff: classic textures (32768 kB)
> (II) intel(0): 0x10000000:            end of aperture
> (II) intel(0): Selecting standard 18 bit TMDS pixel format.
> (II) intel(0): Output configuration:
> (II) intel(0):   Pipe A is off
> (II) intel(0):   Display plane A is now disabled and connected to pipe A.
> (II) intel(0):   Pipe B is on
> (II) intel(0):   Display plane B is now enabled and connected to pipe B..
> (II) intel(0):   Output VGA is connected to pipe none
> (II) intel(0):   Output LVDS is connected to pipe B
> (II) intel(0):   Output TV is connected to pipe none
> (II) intel(0): [drm] dma control initialized, using IRQ 16
> (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled
> message.
> (II) intel(0): Selecting standard 18 bit TMDS pixel format.
> (II) intel(0): DPMS enabled
> (II) intel(0): Set up textured video
> (II) intel(0): Set up overlay video
> (II) intel(0): direct rendering: Enabled

Entretanto o GLX foi desativado devido a um erro:
> (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed
> (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or
> directory)
> (EE) AIGLX: reverting to software rendering
> (II) Loading sub module "GLcore"
> (II) LoadModule: "GLcore"
> (II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
> (II) Module GLcore: vendor="X.Org Foundation"
>     compiled for 1.4.2, module version = 1.0.0
>     ABI class: X.Org Server Extension, version 0.3
> (II) GLX: Initialized MESA-PROXY GL provider for screen 0
> (II) intel(0): Setting screen physical size to 261 x 163

Resumindo, o driver "intel" está sendo carregado e detecta perfeitamente a
sua controladora de vídeo. Entretanto não ativa o GLX, ao que me parece
por falta de um arquivo.

Eu tive um problema semelhante, se não me falha a memória era porque a
biblioteca mesa não fora instalada corretamente. Verifique se no seu
sistema está instalado o pacote "libgl1-mesa-glx". Se não estiver,
instale-o e reinicialize o X.

Para testar o GLX, digite o seguinte comando no shell:
$ glxgears -info
e veja se o OpenGl da Intel está funcionando.

-- 
Flávio M. Matsumoto
UFPR - ET - Departamento de Química
Caixa Postal 19050, 81531-990, Curitiba, PR.
Linux user #66569 (http://counter.li.org)


Reply to: