[Openchrome-users] P4M800CE and XvMC

Aaron Moses zebardy
Mon Apr 10 02:57:59 PDT 2006


Hi Chad,

yes I added the change to the drm_pciiss.txt in the viadrv section, and ive
tried playing around with the memory size in the bios (didn't make any
diffrence). I've rerolled the ubuntu xine-lib package so that it is now
configured:

./configure --prefix=/usr --mandir=\$${prefix}/share/man \
                    $(DEB_BUILD_GNU_OPTION) CFLAGS="$(CFLAGS)" \
                    --enable-xxmc \
                    --with-xv-path=/usr/lib

(yes /usr/lib is where libviaXvMC.so.1.0.0 and libviaXvMCPro.so.1.0.0 are
because I passed openchrome --prefix=/usr when i configured it). And I still
have the problem!

The thing is opengl acceleration now works (well ppracer gives garbled
output, but glxgears works and xine is perfectly happy when run with -V
opengl, so somthing is working.

~$ glxinfo
name of display: :0.0
__driCreateNewScreen_20050727 - succeeded
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2

...
OpenGL vendor string: VIA Technology
OpenGL renderer string: Mesa DRI UniChrome 20050526
OpenGL version string: 1.2 Mesa 6.4.1

...


Aaron


On 4/10/06, Chad <masterclc at gmail.com> wrote:
>
> 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 d0000000for
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20060410/21d8020a/attachment.html



More information about the Openchrome-users mailing list