Topic Title: fglrx(0): Not enough video memory to allocate primary surface (frame buffer)
Topic Summary: Problem w/FirePro 7900 + 3 heads on Debian Wheezy 64-bit
Created On: 06/14/2013 03:24 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 06/14/2013 03:24 PM
User is offline View Users Profile Print this message

Author Icon
mrpetkus
Peon

Posts: 1
Joined: 06/14/2013

I have a series of HP workstations in our control room running Debian Wheezy (7), each outfitted with FirePro v7900 and 3 heads (1x 30-inch, 2x20-inch).

When locking the screen or switching users, I get a blank screen. The only way to resolve is to reload the fglrx module and restart GDM3.

Logs complain:

fglrx(0): Not enough video memory to allocate primary surface (frame buffer)

xorg.conf:

Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Monitor"
    Identifier   "0-DFP5"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "PreferredMode" "2560x1600"
    Option        "TargetRefresh" "60"
    Option        "Position" "1200 0"
    Option        "Rotate" "normal"
    Option        "Disable" "false"
EndSection

Section "Monitor"
    Identifier   "0-DFP1"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "PreferredMode" "1600x1200"
    Option        "TargetRefresh" "60"
    Option        "Position" "0 0"
    Option        "Rotate" "left"
    Option        "Disable" "false"
EndSection

Section "Monitor"
    Identifier   "0-DFP13"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "PreferredMode" "1600x1200"
    Option        "TargetRefresh" "60"
    Option        "Position" "3760 0"
    Option        "Rotate" "left"
    Option        "Disable" "false"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    Option        "Monitor-DFP5" "0-DFP5"
    Option        "Monitor-DFP1" "0-DFP1"
    Option        "Monitor-DFP13" "0-DFP13"
    BusID       "PCI:5:0:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Virtual   4960 2560
        Depth     24
    EndSubSection
EndSection

 

DMESG:

[   12.803386] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[   12.884624] [fglrx] Maximum main memory to use for locked dma buffers: 31511 MBytes.
[   12.885379] [fglrx]   vendor: 1002 device: 6704 count: 1
[   12.886167] [fglrx] ioport: bar 4, base 0xb000, size: 0x100
[   12.890494] [fglrx] module loaded - fglrx 9.0.2 [Feb  7 2013] with 1 minors
[   16.899192] fglrx_pci 0000:05:00.0: irq 106 for MSI/MSI-X
[   16.899833] [fglrx] Firegl kernel thread PID: 3373
[   16.899945] [fglrx] Firegl kernel thread PID: 3374
[   16.900042] [fglrx] Firegl kernel thread PID: 3375
[   16.900155] [fglrx] IRQ 106 Enabled
[   16.988636] [fglrx] Gart USWC size:1280 M.
[   16.988640] [fglrx] Gart cacheable size:508 M.
[   16.988647] [fglrx] Reserved FB block: Shared offset:0, size:1000000
[   16.988651] [fglrx] Reserved FB block: Unshared offset:f8fc000, size:404000
[   16.988654] [fglrx] Reserved FB block: Unshared offset:7fff4000, size:c000
[  462.693491] [fglrx:firegl_lock_free] *ERROR* lock was not held by 3! (*lock=0x00000000)
[  462.693553] [fglrx:firegl_unlock] *ERROR* firegl_lock_free failed!
[  468.794772] [fglrx] Disabling driver built-in PAT support
[  468.923403] [fglrx] IRQ 106 Disabled
[  469.027187] [fglrx] module unloaded - fglrx 9.0.2 [Feb  7 2013]
[  476.302532] [fglrx] Maximum main memory to use for locked dma buffers: 31511 MBytes.
[  476.303199] [fglrx]   vendor: 1002 device: 6704 count: 1
[  476.303934] [fglrx] ioport: bar 4, base 0xb000, size: 0x100
[  476.308185] [fglrx] module loaded - fglrx 9.0.2 [Feb  7 2013] with 1 minors
[  476.931516] fglrx_pci 0000:05:00.0: irq 106 for MSI/MSI-X
[  476.932066] [fglrx] Firegl kernel thread PID: 5572
[  476.932291] [fglrx] Firegl kernel thread PID: 5573
[  476.932523] [fglrx] Firegl kernel thread PID: 5574
[  476.932626] [fglrx] IRQ 106 Enabled
[  477.019162] [fglrx] Gart USWC size:1280 M.
[  477.019165] [fglrx] Gart cacheable size:508 M.
[  477.019169] [fglrx] Reserved FB block: Shared offset:0, size:1000000
[  477.019172] [fglrx] Reserved FB block: Unshared offset:f8fc000, size:404000
[  477.019174] [fglrx] Reserved FB block: Unshared offset:7fff4000, size:c000

X.LOG:

[  2348.917] (==) fglrx(0):  PseudoColor visuals disabled
[  2348.917] (II) Loading sub module "ramdac"
[  2348.917] (II) LoadModule: "ramdac"
[  2348.917] (II) Module "ramdac" already built-in
[  2348.917] (==) fglrx(0): NoDRI = NO
[  2348.917] (==) fglrx(0): Capabilities: 0x00000000
[  2348.917] (==) fglrx(0): CapabilitiesEx: 0x00000000
[  2348.917] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
[  2348.917] (==) fglrx(0): UseFastTLS=0
[  2348.917] (--) Depth 24 pixmap format is 32 bpp
[  2348.917] (II) Loading extension ATIFGLRXDRI
[  2348.917] (II) fglrx(0): doing swlDriScreenInit
[  2348.917] (II) fglrx(0): swlDriScreenInit for fglrx driver
[  2348.917] ukiDynamicMajor: found major device number 250
[  2348.917] ukiDynamicMajor: found major device number 250
[  2348.917] ukiDynamicMajor: found major device number 250
[  2348.917] ukiOpenByBusid: Searching for BusID PCI:5:0:0
[  2348.917] ukiOpenDevice: node name is /dev/ati/card0
[  2348.917] ukiOpenDevice: open result is 13, (OK)
[  2348.917] ukiOpenByBusid: ukiOpenMinor returns 13
[  2348.917] ukiOpenByBusid: ukiGetBusid reports PCI:5:0:0
[  2348.917] (II) fglrx(0): [uki] DRM interface version 1.0
[  2348.917] (II) fglrx(0): [uki] created "fglrx" driver at busid "PCI:5:0:0"
[  2348.917] (II) fglrx(0): [uki] added 8192 byte SAREA at 0xca93000
[  2348.917] (II) fglrx(0): [uki] mapped SAREA 0xca93000 to 0x7f9594969000
[  2348.917] (II) fglrx(0): [uki] framebuffer handle = 0x3000
[  2348.917] (II) fglrx(0): [uki] added 1 reserved context for kernel
[  2348.917] (II) fglrx(0): swlDriScreenInit done
[  2348.917] (II) fglrx(0): Kernel Module Version Information:
[  2348.917] (II) fglrx(0):     Name: fglrx
[  2348.917] (II) fglrx(0):     Version: 8.98.2
[  2348.917] (II) fglrx(0):     Date: Jul 19 2012
[  2348.917] (II) fglrx(0):     Desc: AMD FireGL DRM kernel module
[  2348.917] (II) fglrx(0): Kernel Module version matches driver.
[  2348.917] (II) fglrx(0): Kernel Module Build Time Information:
[  2348.917] (II) fglrx(0):     Build-Kernel UTS_RELEASE:        3.2.0-4-amd64
[  2348.917] (II) fglrx(0):     Build-Kernel MODVERSIONS:        no
[  2348.917] (II) fglrx(0):     Build-Kernel __SMP__:            no
[  2348.917] (II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
[  2348.917] (II) fglrx(0): [uki] register handle = 0x00004000
[  2348.917] (II) fglrx(0): FIREGL Board Found
[  2348.917] (EE) fglrx(0): Not enough video memory to allocate primary surface
(frame buffer).
[  2348.917] (II) fglrx(0): Shutdown CMMQS
[  2348.917] (II) fglrx(0): [uki] removed 1 reserved context for kernel
[  2348.917] (II) fglrx(0): [uki] unmapping 8192 bytes of SAREA 0xca93000 at
0x7f9594969000
[  2348.917] (WW) fglrx(0):
***********************************************************
[  2348.917] (WW) fglrx(0): * DRI initialization failed
*
[  2348.917] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or
incompatible *
[  2348.917] (WW) fglrx(0): * 2D and 3D acceleration disabled
*
[  2348.917] (WW) fglrx(0):
***********************************************************
[  2348.917]
Fatal server error:
[  2348.917] AddScreen/ScreenInit failed for driver 0
[  2348.917]
[  2348.917]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2348.917] Please also check the log file at "/var/log/Xorg.7.log" for
additional information.
[  2348.917]
[  2349.271] Server terminated with error (1). Closing log file.
Statistics
84181 users are registered to the AMD Support and Game forum.
There are currently 8 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.