[dri] constant bus activity due to DMAing everything
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Invalid
|
Medium
|
|||
X.Org X server |
Fix Released
|
Medium
|
|||
xorg-server (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
If I enable dri in xorg config,
there is always bus activity, so my processor can not enter C3 power mode.
This shortens the battery time nearly 1 hour.
dri issue:
fritsch@
active state: C2
max_cstate: C8
bus master activity: 836ad6b5
states:
C1: type[C1] promotion[C2] demotion[--] latency[001]
usage[00000010]
*C2: type[C2] promotion[C3] demotion[C1] latency[001]
usage[00459416]
C3: type[C3] promotion[--] demotion[C2] latency[085]
usage[00021443]
But If I switch to a text konsole, while X is still running, C3 state
can be entered.
If I disable dri und stop moving my mouse, dri can be entered!
When I start moving my mouse, there is bus master activity again, also dri is
disabled.
summary:
dri enable (VT7): no C3 state at all
dri enable (VT1): C3 working
dri disable no mouse moving(VT7): C3 state is working
My Hardware is Thinkpad R40 2722-B3G with a Radeon 7500 Mobility.
xserver-xorg:
6.8.2-48
xorg.conf
Section "Files"
# FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/var/lib/
FontPath "/var/lib/
FontPath "/usr/share/
FontPath "/usr/share/
#mdollar webcore fonts, ripped from fedora
FontPath "/usr/share/
FontPath "/usr/share/
FontPath "/usr/share/
FontPath "/usr/share/
FontPath "/usr/share/
FontPath "/usr/share/
FontPath "/usr/share/
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbOptions" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorziScrollDelta" "10"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "Emulate3Buttons" "true"
# Option "Repeater"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"
Driver "radeon"
BusID "PCI:1:0:0"
Option "DynamicClocks" "true"
# Option "UseFBDev" "true"
VideoRam 32768
EndSection
Section "Monitor"
Identifier "lcd"
DisplaySize 313 235
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility 7500 (M7 LW)"
Monitor "lcd"
SubSection "Display"
SubSection "Display"
SubSection "Display"
SubSection "Display"
SubSection "Display"
SubSection "Display"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Changed in xorg: | |
assignee: | daniels → nobody |
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in xorg-server: | |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Incomplete |
Changed in linux: | |
status: | Incomplete → Invalid |
Changed in xorg-server: | |
status: | Confirmed → Fix Released |
Changed in xorg-server: | |
importance: | Unknown → Medium |
Changed in xorg-server: | |
importance: | Medium → Unknown |
Changed in linux: | |
importance: | Unknown → Medium |
Changed in xorg-server: | |
importance: | Unknown → Medium |
This is normal - DMA activity prevents C3 state. X should arguably not be doing
DMA all the time while using DRI, but...