FS#9848 - Allocation memory by xf86-video-intel 2.2.1-1 driver
Attached to Project:
Arch Linux
Opened by Andrey Gusev (metal) - Sunday, 16 March 2008, 11:39 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 14 May 2008, 19:57 GMT
Opened by Andrey Gusev (metal) - Sunday, 16 March 2008, 11:39 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 14 May 2008, 19:57 GMT
|
Details
Description: New version of Intel driver isn't support
parameter "VideoRam" any more. It isn't good for systems
with small amount of memory. Example:
Mem: 498880k total, 490084k used, 8796k free, 16444k buffers Swap: 506008k total, 120k used, 505888k free, 143968k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3441 root 20 0 246m 39m 8528 S 2.0 8.0 6:10.78 Xorg Xorg cuts a half memory, because video driver allocates 128MB. Source code of current driver: #if 0 from = X_CONFIG; pScrn->videoRam = pI830->pEnt->device->videoRam; #else /* Disable VideoRam configuration, at least for now. Previously, * VideoRam was necessary to avoid overly low limits on allocated * memory, so users created larger, yet still small, fixed allocation * limits in their config files. Now, the driver wants to allocate more, * and the old intention of the VideoRam lines that had been entered is * obsolete. */ from = X_DEFAULT; pScrn->videoRam = pI830->FbMapSize / KB(1); if (pScrn->videoRam != pI830->pEnt->device->videoRam) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "VideoRam configuration found, which is no longer " "recommended.\n"); xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Continuing with default %dkB VideoRam instead of %d " "kB.\n", pScrn->videoRam, pI830->pEnt->device->videoRam); } #endif Additional info: * package version(s) xf86-video-intel 2.2.1-1 * config and/or log files etc. lines from Xorg.log: (WW) intel(0): VideoRam configuration found, which is no longer recommended. (II) intel(0): Continuing with default 131072kB VideoRam instead of 32768 kB. Steps to reproduce: 1) Install xf86-video-intel 2.2.1-1 2) Set VideoRam Parameter for driver. 3) Start X server. |
This task depends upon
if "VideoRam" is 32768, driver is failed to allocate memory.
if "VideoRam" is 65536, it works, but memory is not enough for "dri".
It looks like best solution is upgrade. Fortunately, it's possible for my machine.
If you're low on memory, use the older i810 driver, which allows setting memory limits.