Linux Display powersaving results in high load
#1
Question 
Greetings,

Since a couple of days i'm experiencing something weird. When XBMC puts my display to sleep the load of my machine starts raising to 100%
A short investigation shows that while the display is off, the following is going on in the log files:

Code:
00:00:13 T:140446103701376    INFO: DPMS: enabled power-saving mode SUSPEND
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Vblank counter has reset
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Detaching glX context
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Attaching glX context
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Vblank counter has reset
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Cleaning up GLX
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Setting up GLX
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Detected refreshrate: 60 hertz
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Vblank counter has reset
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Detaching glX context
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Attaching glX context
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Vblank counter has reset
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Cleaning up GLX
00:00:13 T:140445687052032   DEBUG: CVideoReferenceClock: Setting up GLX
00:00:14 T:140445687052032   DEBUG: CVideoReferenceClock: Detected refreshrate: 60 hertz
00:00:14 T:140445687052032   DEBUG: CVideoReferenceClock: Vblank counter has reset
00:00:14 T:140445687052032   DEBUG: CVideoReferenceClock: Detaching glX context
00:00:14 T:140445687052032   DEBUG: CVideoReferenceClock: Attaching glX context
00:00:14 T:140445687052032   DEBUG: CVideoReferenceClock: Vblank counter has reset
etc.....

At the same time my Xorg.0.log shows:
Code:
[   338.633] (II) intel(0): EDID vendor "SAM", prod id 1989
[   338.633] (II) intel(0): Using hsync ranges from config file
[   338.633] (II) intel(0): Using vrefresh ranges from config file
[   338.633] (II) intel(0): Printing DDC gathered Modelines:
[   338.633] (II) intel(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[   338.633] (II) intel(0): Modeline "1360x768"x0.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz)
[   338.633] (II) intel(0): Modeline "1920x1080"x0.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz)
[   338.633] (II) intel(0): Modeline "1280x720"x0.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz)
[   338.633] (II) intel(0): Modeline "1920x1080i"x0.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz)
[   338.633] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[   338.633] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[   338.633] (II) intel(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz)
[   338.633] (II) intel(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[   338.633] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[   338.633] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[   338.633] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[   338.633] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[   338.633] (II) intel(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[   338.633] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[   338.633] (II) intel(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[   338.633] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[   338.633] (II) intel(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[   338.633] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[   338.633] (II) intel(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz)
[   338.633] (II) intel(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[   338.633] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[   338.633] (II) intel(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz)
[   338.633] (II) intel(0): Modeline "1440x900"x0.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz)
[   338.633] (II) intel(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz)
[   338.633] (II) intel(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[   338.633] (II) intel(0): Modeline "720x576"x0.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz)
[   338.633] (II) intel(0): Modeline "1920x1080"x0.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz)
[   338.633] (II) intel(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz)
[   338.633] (II) intel(0): Modeline "1440x480i"x0.0   27.00  1440 1478 1602 1716  480 488 494 525 interlace -hsync -vsync (15.7 kHz)
[   338.633] (II) intel(0): Modeline "1440x576i"x0.0   27.00  1440 1464 1590 1728  576 580 586 625 interlace -hsync -vsync (15.6 kHz)
[   338.633] (II) intel(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz)
[   338.633] (II) intel(0): Modeline "1920x1080"x0.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz)
[   338.633] (II) intel(0): Modeline "1920x1080"x0.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz)
[   338.633] (II) intel(0): Modeline "2880x480"x0.0  108.00  2880 2944 3192 3432  480 489 495 525 -hsync -vsync (31.5 kHz)
etc.....

This will continue until I wakup XBMC again.

Please advise and thanks in advance.

Regards, Drempel
Reply
#2
Were you playing a video?
Reply
#3
No, just in the home screen
Reply
#4
Very strange then, because CVideoReferenceClock shouldn't be running when no video is playing.
Reply
#5
Is this worth a bug submit or do you think this is related to something else?

Version info
XBMC 11.0 Git:37d89f7 (Compiled: Mar 25 2012)
Screen resolution: [email protected] - Full screen (99.11 fps)
Operating System: Ubuntu (Linux 3.0.0-16 generic #29-Ubuntu SMP)
Video specific info:
xserver-xorg-video-intel: 2.18.0
libdrm-intel1: 2.4.32
Mesa: 8.0.2
Reply
#6
This seems to be an issue specific to the pvr branch.
Reply
#7
PVR branch?

I might not understand what you mean but as far as I know i'm not using the PVR function.
Reply

Logout Mark Read Team Forum Stats Members Help
Display powersaving results in high load0