Re: terrible mplayer performance

2010-06-15 Thread Chip Camden
On Jun 14 2010 21:06, Neil Short wrote:
 --- On Mon, 6/14/10, Polytropon free...@edvax.de wrote:
 
  
  
  Check the output of pciconf -lv to see what
  identification of
  your graphics hardware is output. 
 
 result:
 ...
 vgap...@pci0:0:2:0: class=0x03 card=0x140a103c chip=0x00468086 
 rev=0x02 hdr=0x00
 vendor = 'Intel Corporation'
 class  = display
 subclass   = VGA
 ...
 

You have exactly the same chipset I do.  I have not seen any mention of
work being done on the intel driver for this chipset, but I would be glad
to lend a hand if someone could direct me on how to begin.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


terrible mplayer performance

2010-06-14 Thread Neil Short
Ok. I'm stuck. Mplayer's performance is worse on this laptop than it is on my 
Toshiba running with a half-speed processor. I have attempted all the 
suggestions I can find re: getting the performance.
The video is slow - so it lags the audio by quite a bit. I keep getting Your 
processor is too slow... stuff.

What to do?

I built mplayer from ports (not package).
mplayer-1.0.r20100117_1

My computer is an HP Pavilion dv4

xorg.conf is set up to run the vesa driver. That's how X -configure set it up. 
I have no idea what graphics device is actually on this machine.

dmesg shows:
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
,PBE
  
Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
  AMD Features=0x28000800SYSCALL,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3892748288 (3712 MB)
ACPI APIC Table: HPQOEM SLIC-MPC
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  5
...
vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
agp0: Intel Ironlake (M) SVGA controller on vgapci0
agp0: detected 32764k stolen memory
agp0: aperture size is 256M
...
==

 What did you do? the man holding the flashlight asked.

 I put down a spider, he said, wondering why the man didn't see; in the beam 
of yellow light the spider bloated up larger than life. So it could get away.


  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: terrible mplayer performance

2010-06-14 Thread Chip Camden
On Jun 14 2010 15:13, Neil Short wrote:
 Ok. I'm stuck. Mplayer's performance is worse on this laptop than it is on my 
 Toshiba running with a half-speed processor. I have attempted all the 
 suggestions I can find re: getting the performance.
 The video is slow - so it lags the audio by quite a bit. I keep getting Your 
 processor is too slow... stuff.
 
 What to do?
 
 I built mplayer from ports (not package).
 mplayer-1.0.r20100117_1
 
 My computer is an HP Pavilion dv4
 
 xorg.conf is set up to run the vesa driver. That's how X -configure set it 
 up. I have no idea what graphics device is actually on this machine.
 
 dmesg shows:
 Copyright (c) 1992-2010 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
 nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 ,PBE
   
 Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
   AMD Features=0x28000800SYSCALL,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant
 real memory  = 4294967296 (4096 MB)
 avail memory = 3892748288 (3712 MB)
 ACPI APIC Table: HPQOEM SLIC-MPC
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  5
 ...
 vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
 0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
 agp0: Intel Ironlake (M) SVGA controller on vgapci0
 agp0: detected 32764k stolen memory
 agp0: aperture size is 256M
 ...
 ==
 
  What did you do? the man holding the flashlight asked.
 
  I put down a spider, he said, wondering why the man didn't see; in the 
 beam of yellow light the spider bloated up larger than life. So it could get 
 away.
 

I have an i3 M 350 -- the intel drivers do not yet work for this chipset.
It's the Intel HM55, probably.  To verify, give us the output of

pciconf -vl | grep vgapci0

The chip= portion of that has the PCI ID.  Mine's 00468086.  For now at
least, I'm stuck on vesa.  But mplayer seems to run fine for me.

-- 
Sterling (Chip) Camden
http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: terrible mplayer performance

2010-06-14 Thread Polytropon
On Mon, 14 Jun 2010 15:13:38 -0700 (PDT), Neil Short nesh...@yahoo.com wrote:
 Ok. I'm stuck. Mplayer's performance is worse on this laptop than
 it is on my Toshiba running with a half-speed processor. I have
 attempted all the suggestions I can find re: getting the performance.

You should use direct rendering when possible, it seems to be the
fastest playback.



 The video is slow - so it lags the audio by quite a bit. I keep
 getting Your processor is too slow... stuff.

Try -framedrop or -hardframedrop, but that's not the solution,
just a workaround.



 What to do?
 
 I built mplayer from ports (not package).
 mplayer-1.0.r20100117_1
 
 My computer is an HP Pavilion dv4
 
 xorg.conf is set up to run the vesa driver. That's how X -configure
 set it up. I have no idea what graphics device is actually on this
 machine.

This looks like the problem. You should use the correct driver for
your graphics card; vesa can be seen as last compatibility option,
usually not very performant.



 dmesg shows:
 Copyright (c) 1992-2010 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.1-PRERELEASE #1: Mon Jun  7 10:53:01 MST 2010
 nesh...@carmen:/usr/obj/usr/src/sys/CARMEN amd64
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM) i3 CPU   M 330  @ 2.13GHz (2127.92-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x20652  Family = 6  Model = 25  Stepping = 2
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 ,PBE
   
 Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
   AMD Features=0x28000800SYSCALL,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant
 real memory  = 4294967296 (4096 MB)
 avail memory = 3892748288 (3712 MB)
 ACPI APIC Table: HPQOEM SLIC-MPC
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  5
 ...
 vgapci0: VGA-compatible display port 0x6050-0x6057 mem 
 0xd000-0xd03f,0xc000-0xcfff irq 16 at device 2.0 on pci0
 agp0: Intel Ironlake (M) SVGA controller on vgapci0
 agp0: detected 32764k stolen memory
 agp0: aperture size is 256M
 ...
 ==

You have a multicore processor and 4 GB of RAM and video playback
is slow? Impossible! My P2/300 with 512 MB RAM plays video without
any problems (running FreeBSD 5 and who knows what old version
of mplayer)...

Check the output of pciconf -lv to see what identification of
your graphics hardware is output. Then change xorg.conf to use
the proper driver for this. After this change (and a restart of
X), mplayer should use the correct output driver.

You can enter mplayer -vo help to get a list of the available
output drivers (e. g. xv, x11, gl, gl2, dgl, sdl and so on).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: terrible mplayer performance

2010-06-14 Thread Neil Short
--- On Mon, 6/14/10, Polytropon free...@edvax.de wrote:

 
 
 Check the output of pciconf -lv to see what
 identification of
 your graphics hardware is output. 

result:
...
vgap...@pci0:0:2:0: class=0x03 card=0x140a103c chip=0x00468086 rev=0x02 
hdr=0x00
vendor = 'Intel Corporation'
class  = display
subclass   = VGA
...

 Then change xorg.conf to
 use
 the proper driver for this. After this change (and a
 restart of
 X), mplayer should use the correct output driver.
 
 You can enter mplayer -vo help to get a list of the
 available
 output drivers (e. g. xv, x11, gl, gl2, dgl, sdl and so
 on).
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 


  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org