720p video lag

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
SSudharaka
Level 1
Level 1
Posts: 15
Joined: Sun Apr 01, 2018 6:42 am

720p video lag

Post by SSudharaka » Sat Sep 08, 2018 7:07 pm

Hi team, I’m pretty new to Linux and started using it last week. I like it a lot so far, just have an issue when playing movies. Especially 720p ones (didn’t try 1080p yet). I tried VLC, media player and then SM Player with the MPV engine, but no luck. I also tried disabling hardware acceleration, increasing the cache on VLC and several other solutions that I saw online, none of them helped.

The files are accessed from the hard disk (so not related to the internet speed) and I have installed Nvdia proprietary drivers. So far, stand-alone MPV gives the best results - but I noticed that when I watch a scene for the first time, it’s laggy and when I replay the same scene, there are no lags. Is this due to an issue in cache? If it is, how can I fix it in MPV? Thanks a lot 🙂

User avatar
catweazel
Level 17
Level 17
Posts: 7752
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: 720p video lag

Post by catweazel » Sat Sep 08, 2018 7:42 pm

SSudharaka wrote:
Sat Sep 08, 2018 7:07 pm
Hi
Please post the output of this terminal command:

Code: Select all

inxi -Fxz
Enclose the results between [ⅽode] and [/ⅽode] code markers by selecting </> from the mini toolbar above the textbox where you type your reply.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

SSudharaka
Level 1
Level 1
Posts: 15
Joined: Sun Apr 01, 2018 6:42 am

Re: 720p video lag

Post by SSudharaka » Sat Sep 08, 2018 9:03 pm

catweazel wrote:
Sat Sep 08, 2018 7:42 pm


Please post the output of this terminal command:

Code: Select all

inxi -Fxz

Code: Select all

System:    Host: VPCF2290X Kernel: 4.15.0-33-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Sony product: VPCF2290X v: C609LR9Z serial: N/A
           Mobo: Sony model: VAIO serial: N/A
           BIOS: American Megatrends v: R1190V3 date: 09/05/2011
Battery    BAT0: charge: 33.7 Wh 70.5% condition: 47.8/57.2 Wh (83%)
           model: Sony status: Discharging
CPU:       Quad core Intel Core i7-2630QM (-MT-MCP-) 
           arch: Sandy Bridge rev.7 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15965
           clock speeds: max: 2900 MHz 1: 798 MHz 2: 798 MHz 3: 798 MHz
           4: 798 MHz 5: 798 MHz 6: 798 MHz 7: 798 MHz 8: 798 MHz
Graphics:  Card: NVIDIA GF108M [GeForce GT 540M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1080@59.94hz
           OpenGL: renderer: GeForce GT 540M/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card-1 Intel 6 Series/C200 Series Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GF108 High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-33-generic
Network:   Card-1: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express)
           driver: ath9k bus-ID: 02:00.0
           IF: wlp2s0 state: down mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 9000 bus-ID: 05:00.0
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (6.5% used)
           ID-1: /dev/sda model: TOSHIBA_MK5061GS size: 500.1GB
Partition: ID-1: / size: 47G used: 18G (41%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 404G used: 5.2G (2%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 8.19GB used: 0.00GB (0%)
           fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A gpu: 0.0:41C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 252 Uptime: 6 min Memory: 1300.0/3924.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Do you think it's relating to the nVidia?

User avatar
catweazel
Level 17
Level 17
Posts: 7752
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: 720p video lag

Post by catweazel » Sat Sep 08, 2018 9:53 pm

SSudharaka wrote:
Sat Sep 08, 2018 9:03 pm

Code: Select all

Graphics:  Card: NVIDIA GF108M [GeForce GT 540M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1080@59.94hz
           OpenGL: renderer: GeForce GT 540M/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Do you think it's relating to the nVidia?
Yes, it's related to the configuration of nVidia. Unfortunately I don't think I'm the right person to assist you. I have plenty of experience with nVidia in desktops but not with mobile nVidia. Hopefully someone else will come along and give you the right answer.

Cheers.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

SSudharaka
Level 1
Level 1
Posts: 15
Joined: Sun Apr 01, 2018 6:42 am

Re: 720p video lag

Post by SSudharaka » Sat Sep 08, 2018 10:05 pm

I see. Thank you 🙂 when I stream Netflix, it’s laggy as well. It’s definitely must be nVidia then, affecting all high res videos.

User avatar
catweazel
Level 17
Level 17
Posts: 7752
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: 720p video lag

Post by catweazel » Sat Sep 08, 2018 10:13 pm

SSudharaka wrote:
Sat Sep 08, 2018 10:05 pm
I see. Thank you 🙂 when I stream Netflix, it’s laggy as well. It’s definitely must be nVidia then, affecting all high res videos.
The only thing I can offer is this:

Image

Make sure Sync to VBlank is on.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

SSudharaka
Level 1
Level 1
Posts: 15
Joined: Sun Apr 01, 2018 6:42 am

Re: 720p video lag

Post by SSudharaka » Sat Sep 08, 2018 10:29 pm

Thank you. How can I access that window on Linux? I knew how to access it from Windows, but no idea on Mint.

User avatar
catweazel
Level 17
Level 17
Posts: 7752
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: 720p video lag

Post by catweazel » Sat Sep 08, 2018 10:38 pm

SSudharaka wrote:
Sat Sep 08, 2018 10:29 pm
Thank you. How can I access that window on Linux? I knew how to access it from Windows, but no idea on Mint.
You should have nVidia Settings in your main menu. Just type nvidia in the menu.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

SSudharaka
Level 1
Level 1
Posts: 15
Joined: Sun Apr 01, 2018 6:42 am

Re: 720p video lag

Post by SSudharaka » Sat Sep 08, 2018 10:55 pm

catweazel wrote:
Sat Sep 08, 2018 10:38 pm
SSudharaka wrote:
Sat Sep 08, 2018 10:29 pm
Thank you. How can I access that window on Linux? I knew how to access it from Windows, but no idea on Mint.
You should have nVidia Settings in your main menu. Just type nvidia in the menu.
Sweet. It was already on. Thanks 🙂

Post Reply

Return to “Sound, Multimedia, & Codecs”