Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 16:11
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Video
eBox 38XX - VIA Unichrome + Mplayer
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
wescht

Joined: 18 Jan 2007
Posts: 15

PostPosted: Sat 24 Mar 2007, 09:04    Post subject:  eBox 38XX - VIA Unichrome + Mplayer  

Hi folks,
I own an eBox 3851 (Graphics: via unichrome), running eBoxPup 0.1 (= Puppy 2.13), and I'm trying to get proper video accelleration under X.org.

The problem is, when I view some divX (or even mpg) video, it plays fine in windowed mode, but when I change to fullscreen, the frame rate is not acceptable (without special drivers).

So I played around with different DRI, DRM and openchrome drivers, but nothing seemed to work (especially since dotpups.de is down, and 3DCC wants to download from there...). But I also found some of the libraries on the PETget package manager (xorg_DRI_Modules-7.0, xorg_OPENGL-7.0)

to say the truth, don't know if I messed up something ... but trying mplayer results in the following output:

mplayer -vo gl [file] -> X11 error: GLXUnsupportedPrivateRequest
and
mplayer -vo xv [file] -> X11 error: BadAlloc
(NOT "BadAlloc: not enough resources" or something alike...)

mplayer -vo gl2 [file] -> AllocateDmaBuffer fail
it works, but seems even slower than -vo x11.

I'm going to setup Puppy from scratch; in the meantime,

- does anyone have experience with the VIA unichrome?
- Which drivers / pups / pets did you install, in which order?
- is the default mplayer good enough, or is mplayer-unichrome better? Why?

thanks for you advice!
Back to top
View user's profile Send private message 
wescht

Joined: 18 Jan 2007
Posts: 15

PostPosted: Sat 24 Mar 2007, 10:41    Post subject:  

did it again, used following steps:

via PETget: xorg_OPENGL-7.0 (is this necessary?)
manually, from different sources:
DRI-Kernelmodules.pup
3D-DRI-via-openchrome.pup

and
cdparanoia-3.a9.8.pet (eboxpup doesn't support cdrom, but mplayer insist on it...)
MPlayer1.0rc1-unichrome.pup

still, same results.

plus, when I run "install-via-openchrome" (by 3d-dri-via-openchrome), it says:
insmod: error inserting '/usr/local/via-openchrome/via.o': -1 Invalid module format

???
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Sat 24 Mar 2007, 16:19    Post subject: Re: eBox 38XX - VIA Unichrome + Mplayer  

It's important to use MU's 3D Control Centre, because Puppy had different kernels in the past, as well as different versions of Xorg.
http://www.murga-linux.com/puppy/viewtopic.php?t=14463

wescht wrote:
is the default mplayer good enough, or is mplayer-unichrome better? Why?

The answer to this question is contained in the MPlayer 1.0rc1 announcement -
http://www.murga-linux.com/puppy/viewtopic.php?t=13216

Once you have 3D accelerated drivers working with your VIA Unichrome graphics card, you will achieve immediate graphics performance improvement.
For playing videos with modern codecs such as DivX, XviD, MPEG4, H.264, & WindowsMedia you should see slightly improved playback performance.

But for MPEG2 videos (such as DVD's and digital TV streams) you will see a MASSIVE playback performance improvement via the "XvMC" output feature, which is supported with Unichrome graphics chips.
Back to top
View user's profile Send private message 
wescht

Joined: 18 Jan 2007
Posts: 15

PostPosted: Mon 26 Mar 2007, 09:42    Post subject:  

Unfortunately, I tried 3DCC, but it wants to download from dotpups.de, which is down at the moment. I tried to get the Files by name (google + puppylinux.org), but I haven't found all of them.

Does anybody have the files required? Or is there a full mirror of dotpups.de?
Back to top
View user's profile Send private message 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Mon 26 Mar 2007, 12:31    Post subject:  

the files are probably on www.puppyfiles.org/dotpupsde/dotpups

there is a resource directory where you can put the files and 3DCC will use them you should have a look around in user/local/ after that I i'm not shure where but I should be obvious when you see it. it's probably it a dir named 3DCC.

hope this helps even though i'm not really sure.

cb88
Back to top
View user's profile Send private message Visit poster's website 
iscraigh

Joined: 03 Sep 2006
Posts: 276

PostPosted: Mon 26 Mar 2007, 12:36    Post subject:  

http://puppyfiles.org/dotpupsde/dotpups/


Mirror
Back to top
View user's profile Send private message 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Mon 26 Mar 2007, 12:42    Post subject:  

Read this all questions will be answered Very Happy :

http://www.murga-linux.com/puppy/viewtopic.php?p=93074
Back to top
View user's profile Send private message Visit poster's website 
wescht

Joined: 18 Jan 2007
Posts: 15

PostPosted: Wed 28 Mar 2007, 17:26    Post subject:  

cb88 wrote:
Read this all questions will be answered Very Happy :

http://www.murga-linux.com/puppy/viewtopic.php?p=93074

thanks, but unfortunately ... NOT.

I installed everything using 3DCC (in the meanwhile, it was changed to download from puppyfiles.org, so it works now).

I have to change xorg.conf, insert "Load "dri"" manually,

now, i've come a bit further:
my Xorg.0.log:
Code:

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.18-inside-sandbox i386
Current Operating System: Linux puppypc 2.6.18.1 #1 Sat Nov 11 07:52:06 PUP 2006 i686
Build Date: 08 August 2006
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 28 21:09:44 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) FontPath set to "/usr/X11R7/lib/X11/fonts/misc/,/usr/X11R7/lib/X11/fonts/Type1/,/usr/X11R7/lib/X11/fonts/TTF/"
(**) RgbPath set to "/usr/X11R7/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R7/lib/xorg/modules"
(**) Option "DontZap"
(**) Option "RandR" "on"
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.2
   X.Org Video Driver: 0.8
   X.Org XInput driver : 0.5
   X.Org Server Extension : 0.2
   X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R7/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R7/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Video Driver, version 0.8
(--) using VT number 3

(II) PCI: PCI scan (all values are in hex)

[...]

(II) LoadModule: "dbe"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R7/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R7/lib/xorg/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.2
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) LoadModule: "freetype"
(II) Loading /usr/X11R7/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
   compiled for 7.0.0, module version = 2.1.0
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R7/lib/xorg/modules/extensions/libxtrap.so
(II) Module xtrap: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DEC-XTRAP
(II) LoadModule: "via"
(II) Loading /usr/X11R7/lib/xorg/modules/drivers/via_drv.so
(II) Module via: vendor="X.Org Foundation"
   compiled for 4.3.99.902, module version = 0.1.33
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 0.8
(II) LoadModule: "mouse"
(II) Loading /usr/X11R7/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.4
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "kbd"
(II) Loading /usr/X11R7/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.5
(II) VIA: driver for VIA chipsets: CLE266, KM400/KN400, K8M800,
   PM800/PM880/CN400
(II) Primary Device is: PCI 01:00:0
(--) Chipset CLE266 found
(!!) VIA Technologies does not support or endorse this driver in any way.
(!!) For support please contact the driver maintainer or your X vendor.
(II) resource ranges after xf86ClaimFixedResources() call:

[...]

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R7/lib/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 0.1.0
   ABI class: X.Org Video Driver, version 0.8
(**) VIA(0): Depth 24, (--) framebuffer bpp 32
(==) VIA(0): RGB weight 888
(==) VIA(0): Default visual is TrueColor
(==) VIA(0): Using HW cursor
(--) VIA(0): Chipset: "CLE266"
(--) VIA(0): mapping MMIO @ 0xde000000 with size 0x9000
(--) VIA(0): mapping BitBlt MMIO @ 0xde200000 with size 0x10000
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) VIA(0): Chipset Rev.: 17
(WW) VIA(0): Manufacturer plainly copied main PCI ids to Subsystem/Card ids.
(--) VIA(0): Detected VIA EPIA M/MII/....
(==) VIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) VIA(0): videoram =  4096k
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R7/lib/xorg/modules/libi2c.so
(II) Module i2c: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.2.0
   ABI class: X.Org Video Driver, version 0.8
(II) VIA(0): I2C bus "I2C bus 1" initialized.
(II) VIA(0): I2C bus "I2C bus 2" initialized.
(II) VIA(0): I2C bus "I2C bus 3" initialized.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R7/lib/xorg/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org Video Driver, version 0.8
(II) VIA(0): I2C device "I2C bus 1:ddc2" registered at address 0xA0.
(II) VIA(0): I2C device "I2C bus 1:ddc2" removed.
(II) VIA(0): Manufacturer: GSM  Model: 4ac8  Serial#: 37752
(II) VIA(0): Year: 2006  Week: 1
(II) VIA(0): EDID Version: 1.3
(II) VIA(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
(II) VIA(0): Sync:  Separate  Composite  SyncOnGreen
(II) VIA(0): Max H-Image Size [cm]: horiz.: 34  vert.: 27
(II) VIA(0): Gamma: 2.20
(II) VIA(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) VIA(0): First detailed timing is preferred mode
(II) VIA(0): redX: 0.641 redY: 0.342   greenX: 0.292 greenY: 0.611
(II) VIA(0): blueX: 0.147 blueY: 0.068   whiteX: 0.313 whiteY: 0.329
(II) VIA(0): Supported VESA Video Modes:
(II) VIA(0): 720x400@70Hz
(II) VIA(0): 640x480@60Hz
(II) VIA(0): 640x480@75Hz
(II) VIA(0): 800x600@60Hz
(II) VIA(0): 800x600@75Hz
(II) VIA(0): 832x624@75Hz
(II) VIA(0): 1024x768@60Hz
(II) VIA(0): 1024x768@75Hz
(II) VIA(0): 1280x1024@75Hz
(II) VIA(0): 1152x870@75Hz
(II) VIA(0): Manufacturer's mask: 0
(II) VIA(0): Supported Future Video Modes:
(II) VIA(0): #0: hsize: 640  vsize 480  refresh: 75  vid: 20273
(II) VIA(0): #1: hsize: 800  vsize 600  refresh: 75  vid: 20293
(II) VIA(0): #2: hsize: 1024  vsize 768  refresh: 75  vid: 20321
(II) VIA(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) VIA(0): Supported additional Video Mode:
(II) VIA(0): clock: 108.0 MHz   Image Size:  338 x 270 mm
(II) VIA(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
(II) VIA(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
(II) VIA(0): Ranges: V min: 56  V max: 75 Hz, H min: 30  H max: 83 kHz, PixClock max 140 MHz
(II) VIA(0): Monitor name: L1950B
(II) VIA(0): Monitor name:
(WW) VIA(0): This device is supposed to have a TV encoder but we are unable to detect it (support missing?).
(II) VIA(0): Monitor0: Using hsync range of 30.00-83.00 kHz
(II) VIA(0): Monitor0: Using vrefresh range of 56.00-71.00 Hz
(II) VIA(0): Clock range:  20.00 to 230.00 MHz
(II) VIA(0): Not using default mode "640x350" (vrefresh out of range)

[...]

(II) VIA(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
(--) VIA(0): Display dimensions: (340, 270) mm
(--) VIA(0): DPI set to (76, 72)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R7/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R7/lib/xorg/modules/libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 1.2.0
   ABI class: X.Org Video Driver, version 0.8
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R7/lib/xorg/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
   compiled for 7.0.0, module version = 0.1.0
   ABI class: X.Org Video Driver, version 0.8
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
   [0] 0   0   0xde000000 - 0xdeffffff (0x1000000) MS[B]
   [1] 0   0   0xd8000000 - 0xdbffffff (0x4000000) MS[B]
   [2] -1   0   0xffe00000 - 0xffffffff (0x200000) MX[B](B)
   [3] -1   0   0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
   [4] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [5] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [6] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [7] -1   0   0xdffffe00 - 0xdffffeff (0x100) MX[B]
   [8] -1   0   0xdfffff00 - 0xdfffffff (0x100) MX[B]
   [9] -1   0   0xe0000000 - 0xdfffffff (0x0) MX[B]O
   [10] -1   0   0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
   [11] -1   0   0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
   [12] -1   0   0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
   [13] 0   0   0x000a0000 - 0x000affff (0x10000) MS[B]
   [14] 0   0   0x000b0000 - 0x000b7fff (0x8000) MS[B]
   [15] 0   0   0x000b8000 - 0x000bffff (0x8000) MS[B]
   [16] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [17] -1   0   0x00000000 - 0x000000ff (0x100) IX[B]
   [18] -1   0   0x0000e400 - 0x0000e4ff (0x100) IX[B]
   [19] -1   0   0x0000e800 - 0x0000e8ff (0x100) IX[B]
   [20] -1   0   0x0000fc00 - 0x0000fc0f (0x10) IX[B]
   [21] -1   0   0x0000ec00 - 0x0000ec1f (0x20) IX[B]
   [22] 0   0   0x000003b0 - 0x000003bb (0xc) IS[B]
   [23] 0   0   0x000003c0 - 0x000003df (0x20) IS[B]
(--) VIA(0): mapping framebuffer @ 0xd8000000 with size 0x400000
(==) VIA(0): Write-combining range (0xd8000000,0x400000)
(--) VIA(0): Frame buffer start: 0xb74ef000, free start: 0x300000 end: 0x400000
(--) VIA(0): mapping MMIO @ 0xde000000 with size 0x9000
(--) VIA(0): mapping BitBlt MMIO @ 0xde200000 with size 0x10000
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) VIA(0): 3D Engine has been initialized.
[b]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[/b]
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
(II) VIA(0): [drm] DRM interface version 1.2
(II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
(II) VIA(0): [drm] added 8192 byte SAREA at 0xcc8dd000
(II) VIA(0): [drm] mapped SAREA 0xcc8dd000 to 0xb74ed000
(II) VIA(0): [drm] framebuffer handle = 0xd8000000
(II) VIA(0): [drm] added 1 reserved context for kernel
(II) VIA(0): [dri] visual configs initialized.
(II) VIA(0): [drm] register handle = 0xde000000
(II) VIA(0): [drm] mmio Registers = 0xde000000
(II) VIA(0): [dri] mmio mapped.
(II) VIA(0): VIAInternalScreenInit
(II) VIA(0): Using XFree86 Acceleration Architecture (XAA)
   Screen to screen bit blits
   Solid filled rectangles
   8x8 mono pattern filled rectangles
   8x8 color pattern filled rectangles
   Solid Lines
   Dashed Lines
   Image Writes
   Offscreen Pixmaps
   Setting up tile and stipple cache:
      8 128x128 slots
      32 8x8 color pattern slots
(==) VIA(0): Backing store disabled
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x3123
(II) VIA(0): [drm] Didn't find any AGP v3 compatible device. Trying AGP 4X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xe0000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xe0000000
(II) VIA(0): [drm] agpSize = 0x01e00000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] FBFreeStart= 0x003c0000 FBFreeEnd= 0x003bf000 FBSize= 0xfffff000
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
[b](WW) VIA(0): [drm] Failure adding irq handler. Falling back to irq-free operation.[/b]
(II) VIA(0): direct rendering enabled
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed   libc YUV420 copy... 5809634. Throughput: 81.3 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 5731445. Throughput: 82.4 MiB/s.
(--) VIA(0): Timed    SSE YUV420 copy... 3258891. Throughput: 144.9 MiB/s.
(--) VIA(0): Timed    MMX YUV420 copy... 5427441. Throughput: 87.0 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed   MMX2 YUV420 copy... 3293832. Throughput: 143.4 MiB/s.
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMC.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(**) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Device: "/dev/mouse"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc102"
(**) Keyboard0: XkbModel: "pc102"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: ps2EnableDataReporting: succeeded
DRM memory allocation failed
(EE) VIA(0): [XvMC] ViaXvMCCreateSurface: Unable to allocate frambuffer memory!
DRM memory allocation failed
(EE) VIA(0): [XvMC] ViaXvMCCreateSubpicture: Unable to allocate framebuffer memory!
DRM memory allocation failed
DRM memory allocation failed
(EE) VIA(0): [XvMC] ViaXvMCCreateSurface: Unable to allocate frambuffer memory!
DRM memory allocation failed
(EE) VIA(0): [XvMC] ViaXvMCCreateSubpicture: Unable to allocate framebuffer memory!
DRM memory allocation failed

(arrr, [ code] doesn't allow [ b]...)

(the last few lines appeard while trying to start mplayer -vo xvmc -vc ffmpeg12mc [file])

Actually, nothing changed. I cannot use -vo xv or -vo gl, -vo gl2 works but is even slower than normal
any suggestions?
Back to top
View user's profile Send private message 
wescht

Joined: 18 Jan 2007
Posts: 15

PostPosted: Thu 26 Apr 2007, 02:41    Post subject:  

Still, I have not found a solution.

Can someone post a Step-by-Step instruction of how to enable XvMC using an CLE266 chipset? Or maybe a working pup_save.2fs (Puppy Version does not matter - I could also downgrade to 2.00 if necessary).

What does this "Unable to allocate frambuffer memory!" mean?

Many thanks,
wescht
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Thu 26 Apr 2007, 08:04    Post subject:  

wescht,
You are close. 3D acceleration is working, but the XvMC function is failing to launch.
A possible answer is reported by Thomas Hellström here -
http://wiki.openchrome.org/pipermail/openchrome-users/2005-December/000225.html
"Increase the memory reserved for framebuffer to 64MB in the BIOS"
Thomas wrote the Unichrome-Openchrome Xorg driver.
Back to top
View user's profile Send private message 
wescht

Joined: 18 Jan 2007
Posts: 15

PostPosted: Mon 30 Apr 2007, 07:03    Post subject:  

tempestuous wrote:
wescht,
You are close. 3D acceleration is working, but the XvMC function is failing to launch.
A possible answer is reported by Thomas Hellström here -
http://wiki.openchrome.org/pipermail/openchrome-users/2005-December/000225.html
"Increase the memory reserved for framebuffer to 64MB in the BIOS"
Thomas wrote the Unichrome-Openchrome Xorg driver.


Dear tempestuous,

I fear I was not nearly as close as you thought. I increased framebuffer to 64MB -> did not work.

Today, I have tried the shiny new 2.15CE

- Is 2.15CE generally recommended? Or are some drivers still kind of unstable?

Using 3DCC, it installed all drivers correctly, BUT: it did not write the lines "load "drm" and load "dri"" into my xorg.conf. So I did it manually.

Then, the 3D demo of 3DCC is still very slow. 5-6fps. My machine has 800MHz and 256MB RAM - I think it should be a bit better...

some error Messages:
(my 800600test.avi is a 800x600 xvid file; mplayer uses FFmpeg MPEG-4 to decode it)

1. mplayer 800600test.avi (should use XV output; same thing happens with mplayer -vo xv 800600test.avi)
Code:

---snip---
X11 error: BadAlloc-V:  0.128 ct:  0.013   6/  6 ??% ??% ??,?% 4 0 97%         


MPlayer interrupted by signal 6 in module: flip_page
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Xlib: unexpected async reply (sequence 0x62)!

(video window is opened in correct size, then closed without anything displayed)


mplayer -vo xvmc -vc ffmpeg12mc 800600test.avi
Code:

MPlayer 1.0rc1-3.4.4 (C) 2000-2006 MPlayer Team
CPU: VIA Nehemiah (Family: 6, Model: 9, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 800600test.avi.

AVI file format detected.
VIDEO:  [XVID]  800x600  24bpp  29.970 fps  1815.4 kbps (221.6 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2540/release)
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)



mplayer -vo gl 800600test.avi
Code:

__driCreateNewScreen_20050727 - succeeded
AllocateDmaBuffer fail
X11 error: GLXUnsupportedPrivateRequest


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Xlib: unexpected async reply (sequence 0x5e)!
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5218
Location: Australia

PostPosted: Mon 30 Apr 2007, 21:27    Post subject:  

If you no longer get an error message like this -
(EE) VIA(0): [XvMC] ViaXvMCCreateSubpicture: Unable to allocate framebuffer memory!

then you have made progress by changing the bios setting.

1. XvMC does not support MPEG4 on CLE266 chips. See -
http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=HardwareCaveats
Currently XvMC only works with MPEG2. In the future, MPEG4 will be supported on CN400/PM800/PN800/PM880.
If you don't have an MPEG2 file to test with, just play a .vob from a DVD.

2. The launch command has changed slightly -

mplayer -vo xvmc,xv -vc ffmpeg12mc, MYMPEG2.mpg

I think this just lets the video fallback to xv if xvmc fails. See - http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=XvMC#Mplayer

You could also try gxine. The accelerated output option for xine is "xxmc".

wescht wrote:
the 3D demo of 3DCC is still very slow. 5-6fps.

MU's 3D demo is quite complex. 5-6fps from a low-powered graphics processor sounds correct.
You could install glxgears-pup1x.pup from -
http://www.murga-linux.com/puppy/viewtopic.php?p=80828#80828

With no acceleration, glxgears should give about 90 fps on a Unichrome.
With 3D acceleration, glxgears should give from 400 - 500 fps.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Video
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1614s ][ Queries: 12 (0.0040s) ][ GZIP on ]