Bug 6108 - High grafic activity on idle desktop with intel i3 grafics and none 3D desktop effects
Summary: High grafic activity on idle desktop with intel i3 grafics and none 3D deskto...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords: Triaged, UPSTREAM
Depends on:
Blocks:
 
Reported: 2012-05-26 20:16 CEST by David Martinez Rodriguez
Modified: 2015-02-14 01:59 CET (History)
4 users (show)

See Also:
Source RPM: kernel
CVE:
Status comment:


Attachments

Description David Martinez Rodriguez 2012-05-26 20:16:32 CEST
Description of problem: I'm noticing that the grafic activity  (the fan runs at a high rate) on the desktop of Mageia2 is quite high.
The notebook has two graphics (Intel i3 HD and Nvidia GT 525m). It is supposed to be working with Intel (at least to set the graphical server, this is the option to set out).
3D desktop effects are disabled. And desktop effects are turned on, but turning them off makes no difference in fan speed.
Under windows 7 on the desktop with intel graphics, fan has a very low noise.

/boot/grub/menu.lst

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd1,5)/boot/gfxmenu
default 0

title MAGEIA 2 X64
kernel (hd1,5)/boot/vmlinuz BOOT_IMAGE=MAGEIA_2_X64 root=UUID=2c67d050-fc3c-4ce0-b270-f2c1dd7e6751 splash quiet resume=UUID=a160b742-53bb-4be1-894f-a6b914cb028c xdriver=intel vga=788
initrd (hd1,5)/boot/initrd.img

title linux-nonfb
kernel (hd1,5)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=2c67d050-fc3c-4ce0-b270-f2c1dd7e6751 resume=UUID=a160b742-53bb-4be1-894f-a6b914cb028c
initrd (hd1,5)/boot/initrd.img

title failsafe
kernel (hd1,5)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=2c67d050-fc3c-4ce0-b270-f2c1dd7e6751 failsafe
initrd (hd1,5)/boot/initrd.img

title WINDOWS 7 ULTIMATE X64
root (hd0,0)
makeactive
chainloader +1




Version-Release number of selected component (if applicable):


How reproducible:

Notebook (in my case Dell XPS15) with intel i3 or i5 grafic.
LiveCD x86_64 instalation
No 3D desktop effects
desktop in idle= medium fan noise with no grafic activity suposed.

Steps to Reproduce:
1. 
2.
3.
Comment 1 Manuel Hiebel 2012-05-28 12:47:16 CEST
well, what said top or ps ?

Component: Security => RPM Packages

Comment 2 David Martinez Rodriguez 2012-05-28 18:01:25 CEST
I've notice that every time I boot my laptop (DEL XPS15) the graphical boot thing comes up for a little bit and then the screen goes black and shows this error:

drm:intel_dsm_platform_mux_info: *error* mux info call failed
drm:intel_dsm_platform_mux_info: *error* mux info call failed

It seems to be relacionated with the hight grafic activity of the intel (i3) graffic card on Mageia2 desktop.

Target Milestone: --- => Mageia 2

Comment 3 David Martinez Rodriguez 2012-07-29 11:46:13 CEST
ps information:

4838 pts/1    00:00:00 su
5234 pts/1    00:00:00 bash
5896 pts/1    00:00:00 ps

top information:

top - 11:44:07 up 12 min,  3 users,  load average: 0.35, 0.37, 0.36
Tasks: 186 total,   2 running, 184 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.6%us,  2.3%sy,  0.1%ni, 93.0%id,  0.0%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   3944784k total,  1954884k used,  1989900k free,    31028k buffers
Swap:  4088504k total,        0k used,  4088504k free,   988268k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                 
  856 root      20   0  161m  40m  26m S    5  1.1   0:47.29 X                                                                                       
 4809 david     20   0  542m  47m  22m S    2  1.2   0:15.99 konsole                                                                                 
 2917 david     20   0  814m  76m  38m S    1  2.0   0:17.94 kwin                                                                                    
   24 root      20   0     0    0    0 R    0  0.0   0:00.90 kworker/0:1                                                                             
 2746 david     20   0 13872 1324 1092 S    0  0.0   0:00.40 gam_server                                                                              
 3431 david     20   0  318m  48m  14m S    0  1.2   0:00.86 mgaapplet                                                                               
 3436 david     20   0  256m  46m  13m S    0  1.2   0:02.47 net_applet                                                                              
 5906 root      20   0 11044 1252  884 R    0  0.0   0:01.21 top                                                                                     
    1 root      20   0 46652 4920 2064 S    0  0.1   0:00.56 systemd                                                                                 
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd                                                                                
    3 root      20   0     0    0    0 S    0  0.0   0:00.01 ksoftirqd/0                                                                             
    6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0                                                                             
    7 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1                                                                             
    9 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1                                                                             
   10 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/2                                                                             
   12 root      20   0     0    0    0 S    0  0.0   0:00.01 ksoftirqd/2                                                                             
   13 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/3                                                                             
   15 root      20   0     0    0    0 S    0  0.0   0:00.01 ksoftirqd/3                                                                             
   16 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset                                                                                  
   17 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper                                                                                 
   18 root      20   0     0    0    0 S    0  0.0   0:00.00 kdevtmpfs                                                                               
   19 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns                                                                                   
   20 root      20   0     0    0    0 S    0  0.0   0:00.00 sync_supers                                                                             
   21 root      20   0     0    0    0 S    0  0.0   0:00.00 bdi-default                                                                             
   22 root       0 -20     0    0    0 S    0  0.0   0:00.00 kintegrityd                                                                             
   23 root       0 -20     0    0    0 S    0  0.0   0:00.00 kblockd                                                                                 
   25 root       0 -20     0    0    0 S    0  0.0   0:00.00 md                                                                                      
   26 root      20   0     0    0    0 S    0  0.0   0:00.00 khungtaskd                                                                              
   27 root      20   0     0    0    0 S    0  0.0   0:00.00 kswapd0                                                                                 
   28 root      25   5     0    0    0 S    0  0.0   0:00.00 ksmd
Comment 4 Yves Gaël Chény 2012-08-30 15:54:02 CEST
is it an optimus nvidia chipset ( with both nvidia and intel ).
In this case, the nvidia graphical is by default in performance mode ( but not in use ) into mageia.

The solution is to install something like bumblebee and use bbswitch => https://github.com/Bumblebee-Project/bbswitch  to turn off the card.

Can you confirm if it works after ?

thx 
hurdman.

CC: (none) => yves

Comment 5 Yves Gaël Chény 2012-08-30 15:59:19 CEST
 package are into cauldron
Comment 6 David Martinez Rodriguez 2012-08-31 17:44:43 CEST
Thanks Yves, I've solved the problem using "bbswitch" and some "git" orders to turn off the nvidia card.

-I've bbswitch charged into the kernel.
- and "git" installed.

As root:
1- modprobe bbswitch load_state=0 unload_state=1
2- cd acpi_call
3- make
4- insmod acpi_call.ko
5- chmod +x test_off.sh
6- ./test_off.sh
7- echo '\_SB.PCI0.PEG0.PEGP._OFF' > /proc/acpi/call

"cat /proc/acpi/bbswitch" will confirm that nvidia card is OFF
"tee /proc/acpi/bbswitch <<<OFF" can turn off nvidia card too if no nvidia driver or nouveau it's charged.
Comment 7 Samuel Verschelde 2013-09-06 18:11:06 CEST
tmb, is there something that can be done to solve this optimus chipset problem by default?

CC: (none) => stormi, tmb

Comment 8 Thomas Backlund 2013-09-06 20:36:33 CEST
Not really for mga2/3 :/

For mga4 with kernel >= 3.12 there will be gpu pm runtime management in kernel
that will allow to automatically power down gpu not in use.
Comment 9 Samuel Verschelde 2013-09-06 21:06:46 CEST
If you don't mind I'm setting version to cauldron and assigning to you then.

To the bug reporter: see comment #8. Only way to try and fix your problem in default kernel is to wait for Mageia 4.

Keywords: (none) => Triaged, UPSTREAM
Version: 2 => Cauldron
Assignee: bugsquad => tmb
Target Milestone: Mageia 2 => ---
Source RPM: (none) => kernel

Comment 10 Rémi Verschelde 2015-02-14 01:59:53 CET
AFAICT power management works out of the box for Optimus laptops since Mageia 4.

Status: NEW => RESOLVED
CC: (none) => remi
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.