[Openchrome-users] P4M800CE and XvMC

Chad masterclc
Mon Apr 10 02:18:55 PDT 2006


On 4/10/06, Aaron Moses <zebardy at gmail.com> wrote:
> Hi,
>
>
> Im trying to get the openchrome driver working on my laptop with a unichrome
> pro IGP (P4M800CE). I have compiled and installed the openchrome driver from
> svn and the freedesktop drm module from cvs (with the modification to
> shared-core/drm_pciid.txt to add the line [0x1106 0x3344 0 "VIA
> P4VM800PRO"]). After some time tinkering with all of this Ive got it
> running. Well almost! The xorg server is running with the driver, but
> overlay is not working ( i.e. xxmc in xine etc). The only working one is
> opengl. Any overlays just appear as coloured sections on the screen and the
> xideo player continues as if everything is ok. Im really stumped now so Im
> looking for help getting the rest of this working.
>
> this is from my Xorg.0.log:-
>
> (II) Reloading /usr/lib/xorg/modules/libint10.so
> (II) VIA(0): initializing int10
> (WW) VIA(0): Bad V_BIOS checksum
> (II) VIA(0): Primary V_BIOS segment is: 0xc000
> (II) VIA(0): VESA BIOS detected
> (II) VIA(0): VESA VBE Version 3.0
> (II) VIA(0): VESA VBE Total Mem: 32768 kB
> (II) VIA(0): VESA VBE OEM: VIA P4N800 PRO
>
> ...
>
> (II) VIA(0): 3D Engine has been initialized.
> (II) VIA(0): VIAAdjustFrame
> (II) VIA(0): - Blanked
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device or address)
> drmOpenDevice: open result is -1, (No such device or address)
> drmOpenDevice: Open failed
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device or address)
> drmOpenDevice: open result is -1, (No such device or address)
> drmOpenDevice: Open failed
> drmOpenByBusid: Searching for BusID PCI:1:0:0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 7, (OK)
> drmOpenByBusid: drmOpenMinor returns 7
> drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> (II) VIA(0): [drm] loaded kernel module for "via" driver
>
> ...
>
> (**) Option "dpms"
> (**) VIA(0): DPMS enabled
> (II) VIA(0): - DPMS set up
> (II) VIA(0): - Color maps etc. set up
> (II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x314
> (II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode.
> (II) VIA(0): [drm] Trying to enable AGP fast writes.
> (II) VIA(0): [drm] drmAgpEnabled succeeded
> (II) VIA(0): [drm] agpAddr = 0xc0000000
> (II) VIA(0): [drm] agpBase = (nil)
>
> this is from dmesg:-
>
> [ 4294770.332000 ] [drm] Initialized drm 1.0.1 20051102
> [4294770.336000] PCI: Unable to reserve mem region #1:4000000 at d0000000 for
> device 0000:01:00.0
> [4294770.337000] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low)
> -> IRQ 225
> [4294770.337000] PCI: Via IRQ fixup for 0000:01:00.0, from 10 to 1
> [4294770.338000] [drm] Initialized via 2.9.1 20060111 on minor 0:
> [4294770.338000] [drm] Used old pci detect: framebuffer loaded
> [4294770.410000 ] agpgart: Found an AGP 3.5 compliant device at
> 0000:00:00.0.
> [4294770.410000] agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8
> mode.
> [4294770.410000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
> [4294770.410000] agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
>
>
> Thanks in advance for any help you can give
>
>
> Aaron
>
> _______________________________________________

Evenin Aaron!

I get a slightly different message than you get both in xorg and
dmesg.  Before whipping it all out and comparing parts, did you add
the change to drm_pciids.txt at the VIA section?  Also, I made sure
that my BIOS was set for 32MB for the video memory size, this seemed
to be in a few HOW-TO's for Via hardware, so I did it.  After I
finally got DRM working with Via, I had to recompile Xine-lib and
mythtv to get them working with my new setup (even though I was using
the XvMC Wrapper lib).

HTH

Chad



More information about the Openchrome-users mailing list