My PC heats due to video

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

My PC heats due to video

Postby Leloup » Fri Oct 13, 2017 8:38 pm

Bonjour,

I use Mint in VirtualBox. Video heats my PC. It is crazy. For example,if Youtube plays this video https://www.qwant.com/?q=chanson&t=videos&o=1:7cc2db6b832242058f7ba693986cd8be the four processors reach around 50% and more while if I launch the same video from host, Win7, the processor activity is only 25% and temperature keeps stable. So, with Linux Mint, the temperature dramatcaly increases and in 1 or 2 mn, it reachs 80°C.
This is due to VirtualBox? or to Linux Mint? Plugins? Codecs?

Do you have a little bit idea what happen? What can I do?

Regards,

Le Loup

User avatar
powerwagon75
Level 3
Level 3
Posts: 106
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Postby powerwagon75 » Sat Oct 14, 2017 12:55 am

Leloup,

Could you go in to terminal, type inxi -Fxz and post results here for us to see? (this will give us type of CPU/GPU, amount of RAM, etc..)

I ran your video in question for its duration, and got the results in the screenshot below:

Video_playback_during_normal_operations.png

(the CPU usage was around 12% during playback, GPU peaked around 35C, CPU's stayed in the 30C's) [this video was presented and played in HD 1080 for the duration. Did you try playing it with a forced lower playback level-- ie; 720, 360?]

Unknown info besides inxi request above: desktop or laptop? Fans coming on or speeding up? I am offering assistance from a physical standpoint only, as I do not run VirtualBox on any of my machines.

Regards,

Eric
Image
Image

Hoser Rob
Level 9
Level 9
Posts: 2825
Joined: Sat Dec 15, 2012 8:57 am

Re: My PC heats due to video

Postby Hoser Rob » Sat Oct 14, 2017 8:32 am

Leloup wrote:... while if I launch the same video from host, Win7, the processor activity is only 25% ...


Actually if you open that link, right click on the video, and hit "Stats for nerds" it says it's a 640 by 360 video using the VP9 codec.

I'd actually say that 25% CPU is quite high for that video.

As mentioned, post an inxi report.

User avatar
powerwagon75
Level 3
Level 3
Posts: 106
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Postby powerwagon75 » Sat Oct 14, 2017 10:31 am

Hoser Rob,

Here's what I get running the video:
nerdstat.png


Its playing back at the selected 1080p option. I changed it to different playback resolutions while playing, and the nerdstat changes to what is selected. I believe you can only watch a maximum quality that matches that of what was uploaded. My i7-6700K was running 3%, and went to an average of 18% during playback. I checked with an Ultra4K-30Hz video, and CPU usage was all over the place between 18-47%. (I presume handling the higher volume buffer rate?)

Hopefully the OP reports back today with their info. Not sure why they would have the continuous thermal rise-- with consistent buffering it should have plateaued off. Something to do with running Mint in a VB session? I am not familiar with VB operation.
Last edited by powerwagon75 on Sun Oct 15, 2017 12:05 am, edited 1 time in total.
Image
Image

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 14, 2017 7:51 pm

Bonjour,

Results of the inxi -Fxz command are:
[list=]~ $ inxi -Fxz
System: Host: michaou-VirtualBox Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.2.6 (Gtk 3.18.9-1ubuntu3.1)
Distro: Linux Mint 18.1 Serena
Machine: System: innotek product: VirtualBox v: 1.2
Mobo: Oracle model: VirtualBox v: 1.2
Bios: innotek v: VirtualBox date: 12/01/2006
CPU: Quad core Intel Core i5-2400 (-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3) bmips: 25262
clock speeds: max: 3157 MHz 1: 3157 MHz 2: 3157 MHz 3: 3157 MHz
4: 3157 MHz
Graphics: Card: InnoTek Systemberatung VirtualBox Graphics Adapter
bus-ID: 00:02.0
Display Server: X.Org 1.18.4 drivers: vboxvideo (unloaded: fbdev,vesa)
Resolution: 1280x790@59.81hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Card Intel 82801AA AC'97 Audio Controller
driver: snd_intel8x0 ports: d100 d200 bus-ID: 00:05.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network: Card: Intel 82540EM Gigabit Ethernet Controller
driver: e1000 v: 7.3.21-k8-NAPI port: d010 bus-ID: 00:03.0
IF: enp0s3 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 27.0GB (56.7% used)
ID-1: /dev/sda model: VBOX_HARDDISK size: 27.0GB
Partition: ID-1: / size: 21G used: 11G (54%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 197 Uptime: 4 min Memory: 959.0/3951.5MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35
[/list]

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 14, 2017 7:56 pm

Linux Mint and Video_.jpeg

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 14, 2017 8:12 pm

Same measures without video
Attachments
Linux Mint_.jpeg

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 14, 2017 8:16 pm

The same video from host (Win7) without Linux Mint
Attachments
Host and Video_.jpeg

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 14, 2017 8:43 pm

Concerning stats: They seem be the same.
Attachments
stats.png

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 14, 2017 9:19 pm

How do you do to reduce the video resolutions?

User avatar
powerwagon75
Level 3
Level 3
Posts: 106
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Postby powerwagon75 » Sun Oct 15, 2017 12:35 am

Leloup,

I see by your screen shot that you were running at the 640x360 as well. To manually change resolution while viewing a Youtube video, click the little gear icon and change the setting:
Youtube_resolution.png
Youtube_resolution.png (68.54 KiB) Viewed 473 times


Have you got a local video you could play back, testing on Windows and your VB as well?

My current understanding of the virtual world is pretty small, but I do believe the majority of your hardware drivers are "virtually" created, and this, I would think, could possibly lead to overhead processing losses. (anything virtual requiring GPU performance is not going to give you the maximum performance that you would get directly from your real GPU/driver.) Increase in CPU usage would be expected, as your virtual process is being created there. As for the continuous thermal rise you are experiencing, have you checked inside your PC for dust build up; what do you use for CPU cooling? Is this a new problem that didn't previously exist, or is it a recent VB install?
Image
Image

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sun Oct 15, 2017 9:02 pm

Bonjour,

Tests have been launched with Ubuntu V16 and Debian 8.7 like guest and this is the same. The PC heats due to video whatever the guest. Then, a new test has been done with an Octave computation instead of video reading. Results are the same. I remark that the host processor activities is twice as high as than the guest processor on, as you see below.
Attachments
Ubuntu2.jpeg

User avatar
powerwagon75
Level 3
Level 3
Posts: 106
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Postby powerwagon75 » Mon Oct 16, 2017 12:07 am

Hi Leloup,

To me, it looks like your host CPU and memory are fairly busy in your latest screenshot. The host relationship between CPU % of use and CPU temperature seem to correlate with each other, other than it seems to continue a small climb up to that level (around 80C) before plateauing off.

Is this a new configuration, or have you been running this way for some time? Also, for temperatures, have you checked for dirt/dust build-up. What are you running for CPU cooling, and does it sound like its working/speeding up with CPU temperature rise? If you are running a stock cooler, and this is a new software setup, you may want to consider installing a higher performance cooler for the CPU.

If you still find/believe the problem resides with the VB application after checking the above items, hopefully someone will chime in that has operating experience working with VB.

Regards,

Eric
Image
Image

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sun Oct 22, 2017 1:21 pm

Bonjour Eric,

Thank you for your help.
I dissembled my PC to make a check. I didn't see a lot of dust.
This issue has been posted here https://forums.virtualbox.org/viewtopic.php?f=3&t=85141, in forum of the VirtualBox site as you suggested.

Regards,

Leloup

dark
Level 2
Level 2
Posts: 59
Joined: Wed Feb 22, 2017 3:02 pm

Re: My PC heats due to video

Postby dark » Sun Oct 22, 2017 1:39 pm

You need to check the heat sink compound on your CPU?
Clean up old paste and apply new good quality heat sink compound paste.
Also consider buying custom CPU cooler for your CPU if you are using stock Intel cooler which sucks.

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Oct 28, 2017 7:50 am

First, the virtual CPU is reduced to 2 and the 3D acceleration is enabled. The CPU temperature decreased by 10 ° C. So, the CPU temperature was 73 ° C instead of 83 ° C with the same fan speed (2750rpm) and the same video. The disadvantage is the poor video rendering. In other terms, the screen aspect is so bad.
Second, I tested separately the two proposed solutions either the enabled CPU number to 2 or the 3D acceleration. In the both cases, the temperature is higher.
Third, now, the VirtualBox release is upgraded to 5.2. plus extensions plus Guest Additions (GAs) in guest. The test results are the same. However, when the guest (linux mint) opening, I get a message that the acceleration has been modified due to driver missing and so the CPU temperature is going to increase.

I have not idea what driver is missing... Do you have a little idea what driver is missing?

Regards,

Le loup

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Nov 11, 2017 2:54 pm

Bonjour,

Cinnamon crashes with the last 64 bit driver 384 for NVIDIA graphic card.
I did:

# apt-get purge nvidia.
# apt-get install --reinstall xserver-xorg
# apt-get install --reinstall xserver-xorg-video-nouveau
# killall Xorg

Comments with the pictures.

1. Before driver re-installation, desk was:
Bureau Cinnamon2.jpeg
Initial desk with error
Bureau Cinnamon2.jpeg (19.64 KiB) Viewed 81 times


Initial desk with error message



2. After driver re-installation,
When I say Cinnamon crashes I mean that I get a message and a new desk.
The message is
Cinnamon vient de planter.png
In English: Cinnamon crashed


In English: Cinnamon crashed


Question in the message is: Do you want restart Cinnamon? I click NO.
The new desk is:
Nouveau Bureau2.jpeg
The new desk
Nouveau Bureau2.jpeg (22.33 KiB) Viewed 81 times


This new desk looks beautiful.


Why not keep this new desk? How to do to suppress the error message "Cinnamon vient de planter"?

Regards,
Leloup

Leloup
Level 1
Level 1
Posts: 33
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Postby Leloup » Sat Nov 11, 2017 3:00 pm

1. Temperature tests before driver re-installation:

chanson avec Cinnamon2.jpeg
PC heats due to a simple video.


PC heats due to a simple video

Temperature meets more of 80°C and the fan speed is more than 2600 rpm

2. Temperature tests after driver re-installation:

ChauffeMoins2.jpeg
PC does not heat

PC does not heat

In the same conditions, temperature meets only 65°C and the fan speed is less than 2200 rpm
The CPU activities is reduced. Why? While the GPU activities seems the same around 9% in both cases.
So, why not keep this new desk? I don't know its name. Can I suppress the error message?

Idea?

Regards,

Leloup


Return to “Sound, Multimedia, & Codecs”

Who is online

Users browsing this forum: No registered users and 3 guests