Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-01-2007, 12:46 PM
|
#1
|
Member
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654
Rep:
|
slack12: X sluggish from composite extension?
I just upgraded to slack12. No problems noted, though I'm still merging some configs and init script stuff.
my setup:
slack12 - upgrade from 11.0
linux 2.6.22 (my own compile)
dell d820 (laptop)
intel core duo @ 2.0 GHz
1GB RAM
ICH7 (SATA)
intel i945GM chipset
intel HD audio
my WM of choice: XFCE
One complaint/question/problem I have not figured out: if I enable the X composite extension X seems to really hog the resources, 'top' will report as much as 90% CPU usage (which I think is only on of the cores) and conky shows up to 50% total when doing simple things like resizing windows and flipping workspaces.
if I turn off the composite extension ( no transparency ) I have no problems, and X never uses more than 1% (as reported by 'top' )
my xorg.conf:
Code:
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "GLcore"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 330 210 # mm
Identifier "Monitor0"
VendorName "CPT"
ModelName "13a6"
Option "DPMS" "true"
Option "StandbyTime" "10"
Option "SuspendTime" "20"
Option "OffTime" "30"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "VideoRam" "262144" # default detected = 262144
Option "PageFlip" "true" # [<bool>]
Option "DRI" "true" # [<bool>]
#Option "PageFlip" "true" #default=off 2D , on 3D
#Option "TripleBuffer" "true" #default=off 2D , on 3D
#Option "AccelMethod" "EXA" #default "XAA"
#Option "CacheLines" "8860" # default detected=4860"integer" higher=2D lower=3D ? only for XAA?
Option "DRI" "true" #default=probe
Option "AperTexSize" "32768" # default=32768 ,
#Option "XvMCSurfaces" "6" # defualt=disabled 6 or 7 # <i>
Option "XVideo" "true" # default=probe
Option "ModeDebug" "true" # use this line for extra modeline debugging
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
Section "DRI"
Mode 0666
EndSection
i have played with a bunch of driver settings (man intel, man xorg.conf) haven't found much about composite extension. increasing videoram doesn't help.
glxinfo shows DRI is enabled with or without composite enabled. but fps from glxgears drops 20-30% with composite enabled.
also (w/composite enabled) glxgears outputs and error:
Code:
libGL warning: 3D driver claims to not support visual 0x65
anyone have any tips?
diff -u /var/log/Xorg.0.log.old /var/log/Xorg.0.log > ~/Xorg.log.diff
Code:
--- /var/log/Xorg.0.log.old 2007-08-01 09:48:20.000000000 -0700
+++ /var/log/Xorg.0.log 2007-08-01 09:51:03.000000000 -0700
@@ -11,7 +11,7 @@
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-(==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 1 09:15:01 2007
+(==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 1 09:49:38 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
@@ -29,6 +29,7 @@
/usr/share/fonts/75dpi/:unscaled
(**) RgbPath set to "/usr/share/X11/rgb"
(**) ModulePath set to "/usr/lib/xorg/modules"
+(**) Extension "Composite" is enabled
(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81dcd60
@@ -845,11 +846,11 @@
(II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB)
(II) intel(0): 0x00028000-0x00037fff: xaa scratch (64 kB)
(II) intel(0): 0x007bf000: end of stolen memory
-(II) intel(0): 0x007bf000-0x007bffff: Core cursor (4 kB, 0x2f2eb000 physical)
-(II) intel(0): 0x007c0000-0x007c3fff: ARGB cursor (16 kB, 0x2e3ec000 physical)
-(II) intel(0): 0x007c4000-0x007c4fff: Core cursor (4 kB, 0x2f36d000 physical)
-(II) intel(0): 0x007c5000-0x007c8fff: ARGB cursor (16 kB, 0x2e3d8000 physical)
-(II) intel(0): 0x007c9000-0x007c9fff: overlay registers (4 kB, 0x23388000 physical)
+(II) intel(0): 0x007bf000-0x007bffff: Core cursor (4 kB, 0x1d82f000 physical)
+(II) intel(0): 0x007c0000-0x007c3fff: ARGB cursor (16 kB, 0x1c174000 physical)
+(II) intel(0): 0x007c4000-0x007c4fff: Core cursor (4 kB, 0x25e48000 physical)
+(II) intel(0): 0x007c5000-0x007c8fff: ARGB cursor (16 kB, 0x2a038000 physical)
+(II) intel(0): 0x007c9000-0x007c9fff: overlay registers (4 kB, 0x3334b000 physical)
(II) intel(0): 0x01000000-0x01ffffff: back buffer (10240 kB)
(II) intel(0): 0x02000000-0x02ffffff: depth buffer (10240 kB)
(II) intel(0): 0x04000000-0x07ffffff: front buffer (49120 kB)
@@ -871,7 +872,7 @@
(II) intel(0): [drm] DRM interface version 1.3
(II) intel(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) intel(0): [drm] added 8192 byte SAREA at 0xf93b8000
-(II) intel(0): [drm] mapped SAREA 0xf93b8000 to 0xb7b6a000
+(II) intel(0): [drm] mapped SAREA 0xf93b8000 to 0xb7bca000
(II) intel(0): [drm] framebuffer handle = 0xd4000000
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): Unable to use TTM-based memory manager with DRM version 1.6
@@ -1278,194 +1279,3 @@
(II) intel(0): Output TV disconnected
(II) intel(0): EDID for output TV
(II) 3rd Button detected: disabling emulate3Button
-(II) intel(0): [drm] removed 1 reserved context for kernel
-(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf93b8000 at 0xb7b6a000
-(EE) intel(0): I830 Vblank Pipe Setup Failed 0
-(II) intel(0): SDVO: W: 05 00 00 (SDVO_CMD_SET_ACTIVE_OUTPUTS)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 05 00 00 (SDVO_CMD_SET_ACTIVE_OUTPUTS)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 11 01 00 (SDVO_CMD_SET_TARGET_OUTPUT)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 16 00 00 00 00 00 00 00 00 (SDVO_CMD_SET_OUTPUT_TIMINGS_PART1)
-(II) intel(0): SDVO: R: (Not supported)
-(II) intel(0): SDVO: W: 10 00 (SDVO_CMD_SET_TARGET_INPUT)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 14 00 00 00 00 00 00 00 00 (SDVO_CMD_SET_INPUT_TIMINGS_PART1)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 15 00 00 00 00 1E 00 00 00 (SDVO_CMD_SET_INPUT_TIMINGS_PART2)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 21 01 (SDVO_CMD_SET_CLOCK_RATE_MULT)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): SDVO: W: 05 00 00 (SDVO_CMD_SET_ACTIVE_OUTPUTS)
-(II) intel(0): SDVO: R: (Success)
-(II) intel(0): Comparing regs from server start up to After LeaveVT
-(II) intel(0): DumpRegsBegin
-(II) intel(0): VCLK_DIVISOR_VGA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
-(II) intel(0): VCLK_DIVISOR_VGA1: 0x00031406 (n = 3, m1 = 20, m2 = 6)
-(II) intel(0): VCLK_POST_DIV: 0x00020002 (vga0 p1 = 4, p2 = 2, vga1 p1 = 2, p2 = 2)
-(II) intel(0): DPLL_TEST: 0x00010001 ()
-(II) intel(0): D_STATE: 0x00000000
-(II) intel(0): DSPCLK_GATE_D: 0x00001000
-(II) intel(0): RENCLK_GATE_D1: 0x00000000
-(II) intel(0): RENCLK_GATE_D2: 0x00000000
-(II) intel(0): SDVOB: 0x00480004 (disabled, pipe A, stall disabled, detected)
-(II) intel(0): SDVOC: 0x00480000 (disabled, pipe A, stall disabled, not detected)
-(II) intel(0): SDVOUDI: 0x00000040
-(II) intel(0): DSPARB: 0x00001d9c
-(II) intel(0): DSPFW1: 0x00000000
-(II) intel(0): DSPFW2: 0x00000000
-(II) intel(0): DSPFW3: 0x00000000
-(II) intel(0): ADPA: 0x40008c18 (disabled, pipe B, +hsync, +vsync)
-(II) intel(0): LVDS: 0xc0300300 (enabled, pipe B, 18 bit, 1 channel)
-(II) intel(0): DVOA: 0x00000000
-(II) intel(0): DVOB: 0x00480004
-(II) intel(0): DVOC: 0x00480000
-(II) intel(0): DVOA_SRCDIM: 0x00000000
-(II) intel(0): DVOB_SRCDIM: 0x00000000
-(II) intel(0): DVOC_SRCDIM: 0x00000000
-(II) intel(0): PP_CONTROL: 0x00000001 (power target: on)
-(II) intel(0): PP_STATUS: 0xc0000008 (on, ready, sequencing idle)
-(II) intel(0): PFIT_CONTROL: 0x80002668
-(II) intel(0): PFIT_PGM_RATIOS: 0x00000000
-(II) intel(0): PORT_HOTPLUG_EN: 0x00000020
-(II) intel(0): PORT_HOTPLUG_STAT: 0x00000400
-(II) intel(0): DSPACNTR: 0x00000000 (disabled, pipe A)
-(II) intel(0): DSPASTRIDE: 0x00000000 (0 bytes)
-(II) intel(0): DSPAPOS: 0x00000000 (0, 0)
-(II) intel(0): DSPASIZE: 0x00000000 (1, 1)
-(II) intel(0): DSPABASE: 0x00000000
-(II) intel(0): DSPASURF: 0x00000000
-(II) intel(0): DSPATILEOFF: 0x00000000
-(II) intel(0): PIPEACONF: 0x00000000 (disabled, single-wide)
-(II) intel(0): PIPEASRC: 0x027f01df (640, 480)
-(II) intel(0): FPA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
-(II) intel(0): FPA1: 0x00031108 (n = 3, m1 = 17, m2 = 8)
-(II) intel(0): DPLL_A: 0x04800003 (disabled, non-dvo, VGA, default clock, DAC/serial mode, p1 = 8, p2 = 10, SDVO mult 1)
-(II) intel(0): DPLL_A_MD: 0x00000000
-(II) intel(0): HTOTAL_A: 0x031f027f (640 active, 800 total)
-(II) intel(0): HBLANK_A: 0x03170287 (648 start, 792 end)
-(II) intel(0): HSYNC_A: 0x02ef028f (656 start, 752 end)
-(II) intel(0): VTOTAL_A: 0x020c01df (480 active, 525 total)
-(II) intel(0): VBLANK_A: 0x020401e7 (488 start, 517 end)
-(II) intel(0): VSYNC_A: 0x01eb01e9 (490 start, 492 end)
-(II) intel(0): BCLRPAT_A: 0x00000000
-(II) intel(0): VSYNCSHIFT_A: 0x00000000
-(II) intel(0): DSPBCNTR: 0x99000000 (enabled, pipe B)
-(II) intel(0): DSPBSTRIDE: 0x00001000 (4096 bytes)
-(II) intel(0): DSPBPOS: 0x00000000 (0, 0)
-(II) intel(0): DSPBSIZE: 0x02ff03ff (1024, 768)
-(II) intel(0): DSPBBASE: 0x00000000
-(II) intel(0): DSPBSURF: 0x00000000
-(II) intel(0): DSPBTILEOFF: 0x00000000
-(II) intel(0): PIPEBCONF: 0x80000000 (enabled, single-wide)
-(II) intel(0): PIPEBSRC: 0x03ff02ff (1024, 768)
-(II) intel(0): FPB0: 0x00041409 (n = 4, m1 = 20, m2 = 9)
-(II) intel(0): FPB1: 0x00031108 (n = 3, m1 = 17, m2 = 8)
-(II) intel(0): DPLL_B: 0x98026003 (enabled, non-dvo, spread spectrum clock, LVDS mode, p1 = 2, p2 = 14, SDVO mult 1)
-(II) intel(0): DPLL_B_MD: 0x00000000
-(II) intel(0): HTOTAL_B: 0x057f04ff (1280 active, 1408 total)
-(II) intel(0): HBLANK_B: 0x057f04ff (1280 start, 1408 end)
-(II) intel(0): HSYNC_B: 0x05340514 (1301 start, 1333 end)
-(II) intel(0): VTOTAL_B: 0x032f031f (800 active, 816 total)
-(II) intel(0): VBLANK_B: 0x032f031f (800 start, 816 end)
-(II) intel(0): VSYNC_B: 0x03230320 (801 start, 804 end)
-(II) intel(0): BCLRPAT_B: 0x00000000
-(II) intel(0): VSYNCSHIFT_B: 0x00000000
-(II) intel(0): VCLK_DIVISOR_VGA0: 0x00031108
-(II) intel(0): VCLK_DIVISOR_VGA1: 0x00031406
-(II) intel(0): VCLK_POST_DIV: 0x00020002
-(II) intel(0): VGACNTRL: 0xa2c4008e (disabled)
-(II) intel(0): TV_CTL: 0x10000000
-(II) intel(0): TV_DAC: 0x70000000
-(II) intel(0): TV_CSC_Y: 0x00000000
-(II) intel(0): TV_CSC_Y2: 0x00000000
-(II) intel(0): TV_CSC_U: 0x00000000
-(II) intel(0): TV_CSC_U2: 0x00000000
-(II) intel(0): TV_CSC_V: 0x00000000
-(II) intel(0): TV_CSC_V2: 0x00000000
-(II) intel(0): TV_CLR_KNOBS: 0x00000000
-(II) intel(0): TV_CLR_LEVEL: 0x00000000
-(II) intel(0): TV_H_CTL_1: 0x00000000
-(II) intel(0): TV_H_CTL_2: 0x00000000
-(II) intel(0): TV_H_CTL_3: 0x00000000
-(II) intel(0): TV_V_CTL_1: 0x00000000
-(II) intel(0): TV_V_CTL_2: 0x00000000
-(II) intel(0): TV_V_CTL_3: 0x00000000
-(II) intel(0): TV_V_CTL_4: 0x00000000
-(II) intel(0): TV_V_CTL_5: 0x00000000
-(II) intel(0): TV_V_CTL_6: 0x00000000
-(II) intel(0): TV_V_CTL_7: 0x00000000
-(II) intel(0): TV_SC_CTL_1: 0x00000000
-(II) intel(0): TV_SC_CTL_2: 0x00000000
-(II) intel(0): TV_SC_CTL_3: 0x00000000
-(II) intel(0): TV_WIN_POS: 0x00000000
-(II) intel(0): TV_WIN_SIZE: 0x00000000
-(II) intel(0): TV_FILTER_CTL_1: 0x00000000
-(II) intel(0): TV_FILTER_CTL_2: 0x00000000
-(II) intel(0): TV_FILTER_CTL_3: 0x00000000
-(II) intel(0): TV_CC_CONTROL: 0x00000000
-(II) intel(0): TV_CC_DATA: 0x00000000
-(II) intel(0): TV_H_LUMA_0: 0x00000000
-(II) intel(0): TV_H_LUMA_59: 0x00000000
-(II) intel(0): TV_H_CHROMA_0: 0x00000000
-(II) intel(0): TV_H_CHROMA_59: 0x00000000
-(II) intel(0): SR00: 0x03
-(II) intel(0): SR01: 0x01
-(II) intel(0): SR02: 0x0f
-(II) intel(0): SR03: 0x00
-(II) intel(0): SR04: 0x0e
-(II) intel(0): SR05: 0x00
-(II) intel(0): SR06: 0x00
-(II) intel(0): SR07: 0x00
-(II) intel(0): MSR: 0x67
-(II) intel(0): CR00: 0x5f
-(II) intel(0): CR01: 0x4f
-(II) intel(0): CR02: 0x50
-(II) intel(0): CR03: 0x82
-(II) intel(0): CR04: 0x55
-(II) intel(0): CR05: 0x81
-(II) intel(0): CR06: 0xbf
-(II) intel(0): CR07: 0x1f
-(II) intel(0): CR08: 0x00
-(II) intel(0): CR09: 0x4f
-(II) intel(0): CR0a: 0x0d
-(II) intel(0): CR0b: 0x0e
-(II) intel(0): CR0c: 0x00
-(II) intel(0): CR0d: 0x00
-(II) intel(0): CR0e: 0x06
-(II) intel(0): CR0f: 0x66
-(II) intel(0): CR10: 0x9c
-(II) intel(0): CR11: 0x8e
-(II) intel(0): CR12: 0x8f
-(II) intel(0): CR13: 0x28
-(II) intel(0): CR14: 0x1f
-(II) intel(0): CR15: 0x96
-(II) intel(0): CR16: 0xb9
-(II) intel(0): CR17: 0xa3
-(II) intel(0): CR18: 0xff
-(II) intel(0): CR19: 0x00
-(II) intel(0): CR1a: 0x00
-(II) intel(0): CR1b: 0x00
-(II) intel(0): CR1c: 0x00
-(II) intel(0): CR1d: 0x00
-(II) intel(0): CR1e: 0x00
-(II) intel(0): CR1f: 0x00
-(II) intel(0): CR20: 0x00
-(II) intel(0): CR21: 0x00
-(II) intel(0): CR22: 0x00
-(II) intel(0): CR23: 0x00
-(II) intel(0): CR24: 0x00
-(II) intel(0): pipe A dot 25200 n 3 m1 17 m2 8 p1 8 p2 10
-(II) intel(0): pipe B dot 100833 n 4 m1 20 m2 9 p1 2 p2 10
-(II) intel(0): DumpRegsEnd
-(II) intel(0): xf86UnbindGARTMemory: unbind key 0
-(II) intel(0): xf86UnbindGARTMemory: unbind key 1
-(II) intel(0): xf86UnbindGARTMemory: unbind key 2
-(II) intel(0): xf86UnbindGARTMemory: unbind key 3
-(II) intel(0): xf86UnbindGARTMemory: unbind key 4
-(II) intel(0): xf86UnbindGARTMemory: unbind key 6
-(II) intel(0): xf86UnbindGARTMemory: unbind key 7
-(II) intel(0): xf86UnbindGARTMemory: unbind key 5
-(II) intel(0): xf86UnbindGARTMemory: unbind key 8
-FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
Last edited by bioe007; 08-01-2007 at 12:53 PM.
|
|
|
08-01-2007, 03:50 PM
|
#2
|
LQ Newbie
Registered: Aug 2007
Distribution: Slackware 12.0
Posts: 22
Rep:
|
I think you need a graphics card. I don't think an integrated graphics controller has enough power to render all the sweet, sweet eye-candy.
|
|
|
08-02-2007, 12:39 AM
|
#3
|
Member
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654
Original Poster
Rep:
|
I would normally accept this advice, except that the composite extension/transparency worked fine with slack 11 and the same kernel.
I also have the same problem on my ATI radeon equipped inspiron 8500, which has P4@2.4GHz and 2GB RAM...
??
Last edited by bioe007; 08-02-2007 at 12:44 AM.
|
|
|
All times are GMT -5. The time now is 09:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|