LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > ugjka
User Name
Password

Notices


Rate this Entry

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	"Intel Graphics"
   Driver	"intel"
   Option	"DRI"			"3"
   Option	"PageFlip"		"true"
   Option	"TripleBuffer"		"false"
   Option	"SwapbuffersWait"	"false"
   Option	"VSync"			"false"
EndSection
My compton settings
Code:
compton --backend glx --paint-on-overlay --refresh-rate 60 --glx-no-stencil --glx-no-rebind-pixmap --glx-swap-method -1
xf86-video-intel build time flags
Code:
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"

--enable-create2=yes --enable-async-swap=yes  --with-default-dri=3


Test Video (select 720p60 quality)
Tearing and Smoothness test.
https://www.youtube.com/watch?v=cuXsupMuik4
Mario Skate (60 fps!)
https://www.youtube.com/watch?v=rql_F8H3h9E

Comments and reccomendations are welcome!
Views 1720 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 02:14 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
Open Source Consulting | Domain Registration