You are not logged in.

#1 2011-11-22 12:06:43

kriz
Member
Registered: 2009-06-29
Posts: 96

reduce integrated intel graphics drain from ram

hello everyone

i've tried to reduce the amount of reserved memory for my graphicscard from 252 mb to 128 mb, but with no success.

lspci -vv

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
	Subsystem: Sony Corporation Device 820f
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at d0100000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at 1800 [size=8]
	Region 2: Memory at b0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at d0200000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: i915

xorg log

[    49.393] (II) LoadModule: "intel"
[    49.399] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    49.435] (II) Module intel: vendor="X.Org Foundation"
[    49.435] 	compiled for 1.11.2, module version = 2.17.0
[    49.435] 	Module class: X.Org Video Driver
[    49.435] 	ABI class: X.Org Video Driver, version 11.0
[    49.435] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
	Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
	Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
	Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
	Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
	Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[    49.437] (--) using VT number 5

[    49.445] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    49.446] drmOpenDevice: node name is /dev/dri/card0
[    49.446] drmOpenDevice: open result is 10, (OK)
[    49.446] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    49.446] drmOpenDevice: node name is /dev/dri/card0
[    49.446] drmOpenDevice: open result is 10, (OK)
[    49.446] drmOpenByBusid: drmOpenMinor returns 10
[    49.446] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    49.446] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    49.446] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    49.446] (==) intel(0): RGB weight 888
[    49.446] (==) intel(0): Default visual is TrueColor
[    49.446] (II) intel(0): Integrated Graphics Chipset: Intel(R) 945GM
[    49.446] (--) intel(0): Chipset: "945GM"
[    49.446] (**) intel(0): Relaxed fencing disabled
[    49.446] (**) intel(0): Wait on SwapBuffers? enabled
[    49.446] (**) intel(0): Triple buffering? enabled
[    49.446] (**) intel(0): Framebuffer tiled
[    49.446] (**) intel(0): Pixmaps tiled
[    49.446] (**) intel(0): 3D buffers tiled
[    49.446] (**) intel(0): SwapBuffers wait enabled
[    49.446] (==) intel(0): video overlay key set to 0x101fe
[    49.446] (II) intel(0): Output LVDS1 has no monitor section
[    49.447] (II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
[    49.480] (II) intel(0): Output VGA1 has no monitor section
[    49.791] (II) intel(0): Output TV1 has no monitor section
[    49.791] (II) intel(0): EDID for output LVDS1
[    49.791] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[    49.791] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[    49.791] (II) intel(0): Printing probed modes for output LVDS1
[    49.791] (II) intel(0): Modeline "1280x800"x59.9   72.00  1280 1328 1360 1456  800 803 809 825 -hsync -vsync (49.5 kHz)
[    49.791] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    49.791] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    49.791] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    49.791] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    49.820] (II) intel(0): EDID for output VGA1
[    50.127] (II) intel(0): EDID for output TV1
[    50.128] (II) intel(0): Output LVDS1 connected
[    50.128] (II) intel(0): Output VGA1 disconnected
[    50.128] (II) intel(0): Output TV1 disconnected
[    50.128] (II) intel(0): Using exact sizes for initial modes
[    50.128] (II) intel(0): Output LVDS1 using initial mode 1280x800
[    50.128] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    50.128] (II) intel(0): Kernel page flipping support detected, enabling
[    50.128] (==) intel(0): DPI set to (96, 96)
[    50.128] (II) Loading sub module "fb"
[    50.128] (II) LoadModule: "fb"
[    50.128] (II) Loading /usr/lib/xorg/modules/libfb.so
[    50.138] (II) Module fb: vendor="X.Org Foundation"
[    50.138] 	compiled for 1.11.2, module version = 1.0.0
[    50.138] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    50.138] (II) Loading sub module "dri2"
[    50.138] (II) LoadModule: "dri2"
[    50.138] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    50.138] (II) Module dri2: vendor="X.Org Foundation"
[    50.138] 	compiled for 1.11.2, module version = 1.2.0
[    50.138] 	ABI class: X.Org Server Extension, version 6.0
[    50.138] (==) Depth 24 pixmap format is 32 bpp
[    50.138] (II) intel(0): [DRI2] Setup complete
[    50.138] (II) intel(0): [DRI2]   DRI driver: i915
[    50.138] (II) intel(0): Allocated new frame buffer 1280x800 stride 8192, tiled
[    50.138] (II) UXA(0): Driver registered support for the following operations:
[    50.138] (II)         solid
[    50.138] (II)         copy
[    50.138] (II)         composite (RENDER acceleration)
[    50.138] (II)         put_image
[    50.138] (II)         get_image
[    50.138] (==) intel(0): Backing store disabled
[    50.138] (==) intel(0): Silken mouse enabled
[    50.138] (II) intel(0): Initializing HW Cursor
[    50.160] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    50.161] (==) intel(0): DPMS enabled
[    50.161] (==) intel(0): Intel XvMC decoder disabled
[    50.162] (II) intel(0): Set up textured video
[    50.162] (II) intel(0): Set up overlay video
[    50.162] (II) intel(0): direct rendering: DRI2 Enabled
[    50.162] (==) intel(0): hotplug detection: "enabled"
[    50.162] (--) RandR disabled
[    50.162] (II) Initializing built-in extension Generic Event Extension
[    50.162] (II) Initializing built-in extension SHAPE
[    50.162] (II) Initializing built-in extension MIT-SHM
[    50.162] (II) Initializing built-in extension XInputExtension
[    50.162] (II) Initializing built-in extension XTEST
[    50.162] (II) Initializing built-in extension BIG-REQUESTS
[    50.162] (II) Initializing built-in extension SYNC
[    50.162] (II) Initializing built-in extension XKEYBOARD
[    50.162] (II) Initializing built-in extension XC-MISC
[    50.162] (II) Initializing built-in extension SECURITY
[    50.162] (II) Initializing built-in extension XINERAMA
[    50.162] (II) Initializing built-in extension XFIXES
[    50.162] (II) Initializing built-in extension RENDER
[    50.162] (II) Initializing built-in extension RANDR
[    50.162] (II) Initializing built-in extension COMPOSITE
[    50.162] (II) Initializing built-in extension DAMAGE
[    50.320] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    50.320] (II) AIGLX: enabled GLX_INTEL_swap_event
[    50.320] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    50.320] (II) AIGLX: enabled GLX_SGI_make_current_read
[    50.320] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    50.320] (II) AIGLX: Loaded and initialized i915
[    50.320] (II) GLX: Initialized DRI2 GL provider for screen 0
[    50.320] (II) intel(0): Setting screen physical size to 338 x 211
[    50.819] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[    50.819] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    50.819] (**) Video Bus: Applying InputClass "Keyboard Defaults"
[    50.819] (II) LoadModule: "evdev"
[    50.820] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    50.825] (II) Module evdev: vendor="X.Org Foundation"
[    50.825] 	compiled for 1.10.99.902, module version = 2.6.0
[    50.825] 	Module class: X.Org XInput Driver
[    50.826] 	ABI class: X.Org XInput driver, version 13.0
[    50.826] (II) Using input driver 'evdev' for 'Video Bus'
[    50.826] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    50.826] (**) Video Bus: always reports core events
[    50.826] (**) Video Bus: Device: "/dev/input/event2"
[    50.826] (--) Video Bus: Found keys
[    50.826] (II) Video Bus: Configuring as keyboard
[    50.826] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input2/event2"
[    50.826] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
...

and my try for configuring it

/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
    Identifier "Default Device"
    Driver "intel"
    VideoRam        131072
EndSection

Last edited by kriz (2011-11-22 13:29:54)


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#2 2011-11-22 13:26:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: reduce integrated intel graphics drain from ram

Please edit your post.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#3 2011-11-22 13:27:47

kriz
Member
Registered: 2009-06-29
Posts: 96

Re: reduce integrated intel graphics drain from ram

/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
    Identifier "Card0"
    Driver "intel"
    VideoRam 130304 # calculated 131072 - 512-256 [minus non-prefetchable memory]
EndSection

didn't do it either

Last edited by kriz (2011-11-22 13:30:52)


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

Board footer

Powered by FluxBB