[Bug 82455] Failed to allocate virtual address for buffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 28 18:18:43 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82455

--- Comment #29 from charlie <407883775 at qq.com> ---
 I am so sorry, i made a mistake . I am configure mesa no --enable-gallium-egl
options, I rebuild my mesa. The egltri_screen program can run in my system, But
the colourized triangle is didn't show in my machine screen. It is only a white
screen for a few minutes.

radeon: The kernel rejected CS, see dmesg for more information ,but any message
display in dmesg.


the message is follow:
libEGL debug: Native platform type: drm (environment overwrite)
libEGL debug: EGL search path is /usr/lib64/egl
libEGL debug: added /usr/lib64/egl/egl_gallium.so to module array
libEGL debug: added egl_dri2 to module array
libEGL debug: dlopen(/usr/lib64/egl/egl_gallium.so)
libEGL info: use DRM for display (nil)
libEGL debug: the best driver is Gallium
EGL_VERSION = 1.4 (Gallium)
Found 16 modes:
  0: 1920 x 1080
  1: 1680 x 1050
  2: 1280 x 1024
  3: 1280 x 1024
  4: 1440 x 900
  5: 1024 x 768
  6: 1024 x 768
  7: 1024 x 768
  8: 832 x 624
  9: 800 x 600
 10: 800 x 600
 11: 800 x 600
 12: 640 x 480
 13: 640 x 480
 14: 640 x 480
 15: 640 x 480
Will use screen size: 1920 x 1080
radeon: The kernel rejected CS, see dmesg for more information.

My system is 64bits and big-endian. It is means that the radeinsi driver send a
error commond using ring?  It need big-endian to little-endian?


The eglinfo message:
libEGL debug: Native platform type: drm (environment overwrite)
libEGL debug: EGL search path is /usr/lib64/egl
libEGL debug: added /usr/lib64/egl/egl_gallium.so to module array
libEGL debug: added egl_dri2 to module array
libEGL debug: dlopen(/usr/lib64/egl/egl_gallium.so)
libEGL info: use DRM for display (nil)
libEGL debug: the best driver is Gallium
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4 (Gallium)
EGL client APIs: OpenGL OpenGL_ES2 
EGL extensions string:
    EGL_MESA_screen_surface EGL_MESA_drm_display EGL_MESA_drm_image
    EGL_WL_bind_wayland_display EGL_KHR_image_base EGL_KHR_reusable_sync
    EGL_KHR_fence_sync EGL_KHR_surfaceless_context
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x00--      a  y     y     pb,scrn
0x02 32  0  8  8  8  8 16  0  0 0 0x00--      a  y     y     pb,scrn
0x03 32  0  8  8  8  8 24  8  0 0 0x00--      a  y     y     pb,scrn
0x04 32  0  8  8  8  8 24  0  0 0 0x00--      a  y     y     pb,scrn
Number of Screens: 1

Screen 0 Modes:
  id  width height refresh  name
-----------------------------------------
0x01  1920   1080   60.000  1920x1080
0x02  1680   1050   60.000  1680x1050
0x03  1280   1024   75.000  1280x1024
0x04  1280   1024   60.000  1280x1024
0x05  1440    900   60.000  1440x900
0x06  1024    768   75.000  1024x768
0x07  1024    768   70.000  1024x768
0x08  1024    768   60.000  1024x768
0x09   832    624   75.000  832x624
0x0a   800    600   75.000  800x600
0x0b   800    600   72.000  800x600
0x0c   800    600   60.000  800x600
0x0d   640    480   75.000  640x480
0x0e   640    480   73.000  640x480
0x0f   640    480   67.000  640x480
0x10   640    480   60.000  640x480

i am running eglkms program . the gpu will be lockup:

libEGL debug: Native platform type: drm (environment overwrite)
libEGL debug: EGL search path is /usr/lib64/egl
libEGL debug: added /usr/lib64/egl/egl_gallium.so to module array
libEGL debug: added egl_dri2 to module array
libEGL debug: dlopen(/usr/lib64/egl/egl_gallium.so)
libEGL info: use DRM for display 0x206010
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize(no
usable display)

libEGL debug: the best driver is DRI2
EGL_VERSION = 1.4 (DRI2)
radeon: The kernel rejected CS, see dmesg for more information.
radeon: The kernel rejected CS, see dmesg for more information.
handle=43, stride=7680

dmesg:


[  543.035612] radeon 0000:0a:00.0: GPU lockup CP stall for more than 2000msec
[  543.063462] radeon 0000:0a:00.0: GPU lockup (waiting for 0x0000000000000009
last fence id 0x0000000000000008)
[  543.063513] [drm] Disabling audio 0 support
[  543.063526] [drm] Disabling audio 1 support
[  543.063538] [drm] Disabling audio 2 support
[  543.063549] [drm] Disabling audio 3 support
[  543.063560] [drm] Disabling audio 4 support
[  543.063572] [drm] Disabling audio 5 support
[  543.063746] radeon 0000:0a:00.0: sa_manager is not empty, clearing anyway
[  543.790849] radeon 0000:0a:00.0: Saved 29 dwords of commands on ring 0.
[  543.791009] radeon 0000:0a:00.0: GPU softreset: 0x00000049
[  543.791030] radeon 0000:0a:00.0:   GRBM_STATUS               = 0xB3523028
[  543.791052] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x2D800006
[  543.791074] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x2D000006
[  543.791092] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  543.791220] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  543.791238] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  543.791256] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x40000000
[  543.791275] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00008000
[  543.791293] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x80228647
[  543.791312] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  543.791331] radeon 0000:0a:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
[  543.791350] radeon 0000:0a:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR  
0x00000000
[  543.791369] radeon 0000:0a:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x00000000
[  544.484393] radeon 0000:0a:00.0: GRBM_SOFT_RESET=0x0000DDFF
[  544.484468] radeon 0000:0a:00.0: SRBM_SOFT_RESET=0x00000100
[  544.485647] radeon 0000:0a:00.0:   GRBM_STATUS               = 0x00003028
[  544.485668] radeon 0000:0a:00.0:   GRBM_STATUS_SE0           = 0x00000006
[  544.485687] radeon 0000:0a:00.0:   GRBM_STATUS_SE1           = 0x00000006
[  544.485705] radeon 0000:0a:00.0:   SRBM_STATUS               = 0x200000C0
[  544.485832] radeon 0000:0a:00.0:   SRBM_STATUS2              = 0x00000000
[  544.485851] radeon 0000:0a:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[  544.485869] radeon 0000:0a:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[  544.485887] radeon 0000:0a:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[  544.485906] radeon 0000:0a:00.0:   R_008680_CP_STAT          = 0x00000000
[  544.485924] radeon 0000:0a:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[  544.485943] radeon 0000:0a:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
[  544.486089] radeon 0000:0a:00.0: GPU reset succeeded, trying to resume
[  544.499083] [drm] probing gen 2 caps for device 10b5:8648 = 838cd02/0
[  544.499102] [drm] PCIE gen 2 link speeds already enabled
[  544.517700] [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
[  544.517913] radeon 0000:0a:00.0: WB enabled
[  544.517939] radeon 0000:0a:00.0: fence driver on ring 0 use gpu addr
0x0000000080000c00 and cpu addr 0xfffff80008880c00
[  544.517961] radeon 0000:0a:00.0: fence driver on ring 1 use gpu addr
0x0000000080000c04 and cpu addr 0xfffff80008880c04
[  544.517984] radeon 0000:0a:00.0: fence driver on ring 2 use gpu addr
0x0000000080000c08 and cpu addr 0xfffff80008880c08
[  544.518005] radeon 0000:0a:00.0: fence driver on ring 3 use gpu addr
0x0000000080000c0c and cpu addr 0xfffff80008880c0c
[  544.518027] radeon 0000:0a:00.0: fence driver on ring 4 use gpu addr
0x0000000080000c10 and cpu addr 0xfffff80008880c10
[  544.532531] radeon 0000:0a:00.0: fence driver on ring 5 use gpu addr
0x0000000000075a18 and cpu addr 0x000000ca10075a18
[  544.767646] [drm] ring test on 0 succeeded in 1 usecs
[  544.767669] [drm] ring test on 1 succeeded in 1 usecs
[  544.767689] [drm] ring test on 2 succeeded in 1 usecs
[  544.767773] [drm] ring test on 3 succeeded in 2 usecs
[  544.767803] [drm] ring test on 4 succeeded in 2 usecs
[  544.945163] [drm] ring test on 5 succeeded in 2 usecs
[  544.945186] [drm] UVD initialized successfully.
[  544.945245] [drm] Enabling audio 0 support
[  544.945258] [drm] Enabling audio 1 support
[  544.945270] [drm] Enabling audio 2 support
[  544.945281] [drm] Enabling audio 3 support
[  544.945292] [drm] Enabling audio 4 support
[  544.945304] [drm] Enabling audio 5 support
[  544.945388] [drm] ib test on ring 0 succeeded in 0 usecs
[  544.945487] [drm] ib test on ring 1 succeeded in 0 usecs
[  544.945573] [drm] ib test on ring 2 succeeded in 0 usecs
[  544.945637] [drm] ib test on ring 3 succeeded in 0 usecs
[  544.945699] [drm] ib test on ring 4 succeeded in 0 usecs

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140829/3fb05243/attachment-0001.html>


More information about the dri-devel mailing list