My PC heats due to video

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

My PC heats due to video

Post by Leloup »

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=vide ... 93986cd8be 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
powerwagon75
Level 4
Level 4
Posts: 339
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Post by powerwagon75 »

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
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: My PC heats due to video

Post by Hoser Rob »

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.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
powerwagon75
Level 4
Level 4
Posts: 339
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Post by powerwagon75 »

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
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

Bonjour,

Results of the inxi -Fxz command are:
  • ~ $ 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
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

Linux Mint and Video_.jpeg
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

Same measures without video
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

The same video from host (Win7) without Linux Mint
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

Concerning stats: They seem be the same.
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

How do you do to reduce the video resolutions?
User avatar
powerwagon75
Level 4
Level 4
Posts: 339
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Post by powerwagon75 »

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
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
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

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.
User avatar
powerwagon75
Level 4
Level 4
Posts: 339
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: My PC heats due to video

Post by powerwagon75 »

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
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

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

Re: My PC heats due to video

Post by dark »

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.
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

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
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

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 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


Question in the message is: Do you want restart Cinnamon? I click NO.
The new desk is:
Nouveau Bureau2.jpeg
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
User avatar
Leloup
Level 4
Level 4
Posts: 256
Joined: Sun Oct 08, 2017 1:43 pm

Re: My PC heats due to video

Post by Leloup »

1. Temperature tests before driver re-installation:
chanson avec Cinnamon2.jpeg

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

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
Locked

Return to “Sound”