Bug 22398 - Googleearth and Mplayer crashes
Summary: Googleearth and Mplayer crashes
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 04:38 UTC by Alexey Shildyakov
Modified: 2014-07-07 16:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alexey Shildyakov 2009-06-21 04:38:09 UTC
I have Gentoo Linux amd64 (x86_64).
05:00.0 VGA compatible controller: ATI Technologies Inc RV380 0x3e50 [Radeon X600]

media-libs/mesa-7.5_rc3
x11-apps/mesa-progs-7.4.1

DRI is enabled in kernel 2.6.29-r5

Google crash with this:
libGL warning: 3D driver claims to not support visual 0x68                   
libGL warning: 3D driver claims to not support visual 0x69                   
libGL warning: 3D driver claims to not support visual 0x57                   
libGL warning: 3D driver claims to not support visual 0x6a                   
libGL warning: 3D driver claims to not support visual 0x6b                   
libGL warning: 3D driver claims to not support visual 0x6c                   
libGL warning: 3D driver claims to not support visual 0x21                   
libGL warning: 3D driver claims to not support visual 0x6d                   
libGL warning: 3D driver claims to not support visual 0x6e                   
libGL warning: 3D driver claims to not support visual 0x6f                   
libGL warning: 3D driver claims to not support visual 0x70                   
libGL warning: 3D driver claims to not support visual 0x71                   
libGL warning: 3D driver claims to not support visual 0x72                   
libGL warning: 3D driver claims to not support visual 0x73                   
libGL warning: 3D driver claims to not support visual 0x22                   
libGL warning: 3D driver claims to not support visual 0x74                   
*********************************WARN_ONCE*********************************  
File r300_render.c function r300Fallback line 428                            
Software fallback:ctx->Line.SmoothFlag                                       
***************************************************************************  
Try R300_SPAN_DISABLE_LOCKING env var if this hangs.                         
*********************************WARN_ONCE*********************************  
File r300_state.c function r300Enable line 512                               
TODO - double side stencil !                                                 
***************************************************************************  
*********************************WARN_ONCE*********************************  
File r300_state.c function r300_setup_rs_unit line 1391                      
fragprog wants coords for tex0, vp doesn't provide them!                     
***************************************************************************
drmRadeonCmdBuffer: -22 (exiting)

Mplayer randomly crashes with this:
drmRadeonCmdBuffer: -12 or similar
I cannot recognize it.

It seems related to:
https://bugs.freedesktop.org/show_bug.cgi?id=7445
https://bugs.freedesktop.org/show_bug.cgi?id=10753
Comment 1 Alexey Shildyakov 2009-06-22 08:19:02 UTC
I update mesa to Git mesa_7_4_branch.
Firstly Googleearth run fine.
But then googleearth crash with that error.
Comment 2 Michel Dänzer 2009-06-22 11:21:56 UTC
> I have Gentoo Linux amd64 (x86_64).

> media-libs/mesa-7.5_rc3

> libGL warning: 3D driver claims to not support visual 0x68                   

Those warnings were removed from libGL a while ago... Note that Google Earth is a 32 bit application, and it looks like the 32 bit version of Mesa on your system is old.

> drmRadeonCmdBuffer: -22 (exiting)

> drmRadeonCmdBuffer: -12 or similar

Anything in dmesg for these?
Comment 3 Alexey Shildyakov 2009-06-22 13:33:15 UTC
[20530.798871] [drm:r300_do_cp_cmdbuf] *ERROR* r300_scratch failed
[20530.836211] googleearth-bin used greatest stack depth: 3160 bytes left
Comment 4 Alexey Shildyakov 2009-06-23 22:47:06 UTC
Now mplayer crashed with drmRadeonCmdBuffer: -12
Dmesg:
Jun 24 09:43:08 SERVER [54427.177845] mplayer: page allocation failure. order:4, mode:0x40d0
Jun 24 09:43:08 SERVER [54427.177851] Pid: 12582, comm: mplayer Not tainted 2.6.29-gentoo-r5 #9
Jun 24 09:43:08 SERVER [54427.177854] Call Trace:
Jun 24 09:43:08 SERVER [54427.177864]  [<ffffffff810992dd>] __alloc_pages_internal+0x41e/0x43d
Jun 24 09:43:08 SERVER [54427.177885]  [<ffffffff810b9feb>] alloc_pages_current+0xb9/0xc2
Jun 24 09:43:08 SERVER [54427.177889]  [<ffffffff810986a1>] __get_free_pages+0xe/0x4d
Jun 24 09:43:08 SERVER [54427.177893]  [<ffffffff810bedc3>] __kmalloc+0x38/0xc9
Jun 24 09:43:08 SERVER [54427.177898]  [<ffffffff8127f745>] drm_alloc+0xe/0x10
Jun 24 09:43:08 SERVER [54427.177901]  [<ffffffff8127f8ee>] radeon_cp_cmdbuf+0x13c/0x15c3
Jun 24 09:43:08 SERVER [54427.177905]  [<ffffffff8128171a>] ? radeon_cp_texture+0x996/0xb3d
Jun 24 09:43:08 SERVER [54427.177910]  [<ffffffff810575db>] ? local_bh_enable_ip+0x9/0xb
Jun 24 09:43:08 SERVER [54427.177914]  [<ffffffff8146a575>] ? _spin_unlock_bh+0xf/0x11
Jun 24 09:43:08 SERVER [54427.177919]  [<ffffffff812689a4>] drm_ioctl+0x1dd/0x265
Jun 24 09:43:08 SERVER [54427.177922]  [<ffffffff8127f7b2>] ? radeon_cp_cmdbuf+0x0/0x15c3
Jun 24 09:43:08 SERVER [54427.177925]  [<ffffffff810cef65>] vfs_ioctl+0x5f/0x78
Jun 24 09:43:08 SERVER [54427.177928]  [<ffffffff810cf3d2>] do_vfs_ioctl+0x454/0x494
Jun 24 09:43:08 SERVER [54427.177931]  [<ffffffff8106c154>] ? getnstimeofday+0x58/0xb4
Jun 24 09:43:08 SERVER [54427.177934]  [<ffffffff810cf467>] sys_ioctl+0x55/0x77
Jun 24 09:43:08 SERVER [54427.177938]  [<ffffffff8102421b>] system_call_fastpath+0x16/0x1b
Jun 24 09:43:08 SERVER [54427.177940] Mem-Info:
Jun 24 09:43:08 SERVER [54427.177941] Node 0 DMA per-cpu:
Jun 24 09:43:08 SERVER [54427.177944] CPU    0: hi:    0, btch:   1 usd:   0
Jun 24 09:43:08 SERVER [54427.177946] CPU    1: hi:    0, btch:   1 usd:   0
Jun 24 09:43:08 SERVER [54427.177948] Node 0 DMA32 per-cpu:
Jun 24 09:43:08 SERVER [54427.177950] CPU    0: hi:  186, btch:  31 usd:   0
Jun 24 09:43:08 SERVER [54427.177952] CPU    1: hi:  186, btch:  31 usd:   0
Jun 24 09:43:08 SERVER [54427.177956] Active_anon:179602 active_file:57947 inactive_anon:101647
Jun 24 09:43:08 SERVER [54427.177958]  inactive_file:316577 unevictable:1 dirty:5982 writeback:8 unstable:0
Jun 24 09:43:08 SERVER [54427.177959]  free:56743 slab:39265 mapped:15045 pagetables:5324 bounce:0
Jun 24 09:43:08 SERVER [54427.177961] Node 0 DMA free:12140kB min:32kB low:40kB high:48kB active_anon:0kB inactive_anon:4kB active_file:60kB inactive_file:516kB unevictable:0kB present:15264kB pages_scanned:0 all_unreclaimable? no
Jun 24 09:43:08 SERVER [54427.177967] lowmem_reserve[]: 0 3014 3014 3014
Jun 24 09:43:08 SERVER [54427.177971] Node 0 DMA32 free:214832kB min:7008kB low:8760kB high:10512kB active_anon:718408kB inactive_anon:406584kB active_file:231728kB inactive_file:1265792kB unevictable:4kB present:3086496kB pages_scanned:0 all_unreclaimable? no
Jun 24 09:43:08 SERVER [54427.177977] lowmem_reserve[]: 0 0 0 0
Jun 24 09:43:08 SERVER [54427.177980] Node 0 DMA: 5*4kB 7*8kB 13*16kB 10*32kB 10*64kB 5*128kB 4*256kB 4*512kB 1*1024kB 1*2048kB 1*4096kB = 12124kB
Jun 24 09:43:08 SERVER [54427.177989] Node 0 DMA32: 52877*4kB 11*8kB 17*16kB 6*32kB 3*64kB 3*128kB 1*256kB 2*512kB 1*1024kB 0*2048kB 0*4096kB = 214940kB
Jun 24 09:43:08 SERVER [54427.177997] 392520 total pagecache pages
Jun 24 09:43:08 SERVER [54427.177999] 16809 pages in swap cache
Jun 24 09:43:08 SERVER [54427.178001] Swap cache stats: add 97545, delete 80736, find 46029/50070
Jun 24 09:43:08 SERVER [54427.178003] Free swap  = 881840kB
Jun 24 09:43:08 SERVER [54427.178004] Total swap = 996020kB
Jun 24 09:43:08 SERVER [54427.198831] 786400 pages RAM
Jun 24 09:43:08 SERVER [54427.198833] 21325 pages reserved
Jun 24 09:43:08 SERVER [54427.198835] 263293 pages shared
Jun 24 09:43:08 SERVER [54427.198836] 490219 pages non-shared
Comment 5 Adam Jackson 2009-08-24 12:32:31 UTC
Mass version move, cvs -> git
Comment 6 Maciej Cencora 2010-03-07 13:29:38 UTC
Can you try newer mesa?
Comment 7 Alexey Shildyakov 2010-03-08 02:43:11 UTC
It's an old problem. I remember that use mesa 4.7 branch instead of new mesa (5 jr higher). But I should change it to the stable branch and update it automatically. But I don't remember. Now I can't get to know about this because this machine iffline. But after several weeks or 1 month later I'll try.
But as I remember it worked properly.
Comment 8 Andreas Boll 2014-07-07 16:43:33 UTC
The classic r300 driver has been abandoned long ago.
It was replaced by the Gallium driver r300g.

If you have issues with r300g please file a new bug report with component Drivers/Gallium/r300

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.