https://bugs.freedesktop.org/show_bug.cgi?id=53291 Bug #: 53291 Summary: Failed to allocate a buffer at CAYMAN Classification: Unclassified Product: DRI Version: DRI CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: libdrm AssignedTo: dri-devel@xxxxxxxxxxxxxxxxxxxxx ReportedBy: v10lator@xxxxxxxx I see this error randomly with different games. Good reproducable with minecraft (appears at the first minutes of gameplay). radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 4096 bytes radeon: domains : 2 This shows up in dmesg: Also (don't know if that is related or if I should open a new report for it) I randomly get a similar error. Good reproducible by playing two instances of minecraft at the same time: radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 256 bytes radeon: domains : 2 EE r600_texture.c:552 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy ########## GL ERROR ########## @ Pre render 1285: Out of memory Some more: radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 256 bytes radeon: domains : 2 EE r600_texture.c:552 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 256 bytes radeon: domains : 2 EE r600_texture.c:552 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 256 bytes radeon: domains : 2 EE r600_texture.c:552 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 256 bytes radeon: domains : 2 EE r600_texture.c:552 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 256 bytes radeon: domains : 2 EE r600_texture.c:552 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy ########## GL ERROR ########## @ Pre render 1285: Out of memory This shows up in dmesg: [ 2581.428385] radeon 0000:03:00.0: bo ffff880132b8d800 va 0x0277F000 conflict with (bo ffff880115520400 0x0277F000 0x02780000) [ 3226.086410] radeon 0000:03:00.0: bo ffff880137603800 va 0x04D20000 conflict with (bo ffff88012eba9000 0x04D20000 0x04D21000) [ 3226.087925] radeon 0000:03:00.0: bo ffff880137603800 va 0x04D20000 conflict with (bo ffff88012eba9000 0x04D20000 0x04D21000) [ 3226.092606] radeon 0000:03:00.0: bo ffff880137603800 va 0x04D20000 conflict with (bo ffff88012eba9000 0x04D20000 0x04D21000) [ 3226.093541] radeon 0000:03:00.0: bo ffff880137603800 va 0x04D20000 conflict with (bo ffff88012eba9000 0x04D20000 0x04D21000) [ 3226.094905] radeon 0000:03:00.0: bo ffff880137603800 va 0x04D20000 conflict with (bo ffff88012eba9000 0x04D20000 0x04D21000) [ 3226.448935] radeon 0000:03:00.0: bo ffff880137647400 va 0x04D4E000 conflict with (bo ffff880148407c00 0x04D4E000 0x04D4F000) [ 3278.230509] radeon 0000:03:00.0: bo ffff880149300000 va 0x148B1000 conflict with (bo ffff88012f656c00 0x148B1000 0x148B2000) [ 3759.347944] radeon 0000:03:00.0: bo ffff880113d36c00 va 0x04ED2000 conflict with (bo ffff88013d72bc00 0x04ED2000 0x04ED3000) [ 3899.333115] radeon 0000:03:00.0: bo ffff88013c35ac00 va 0x0C17B000 conflict with (bo ffff880115523800 0x0C17B000 0x0C17C000) [ 3960.510231] radeon 0000:03:00.0: bo ffff88012422bc00 va 0x05C49000 conflict with (bo ffff88014318fc00 0x05C49000 0x05C4A000) [ 3960.510673] radeon 0000:03:00.0: bo ffff88012422bc00 va 0x05C49000 conflict with (bo ffff88014318fc00 0x05C49000 0x05C4A000) [ 3960.511108] radeon 0000:03:00.0: bo ffff88012422bc00 va 0x05C49000 conflict with (bo ffff88014318fc00 0x05C49000 0x05C4A000) [ 3960.511716] radeon 0000:03:00.0: bo ffff8801374f9800 va 0x05C49000 conflict with (bo ffff88014318fc00 0x05C49000 0x05C4A000) [ 3960.512308] radeon 0000:03:00.0: bo ffff8801374f9800 va 0x05C49000 conflict with (bo ffff88014318fc00 0x05C49000 0x05C4A000) This is with the git versions of the radon driver, libdrm, mesa and the 3.5 kernel. The card beeing used is a Sapphire Radeon HD 6950 with 2GB. lspci -v: 03:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman PRO [Radeon HD 6950] (prog-if 00 [VGA controller]) Subsystem: PC Partner Limited Device 186b Flags: bus master, fast devsel, latency 0, IRQ 43 Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at fe9e0000 (64-bit, non-prefetchable) [size=128K] I/O ports at d000 [size=256] Expansion ROM at fe9c0000 [disabled] [size=128K] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [150] Advanced Error Reporting Kernel driver in use: radeon dmesg from booting: [ 0.570282] [drm] Initialized drm 1.1.0 20060810 [ 0.570313] [drm] radeon defaulting to kernel modesetting. [ 0.570315] [drm] radeon kernel modesetting enabled. [ 0.570597] [drm] initializing kernel modesetting (CAYMAN 0x1002:0x6719 0x174B:0x186B). [ 0.570621] [drm] register mmio base: 0xFE9E0000 [ 0.570623] [drm] register mmio size: 131072 [ 0.571137] ATOM BIOS: CAYMAN [ 0.571161] radeon 0000:03:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used) [ 0.571165] radeon 0000:03:00.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF [ 0.571404] [drm] Detected VRAM RAM=2048M, BAR=256M [ 0.571410] [drm] RAM width 256bits DDR [ 0.571458] [TTM] Zone kernel: Available graphics memory: 4082246 kiB [ 0.571460] [TTM] Zone dma32: Available graphics memory: 2097152 kiB [ 0.571463] [TTM] Initializing pool allocator [ 0.571466] [TTM] Initializing DMA pool allocator [ 0.571488] [drm] radeon: 2048M of VRAM memory ready [ 0.571491] [drm] radeon: 512M of GTT memory ready. [ 0.571505] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 0.571508] [drm] Driver supports precise vblank timestamp query. [ 0.571544] radeon 0000:03:00.0: irq 43 for MSI/MSI-X [ 0.571553] radeon 0000:03:00.0: radeon: using MSI. [ 0.571982] [drm] radeon: irq initialized. [ 0.571986] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 0.572985] [drm] Loading CAYMAN Microcode [ 0.574897] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). [ 0.574991] radeon 0000:03:00.0: WB enabled [ 0.574994] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff88022ea95c00 [ 0.574998] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff88022ea95c04 [ 0.575002] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff88022ea95c08 [ 0.593629] [drm] ring test on 0 succeeded in 3 usecs [ 0.594103] [drm] ib test on ring 0 succeeded in 0 usecs [ 0.603990] [drm] Radeon Display Connectors [ 0.603995] [drm] Connector 0: [ 0.603997] [drm] DP-1 [ 0.603998] [drm] HPD4 [ 0.604001] [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c [ 0.604003] [drm] Encoders: [ 0.604005] [drm] DFP1: INTERNAL_UNIPHY2 [ 0.604007] [drm] Connector 1: [ 0.604008] [drm] HDMI-A-1 [ 0.604009] [drm] HPD3 [ 0.604011] [drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c [ 0.604014] [drm] Encoders: [ 0.604015] [drm] DFP2: INTERNAL_UNIPHY2 [ 0.604017] [drm] Connector 2: [ 0.604018] [drm] DVI-D-1 [ 0.604020] [drm] HPD1 [ 0.604022] [drm] DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 0x648c 0x648c [ 0.604024] [drm] Encoders: [ 0.604025] [drm] DFP3: INTERNAL_UNIPHY1 [ 0.604027] [drm] Connector 3: [ 0.604029] [drm] DVI-I-1 [ 0.604030] [drm] HPD6 [ 0.604032] [drm] DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c [ 0.604034] [drm] Encoders: [ 0.604036] [drm] DFP4: INTERNAL_UNIPHY [ 0.604037] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [ 0.604315] [drm] Internal thermal controller with fan control [ 0.605470] [drm] radeon: power management initialized [ 0.651233] [drm] fb mappable at 0xD1142000 [ 0.651238] [drm] vram apper at 0xD0000000 [ 0.651240] [drm] size 8294400 [ 0.651242] [drm] fb depth is 24 [ 0.651243] [drm] pitch is 7680 [ 0.651378] fbcon: radeondrmfb (fb0) is primary device [ 0.862204] Console: switching to colour frame buffer device 240x67 [ 0.867946] fb0: radeondrmfb frame buffer device [ 0.867947] drm: registered panic notifier [ 0.867950] [drm] Initialized radeon 2.17.0 20080528 for 0000:03:00.0 on minor 0 uname -a: Linux horst 3.5.0 #2 SMP PREEMPT Sun Jul 29 17:30:51 CEST 2012 x86_64 AMD Athlon(tm) II X3 455 Processor AuthenticAMD GNU/Linux If you need any more information feel free to ask. :) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel