Video is lagging

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Video is lagging

Postby nomko on Sun Mar 03, 2013 3:48 pm

Hi all,

I notice that, when i play a video or movie under Vlc, that it lags. After each 3-4 seconds the video-screen shows a lag. I can see the screen 'jump", it is very short, tenths of seconds. Why is that? Is it Vlc or a driver issue? I noticed this after a system update.

nomko@mint14 ~ $ inxi -F
System: Host: mint14 Kernel: 3.5.0-25-generic x86_64 (64 bit) Desktop: Cinnamon 1.6.7 Distro: Linux Mint 14 Nadia
Machine: Mobo: ASUSTeK model: P5KPL-AM SE version: X.0x Bios: American Megatrends version: 0501 date: 05/07/2009
CPU: Quad core Intel Core2 Quad CPU Q8200 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3)
Clock Speeds: 1: 1998.00 MHz 2: 2331.00 MHz 3: 1998.00 MHz 4: 2331.00 MHz
Graphics: Card: NVIDIA G96 [GeForce 9500 GT] X.Org: 1.13.0 driver: nvidia Resolution: 1920x1080@60.0hz
GLX Renderer: GeForce 9500 GT/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 304.64
Audio: Card: Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel Sound: ALSA ver: 1.0.25
Network: Card: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver: r
IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:26:18:24:b9:e9
Drives: HDD Total Size: 1500.3GB (33.9% used) 1: id: /dev/sda model: SAMSUNG_HD501LJ size: 500.1GB
2: id: /dev/sdb model: SAMSUNG_HD103SI size: 1000.2GB
Partition: ID: / size: 92G used: 11G (13%) fs: ext4 ID: swap-1 size: 1.02GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 43.0C mobo: 33.0C gpu: 34C
Fan Speeds (in rpm): cpu: 2033 sys-1: 0
Info: Processes: 160 Uptime: 19:37 Memory: 976.7/3954.1MB Client: Shell (bash) inxi: 1.8.44
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Linux Mint is funded by ads and donations.
 

Re: Video is lagging

Postby homerscousin on Mon Mar 04, 2013 5:00 pm

hi, nomko. I've had problems with VLC since my first ever install of Linux, Mint 13 Cinnamon, just last year. Playing any video with VLC would override my system settings and cause the monitor to turrn off, screen blanking, 10 minutes, 10 seconds, or random. VLC would not play a playlist in order, it was always random. Since I upgraded to Mint 14 KDE and the upgrade to KDE 4.10, VLC no longer has these problems. It works correctly. I think it is VLC and how it interacts with other Linux files. Beyond that statement is beyond my knowledge level.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.
homerscousin
Level 5
Level 5
 
Posts: 522
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

Re: Video is lagging

Postby nomko on Tue Mar 05, 2013 7:08 am

homerscousin wrote: I think it is VLC and how it interacts with other Linux files. Beyond that statement is beyond my knowledge level.


I'll try another videoplayer. Maybe that makes a different.
But as i said, i noticed this after the last system update. And i can't tell which package it responsible for it.
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Video is lagging

Postby nomko on Wed Apr 24, 2013 8:43 am

Okay, i really go nuts here with Vlc. Did a search on the internet and it seems to be a real Vlc issue here:

http://www.howtogeek.com/howto/windows/ ... deo-files/

http://www.freetechexams.com/microsoft- ... files.html

http://www.ehow.com/how_8671215_stop-sk ... files.html






Also what i found (this couldn't be of nu use..... but then again....):
On my Ubuntu machine this is what i did for totem.
I went to usr/share/applications and clicked on multimedia selector,From there you click video and than change then
change the setting to x11 or something to that nature.
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Video is lagging

Postby catweazel on Wed Apr 24, 2013 8:52 am

It's not necessarily a VLC issue. Usually it's caused by the video card refreshing faster than the display can respond, which is particularly a problem for TFT/LCD displays running at 60Hz, amd explains why you see it happening in VLC.

The best you can do is to set VBLANK sync on in whatever video driver you use. You might also set VLC to use GPU accelerated decoding, with post-processing priority set to 6, and accelerated video output turned on as well.
Mint Testing Team & Mint Donor #3606
KDE 4.10.4, custom preemptive kernel 3.9.6,
Intel i7 3770K, 16GB 2133MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 6
Level 6
 
Posts: 1379
Joined: Fri Oct 12, 2012 9:44 pm

Re: Video is lagging

Postby nomko on Tue Apr 30, 2013 1:23 pm

catweazel wrote:It's not necessarily a VLC issue. Usually it's caused by the video card refreshing faster than the display can respond, which is particularly a problem for TFT/LCD displays running at 60Hz, amd explains why you see it happening in VLC.

The best you can do is to set VBLANK sync on in whatever video driver you use. You might also set VLC to use GPU accelerated decoding, with post-processing priority set to 6, and accelerated video output turned on as well.


And where can i set this under Vlc????
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Video is lagging

Postby catweazel on Tue Apr 30, 2013 5:14 pm

nomko wrote:And where can i set this under Vlc????

Tools > Preferences > Input & Codecs
Mint Testing Team & Mint Donor #3606
KDE 4.10.4, custom preemptive kernel 3.9.6,
Intel i7 3770K, 16GB 2133MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 6
Level 6
 
Posts: 1379
Joined: Fri Oct 12, 2012 9:44 pm

Re: Video is lagging

Postby nomko on Fri May 03, 2013 3:43 am

patthelinuxuser wrote:You should go back to windows mate, preferably windows 8 as it is awesome:)


NO...i'm not your mate. Got it?

patthelinuxuser wrote:As far as linux is concerned its only really good for typing / light internet browsing. Thats why it is free.... When it comes to the finer things in life such as video, games ect ect ect you need windows or a mac. Linux is a good pet project lol.
All the best :)


You're a troll or what??? Post reported!
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Video is lagging

Postby nomko on Fri May 03, 2013 1:21 pm

catweazel wrote:
nomko wrote:And where can i set this under Vlc????

Tools > Preferences > Input & Codecs


Ok. just checked there...lot of options and entries. I'm lost now. Where exactly can i check for that VBLANK sync and GPU accelerated decoding???
Thanks again!
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Re: Video is lagging

Postby catweazel on Fri May 03, 2013 11:55 pm

nomko wrote:Ok. just checked there...lot of options and entries. I'm lost now. Where exactly can i check for that VBLANK sync and GPU accelerated decoding???
Thanks again!

Image

Image

VBLANK or VSync is a video driver setting.

The other thing you could do is install a low-latency kernel and see if that makes a difference:
Code: Select all
sudo apt-get install linux-lowlatency

You should verify that in Synaptic, and probably install it from there too. I'm not using Mint at the moment so I can't check it for you.
Mint Testing Team & Mint Donor #3606
KDE 4.10.4, custom preemptive kernel 3.9.6,
Intel i7 3770K, 16GB 2133MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 6
Level 6
 
Posts: 1379
Joined: Fri Oct 12, 2012 9:44 pm

Re: Video is lagging

Postby nomko on Sat May 04, 2013 4:44 am

Both options are switch on. I'll check it with a video later. Thanks for your help!
*ASUS P5KPL-AM SE*Intel Core(TM)2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*RaLink RT2500 802.11g*Optiarc DVD RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Mint 14/Cinnamon*

Dutch Linux Mint forum:http://www.forum.linuxmintnl.nl/
User avatar
nomko
Level 6
Level 6
 
Posts: 1070
Joined: Sat Feb 25, 2012 7:28 pm
Location: /home/nomko

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: No registered users and 3 guests