rm ffmpeg2*log*
date
echo starting blender
blender -b edr.blend -F FRAMESERVER -s 1 -e 300 --render-anim &
sleep 2
date
echo starting ffmpeg pass1
source "frameserver_pass1.sh"
sync
date
echo starting blender2
blender -b edr.blend -F FRAMESERVER -s 1 -e 300 --render-anim &
sleep 2
date
echo starting ffmpeg pass2
source "frameserver_pass2.sh"
sync
date
echo finished, going to sleep...
# systemctl suspend
-=-=-=-=-
BLENDER=http://localhost:8080
OUTPUT='-f null /dev/null'
CODEC_OPTS="-pix_fmt yuv420p -profile:v high -level 4.0 -vcodec libx264 -preset slow -b:v 12500k "
# -preset slow -profile:v high -level 4.0"
eval `wget ${BLENDER}/info.txt -O - 2>/dev/null |
while read key val ; do
echo R_$key=$val
done`
i=$R_start
{
while [ $i -le $R_end ] ; do
wget ${BLENDER}/images/ppm/$i.ppm -O - 2>/dev/null
i=$(($i+1))
done
} | ffmpeg -vcodec ppm -f image2pipe -r $R_rate -i pipe:0 $CODEC_OPTS -pass 1 -threads 6 $OUTPUT
wget ${BLENDER}/close.txt -O - 2>/dev/null >/dev/null
Saturday, December 12, 2015
Wednesday, September 9, 2015
Sunday, September 6, 2015
Overclocking FX-6300
M5A97 EVO R2.0 MB + Kingston 1.65v 1600mhz 2x4G + AMD FX-6300
Overclocked to 4500MHz
Ai Tweaker Settings:
Ai Overclock Tuner D.O.C.P.
DRAM O.C. Profile Profile #0
CPU ratio 22.5
Turbo core DISABLED
CPU Bus Freq. 200 (default)
PCIE Freq. 100 (default)
Memory Freq DDR3-1600 (default)
CPU/NB Freq: 2600MHz
HT Link Speed: 2400MHz
CPU Spread Spectrum: auto
PCIe Spread Spectrum: auto
EPU: Disabled
CPU Offset Voltage: 1.320V +0.075000
DRAM Voltage: 1.65
-=-=-=-=-=
After running stability tests to keep it in 60C reduced overclocking to:
CPU Ratio = 19.5
CPU Offset Voltage: 1.248V +0.012500
And finally 4200MHz, 21.0 ratio, CPU/NB Auto (2000), HT Auto (2000), +0.012500V (1.248V)
Overclocked to 4500MHz
Ai Tweaker Settings:
Ai Overclock Tuner D.O.C.P.
DRAM O.C. Profile Profile #0
CPU ratio 22.5
Turbo core DISABLED
CPU Bus Freq. 200 (default)
PCIE Freq. 100 (default)
Memory Freq DDR3-1600 (default)
CPU/NB Freq: 2600MHz
HT Link Speed: 2400MHz
CPU Spread Spectrum: auto
PCIe Spread Spectrum: auto
EPU: Disabled
CPU Offset Voltage: 1.320V +0.075000
DRAM Voltage: 1.65
-=-=-=-=-=
After running stability tests to keep it in 60C reduced overclocking to:
CPU Ratio = 19.5
CPU Offset Voltage: 1.248V +0.012500
And finally 4200MHz, 21.0 ratio, CPU/NB Auto (2000), HT Auto (2000), +0.012500V (1.248V)
Wednesday, July 15, 2015
Friday, June 12, 2015
hdparm fix for ubuntu 15.04
https://www.linux.org.ru/forum/general/8726915
> cat /etc/systemd/system/fix-hdparm@.service
[Unit]
Description=Fix some hdparm settings after suspend/restore
After=dev-%i.device suspend.target hibernate.target sysinit.target hybrid-sleep.target
Requires=dev-%i.device
[Service]
Type=oneshot
ExecStart=/sbin/hdparm -B 254 /dev/%i
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
WantedBy=sysinit.target
# systemctl enable fix-hdparm@sda
ln -s '/etc/systemd/system/fix-hdparm@.service' '/etc/systemd/system/suspend.target.wants/fix-hdparm@sda.service'
ln -s '/etc/systemd/system/fix-hdparm@.service' '/etc/systemd/system/hibernate.target.wants/fix-hdparm@sda.service'
ln -s '/etc/systemd/system/fix-hdparm@.service' '/etc/systemd/system/hybrid-sleep.target.wants/fix-hdparm@sda.service'
ln -s '/etc/systemd/system/fix-hdparm@.service' '/etc/systemd/system/sysinit.target.wants/fix-hdparm@sda.service'
vasily_pupkin ★★★★★ ()
Sunday, March 8, 2015
avconv to extract audio stream
avconv -i somevide.mkv -vn -codec:a: copy
https://www.libav.org/avconv.html#Stream-copy
avconv -i INPUT -c:a copy -map 0:m:language:eng OUTPUT
https://www.libav.org/avconv.html#Stream-copy
Linux on GA-E2100N (AMD E1-2100 APU)
Linux experience on GA-E2100N
(rev. 1.0) with AMD E1-2100 SoC.
Xubuntu 14.10.
Hardware:
Gigabyte GA-E2100N (rev. 1.0) board
CHIEFTEC IX-01B-90W mini-ITX case with 90W power supply.
GeIL PC10600 4GB CL9-9-9 D3-1333 (GN34GB1333C9S)
Kingston V300 120GB
HDMI cable
HD-ready TV (1360x768)
Logitech K400r wireless keyboard with touchpad
TP-Link TL-WN722N USB wifi adapter
BIOS options to note:
Fast Boot: Disabled (when left Fast and Ultra fast the board does not respond on reboot and required BIOS CMOS clear jumper to be set to restore normal operation)
Secure boot: disabled
Enabled EFI only in all options (disabled all legacy stuff).
On-board COM, LPT, LAN, Audio codec: disabled.
OS, minimal settings:
Xubuntu 14.10, installation USB stick in EFI mode.
Launched live, started
GParted and created EFI boot partition (200MiB), system (25GiB), swap (512MiB) and storage partitions, left ~8GiB unallocated for SSD overprovisioning.
Launched installation, selected all partitions as created by GParted ("something else" menu option).
After reboot disabled Light-locker, Compositor, installed Synaptic, made sure mesa-vdpau drivers installed, installed mpv for video playback, modified /etc/fstab to contain "discard,relatime" options for root and storage partitions to optimize for SSD.
"~/.mpv/config" contains:
hwdec=vdpau
This line makes mpv use 5-10% CPU for 720p x264 videos, 60-100% otherwise.
Edited line in the "/etc/pulse/default.pa" to contain:
load-module module-udev-detect tsched=0
(added "tsched=0" argument to fix sound over HDMI issue (crackles, stutter).
Kodi (XBMC)
Enabled VDPAU acceleration only. Still uses too much CPU (~30-50% per core), without VDPAU uses 100%.
Problems
Heavy CPU usage in Kodi/XBMC.
Proprietary Catalyst drivers give poor performance for video playback, better stay with default Gallium3D.
No hardware acceleration for youtube, HTML5 videos, flash, although firefox is quite responsive.
Success
Low CPU usage with VDPAU in "mpv", very fast seeking times in any video file, no problems in playback.
Sauerbraten/cube is fast to start and very responsive, playable at 30 FPS with all effects at 1360x768 fullscreen.
Summary:
Max 71 C Core temparature at constant CPU load, 65 C at idle (neither fans in the case, nor CPU fan used, absolutely silent passive-cooled system), BIOS shows 55C CPU and 40C motherboard temperature values, touched the heatsink, and can confirm -- it is just warm, not burning.
Quite responsive system with good multithreading (2 cores), although takes a lot of time to compile C/C++ code.
All the hardware automatically detected and worked out of the box, small tweaks required. Perfect hardware for a Linux installation.
Subscribe to:
Posts (Atom)