LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Monitor your laptop with fswebcam

Posted 03-20-2016 at 10:29 AM by ugjka
Updated 03-20-2016 at 10:42 AM by ugjka

This is a little tutorial on how to take a picture from the webcam with systemD timers every 15 minutes.


Install fswebcam a commandline utility for grabbing pics off the webcam

Create a script in /usr/local/bin/ called snap that grabs a pic and put date and time in the filename
Don't forget to chmod +x to make it executable
Code:
#/usr/local/bin/snap 
#!/bin/bash
_now=$(date +"%Y_%m_%d_%H_%M")
/usr/bin/fswebcam
...
Member
Posted in Uncategorized
Views 1462 Comments 2 ugjka is offline
Old

Makepkg makepkg.conf Optimizations

Posted 03-12-2016 at 05:59 AM by ugjka
Updated 03-12-2016 at 10:07 AM by ugjka

Here are my /etc/makepkg.conf Optimizations

Makepkg.conf is used whenever you build a package from the Aur or any other source. (makepkg -si)

1) Set -march and -mtune to native to optimize packages to your CPU architecture.
Do not fiddle with this if you are building packages for someone else who has different CPU

Code:
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native
...
Member
Views 1422 Comments 0 ugjka is offline
Old

Google Chrome flags for Performance (ver 49)

Posted 03-07-2016 at 04:07 AM by ugjka
Updated 03-17-2016 at 01:41 PM by ugjka

These are the settings I use with Google Chrome to get most of my machine (Dell Vostro 1015/ 3Gig ram)

Type about:flags in the adress bar or copy paste the chrome urls


GPU rasterization
chrome://flags/#enable-gpu-rasterization
Set to Enabled


Number of raster threads
chrome://flags/#num-raster-threads
Set to "Number of threads/cores your cpu have"


These two will increase Javascript...
Member
Views 7529 Comments 1 ugjka is offline
Old

Performance Tunings for Desktop/ Intel GM45 gfx / 3GB ram

Posted 03-06-2016 at 10:01 AM by ugjka
Updated 03-24-2016 at 03:50 PM by ugjka

Distro: Archlinux

Kernel: Use ck kernel optimized to your CPU platform to get the best bfs optimizations: linux-ck-core2
Code:
Linux ArchPC 4.3.6-1-ck #1 SMP PREEMPT Fri Feb 19 19:46:41 EST 2016 x86_64 GNU/Linux
Kernel Parameters:

workqueue.power_efficient=0 : Disable power savings and increase performance
pcie_bus_perf : Set device MPS to the largest allowable MPS
elevator=bfq : Use Brainfuck Scheduler for IO
zswap.enabled=1 : Enable...
Member
Views 1763 Comments 0 ugjka is offline
Old

Compton and Intel Gfx | No tearing and 60 FPS

Posted 02-12-2016 at 12:18 PM by ugjka
Updated 03-07-2016 at 05:48 AM by ugjka (Updated!)

These are my configs for achieving 60FPS without tearing on Intel GM45 Onboard Graphics. I'm using compton for this.

These optimizations are for speed not quality. The purpose of this was to achieve lagless 60fps video playback on my old Dell Vostro 1015 laptop. I still get frame drop on youtube but it is better than it was previously.

My Xorg configuration

Code:
#cat /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
   Identifier
...
Member
Views 1341 Comments 0 ugjka is offline

  



All times are GMT -5. The time now is 06:13 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration