You are not logged in.

#1 2018-11-09 12:47:46

storms
Member
Registered: 2018-11-09
Posts: 26

[SOLVED] massive lag with playing videos on a fresh machine.

hey guys so, my pc is running fine but when i try to watch videos on youtube or some other place, it lags rly bad and eventually freezes my pc, forcing me to reboot.
i had a look at my journal ctl and i am not sure what to make of it, it seems that my graphic is randomly disconecting?

so: journalctl
https://ptpb.pw/3ICi

system:

Linux Void 4.18.16-arch1-1-ARCH #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 2018 x86_64 GNU/Linux

Filesystem      Size  Used Avail Use% Mounted on
dev             2.0G     0  2.0G   0% /dev
run             2.0G  1.5M  2.0G   1% /run
/dev/sdb3       281G  8.0G  259G   4% /
tmpfs           2.0G   79M  1.9G   4% /dev/shm
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           2.0G   35M  1.9G   2% /tmp
tmpfs           394M   16K  394M   1% /run/user/120
tmpfs           394M   20K  394M   1% /run/user/1000

hwinfo:

https://pastebin.com/V24GhkWL

running the latest of everything...let me know if you guys need anything else or if i missed something smile

SOLVED EDIT: 85% sure it was a faulty ram stick, did some rly looooong term stress testing on them and got a bunch of errors in one, everything is working for now, so i guess its a good point to close the topic, thanks alot for the help smile

Last edited by storms (2018-12-05 14:08:11)

Offline

#2 2018-11-09 13:27:47

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Welcome to the forum. Please always wrap shell output in code tags, see https://bbs.archlinux.org/help.php#bbcode

Also post a complete journal, including kernel messages (ie. use sudo or add your user to the wheel group) - not random greps.

Offline

#3 2018-11-09 13:58:15

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

hello thanks for the quick reply, but i'm getting an error while editing the post, a full journalctl reply is way too big for the post size limit and pastebin's

Offline

#4 2018-11-09 14:12:10

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] massive lag with playing videos on a fresh machine.

The journal of this boot (including a bad playback attempt) will suffice. Also https://wiki.archlinux.org/index.php/Li … in_clients

Offline

#5 2018-11-09 14:46:28

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Hello, thanks once again for the patience and the quick reply, i have edited my original post. let me know what should i do next smile

Offline

#6 2018-11-09 15:09:39

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Possibly the cause

Nov 09 14:19:08 Void kernel: NVRM: GPU at PCI:0000:03:00: GPU-f04a6463-faeb-25c4-3c08-fbe218afd105
Nov 09 14:19:08 Void kernel: NVRM: GPU Board Serial Number: 
Nov 09 14:19:08 Void kernel: NVRM: Xid (PCI:0000:03:00): 79, GPU has fallen off the bus.
Nov 09 14:19:08 Void kernel: NVRM: GPU at 00000000:03:00.0 has fallen off the bus.
Nov 09 14:19:08 Void kernel: NVRM: GPU is on Board .
Nov 09 14:19:08 Void kernel: NVRM: A GPU crash dump has been created. If possible, please run
                             NVRM: nvidia-bug-report.sh as root to collect this data before
                             NVRM: the NVIDIA kernel module is unloaded.
Nov 09 14:19:40 Void systemd-logind[329]: Power key pressed.

Offline

#7 2018-11-09 15:17:43

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

heres the nvidia dump log:
https://ptpb.pw/YBuM

Offline

#8 2018-11-09 15:44:58

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Underpowered? The GPU has probably an 6/8-pin connected dedicated power supply - ensure that's attached.
Otherwise, please post the output of "xrandr -q" and check the GPU utilization using "nvidia-smi" and "nvidia-smi -q -d UTILIZATION"

Offline

#9 2018-11-09 16:04:50

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

the gpu doesnt come with one of those plugs for more power.
xrandr -q:

[cunha@Void ~]$ xrandr -q
Screen 0: minimum 8 x 8, current 3280 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+  75.00    59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1366x768      59.79  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1360x768+1920+0 (normal left inverted right x axis y axis) 575mm x 323mm
   1360x768      60.02*+
   1920x1080     59.94    50.00    60.00    50.04  
   1280x720      59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  

both nvidia-smi" and "nvidia-smi -q -d UTILIZATION" looks normal even when playing videos for now.
i will keep an eye on it when the sistem starts to stutter.

Offline

#10 2018-11-09 16:34:30

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

ok got some news:

[cunha@Void ~]$ nvidia-smi
Fri Nov  9 16:31:51 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.66       Driver Version: 410.66       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1050    Off  | 00000000:03:00.0  On |                  N/A |
|  0%   57C    P0    N/A /  70W |    420MiB /  1999MiB |     98%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       422      G   /usr/lib/Xorg                                 24MiB |
|    0       455      G   /usr/bin/gnome-shell                          43MiB |
|    0       652      G   /usr/lib/Xorg                                147MiB |
|    0       695      G   /usr/bin/gnome-shell                         140MiB |
|    0      3176      G   /usr/lib/WebKitWebProcess                     53MiB |
+-----------------------------------------------------------------------------+
[cunha@Void ~]$  
[cunha@Void ~]$ nvidia-smi -q -d UTILIZATION

==============NVSMI LOG==============

Timestamp                           : Fri Nov  9 16:31:41 2018
Driver Version                      : 410.66
CUDA Version                        : 10.0

Attached GPUs                       : 1
GPU 00000000:03:00.0
    Utilization
        Gpu                         : 98 %
        Memory                      : 3 %
        Encoder                     : 0 %
        Decoder                     : 0 %
    GPU Utilization Samples
        Duration                    : 18446744073709.21 sec
        Number of Samples           : 99
        Max                         : 99 %
        Min                         : 44 %
        Avg                         : 0 %
    Memory Utilization Samples
        Duration                    : 18446744073709.21 sec
        Number of Samples           : 99
        Max                         : 3 %
        Min                         : 1 %
        Avg                         : 0 %
    ENC Utilization Samples
        Duration                    : 18446744073709.22 sec
        Number of Samples           : 99
        Max                         : 0 %
        Min                         : 0 %
        Avg                         : 0 %
    DEC Utilization Samples
        Duration                    : 18446744073709.22 sec
        Number of Samples           : 99
        Max                         : 0 %
        Min                         : 0 %
        Avg                         : 0 %

[cunha@Void ~]$ 

this is while playing an youtube video full screen, the system has lagging and the video was stuttering hard, the system fixed itself when i paused the video...

Offline

#11 2018-11-09 20:59:28

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Can you please try the behavior on a single output setup and see https://bbs.archlinux.org/viewtopic.php … 7#p1815807 ?

Offline

#12 2018-11-10 15:24:54

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

hello, the problem persists with only 1 monitor pluged in to the pc.

>> cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf

 
Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    Option      "UseNvKmsCompositionPipeline" "false"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

is my gpu dying? its like only 1 year old... god dammit...

Last edited by storms (2018-11-10 15:25:45)

Offline

#13 2018-11-10 15:37:50

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Playing a YT video in a browser would rather not pressure the GPU, because HW acceleration is terribly bad to not existing in linux browsers :-(

Let's try this from a "clean" environment. Use "startx xterm" to start a naked X11 server, no gnome-shell etc.
Check the GPU utilization.
Play a video w/ mplayer/mpv/vlc and check the GPU utilization.
Push it a bit w/ your browser, http://www.fishgl.com/ ;-)
Try another browser, watch the GPU load and laginess.

Check the CPU load all the time, maybe we're conflating unrelated issues.

Also consider to try the 390xx driver version.

Offline

#14 2018-11-15 16:37:50

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

hello sorry for the long wait.
got some news.
so i was messing with the pc and what not and decided to take gpu off and mount in on the second gpu slot, i cleaned the sloth previously and now everything seems fine...http://www.fishgl.com/ gives me 10 fps with 400 fishs and another youtuve playing at the same time, so working as intended...will do some more long term testing

edit: also i would like to thank you for the quick and effective replies smile you guys sure have something great growing, keep it up!

Last edited by storms (2018-11-15 16:40:22)

Offline

#15 2018-11-15 17:07:36

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Great smile

When you're sure that it's fixed please remember to mark this thread [SOLVED].
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#16 2018-11-17 09:22:23

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

hey guys, after some more testing heres what i have gather:
theres defenely something going on with the computer...
first it stoped booting on to the OS, i have 2 hdd so i tought one of them ( the one with the boot, and / ) was dying...
so i went ahead and tryed re formating arch on the other hdd...but when i'm in the process of configuring and what not( in the terminal) the terminal spits out a bunch of memory messages poiting to the motherboard and then freezes....
so any ideas?

wild idea: does the arch usb installer saves logs? was wondering if the logs catched the "motherboard" malfunction or something

second edit: i just remenbered another thing, some times when i try to boot on the usb, it goes to the grub menu, i select arch and then the pc instead of booting to the usb it restarts and it goes to the grub again, this happends a few times until it finaly decides to boot without restarting...

Last edited by storms (2018-11-17 09:41:12)

Offline

#17 2018-11-17 12:56:53

seth
Member
Registered: 2012-09-03
Posts: 49,972

Offline

#18 2018-11-19 13:25:58

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] massive lag with playing videos on a fresh machine.

ok not rly sure what to make of it....i had my eye on it until it made 2 passes without erros, then i went to sleep and when i came back it had frozen, the screen woundt even turn on.
soooooo its the ram right? time to plug one at the time?

Offline

#19 2018-11-19 19:02:40

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] massive lag with playing videos on a fresh machine.

Unsure - this kind of freeze is rather unexpected.
Unfortunately you had the screen off, but this could be an issue w/ the CPU, the IOMMU or the GPU just as much.

You could pass "iommu=soft" and see whether the GPU still falls off the bus.
Also rule out physical issues (bad seating, try another slot, ensure it's actually a PCI-e, some boards have really weird and dynamic wiring)

Offline

Board footer

Powered by FluxBB