Created attachment 30885 [details] dmesg With some apps , firefox , thunderbird, mutter ... i get a bad alloc : The program 'firefox' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 44571 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) my config : - karmic koala - kernel 2.6.32-rc5-81-g964fe08 - latest drm and ddx from git master - dual head : xrandr Screen 0: minimum 320 x 200, current 2080 x 1024, maximum 4096 x 4096 VGA-0 connected 1280x1024+800+0 (normal left inverted right x axis y axis) 338mm x 270mm 1280x1024 60.0 + 75.0* 1152x864 75.0 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 DVI-0 disconnected (normal left inverted right x axis y axis) S-video connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 800x600 59.9*+ 640x480 59.9
Created attachment 30886 [details] [review] Xorg.0.log
extract from dmesg
[ 186.401916] [TTM] Failed moving buffer. Proposed placement 0x00060004 [ 186.401923] [TTM] Out of aperture space or DRM memory quota. [ 186.401939] [drm:radeon_object_create] *ERROR* Failed to allocate TTM object (31961088, 0x00060004, 0) [ 186.401945] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (31961088, 4, 4096)
Created attachment 30975 [details] [review] If BO creation in VRAM fails, retry without specific domain Does this patch help? Probably not an ideal solution though, e.g. the kernel messages will probably still appear.
(In reply to comment #4) > Created an attachment (id=30975) [details] > If BO creation in VRAM fails, retry without specific domain > > Does this patch help? > > Probably not an ideal solution though, e.g. the kernel messages will probably > still appear. > yes, it helps : - no more bad alloc (and crash) in firefox but as you wrote dmesg flooded by many [ 627.033240] [TTM] Out of aperture space or DRM memory quota. [ 627.033255] [drm:radeon_object_create] *ERROR* Failed to allocate TTM object (31961088, 0x00060004, 0) [ 627.033261] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (31961088, 4, 4096) [ 628.044093] [TTM] Failed moving buffer. Proposed placement 0x00060004
> yes, > > it helps : > - no more bad alloc (and crash) in firefox in fact, after surfing a while, i get some random corrupted or black images
i tried karmic xorg edgers PPA with latest libdrm and ddx git master on linux 2.6.32-rc8-11-ga8a8a66 and same problem Any update on this bug ? Is this being discussed or low id in the resolving queue ? i am willing to provide more info if needed, Greetings
(In reply to comment #7) > i tried karmic xorg edgers PPA with > latest libdrm and ddx git master on linux 2.6.32-rc8-11-ga8a8a66 > > and same problem > > Any update on this bug ? > Is this being discussed or low id in the resolving queue ? > > i am willing to provide more info if needed, > > Greetings > this seems to be resolved, but ;-) everything updated (xorg ppa / drm git / ddx git / mesa ppa) new issues : - a lot of 3d apps don't work in dualhead nexuiz launch: drmRadeonCmdBuffer: -12. Kernel failed to parse or rejected command stream. See dmesg for more info. dmesg: [ 8606.695866] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation ! it works single headed ??? - reading some but not all news in thunderbird result in xorg crash (segfault) [ 551.932958] Xorg[1845]: segfault at 0 ip 00007f8e76df321c sp 00007fffb3538f68 error 4 in libc-2.11.1.so[7f8e76d6d000+175000] should i fill new bugs ?
(In reply to comment #8) > (In reply to comment #7) > > i tried karmic xorg edgers PPA with > > latest libdrm and ddx git master on linux 2.6.32-rc8-11-ga8a8a66 > > > > and same problem > > > > Any update on this bug ? > > Is this being discussed or low id in the resolving queue ? > > > > i am willing to provide more info if needed, > > > > Greetings > > > > this seems to be resolved, > but ;-) > everything updated (xorg ppa / drm git / ddx git / mesa ppa) > new issues : > > - a lot of 3d apps don't work in dualhead > nexuiz launch: > drmRadeonCmdBuffer: -12. Kernel failed to parse or rejected command stream. See > dmesg for more info. > dmesg: > [ 8606.695866] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation ! > it works single headed ??? > > - reading some but not all news in thunderbird result in xorg crash (segfault) > [ 551.932958] Xorg[1845]: segfault at 0 ip 00007f8e76df321c sp > 00007fffb3538f68 error 4 in libc-2.11.1.so[7f8e76d6d000+175000] > > should i fill new bugs ? > oops forgot kernel 2.6.33-rc7-117-ge28cab4
> > oops forgot kernel 2.6.33-rc7-117-ge28cab4 > and last but not least setting s-video output to pal (ntsc ok except colors) result in white horizontal stripes every nth-lines ??? can play vid but not very comfortable.
Is this still an issue with a newer kernel and driver?
(In reply to comment #11) > Is this still an issue with a newer kernel and driver? not present anymore, you can close
Closing, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.