3 Replies Latest reply on Apr 10, 2017 7:51 AM by fsadough

    Xorg service will not stay running

    fnunez

      Hi all,

       

      I am running ESXi 6.0u2 and trying to use my AMD FirePro S4000X for VDI (vSGA). I installed the drivers from AMD (vmw-esx-6.0.0-fglrx-12103.1224202-3638089) but I cannot use 3D acceleration because the Xorg service stops few seconds after it is started:

       

      This is how the vmkernel log looks like after I try to start the Xorg service few times:

       

      ~ # /etc/init.d/xorg status

      Xorg is not running

      ~ # date

      Thu Feb 16 20:25:17 UTC 2017

      ~ # /etc/init.d/xorg start

      ~ # /etc/init.d/xorg status

      Xorg is running

      ~ # /etc/init.d/xorg status

      Xorg is running

      ~ # /etc/init.d/xorg status

      Xorg is running

      ~ # /etc/init.d/xorg status

      Xorg is running

      ~ # /etc/init.d/xorg status

      Xorg is running

      ~ # /etc/init.d/xorg status

      Xorg is not running

      ~ # tail -f /var/log/vmkernel.log

      2017-02-16T20:22:59.649Z cpu1:35087)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:22:59.690Z cpu14:35087)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:22:59.690Z cpu14:35087)VMK_PCI: 842: device 0000:05:00.0 pciBar 2 phys_addr 0xfb700000 size 0x40000

      2017-02-16T20:22:59.872Z cpu2:35254)Boot Successful

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: [fglrx]: fail to map device memory to kernel space :KCL_IO_MEM_Map :line :713 :Bad parameter

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:__mc_heap_map_virtual_space] *ERROR* Failed to map the virtual space

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:mc_heap_alloc_reserved_mem] *ERROR* Can not get virtual address for this reserved range

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:MCIL_AllocateMemory] *ERROR* Can not allocate requested local FB memory

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:__gart_init] *ERROR* Gps_GartInitialization failed.

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:gal_init] *ERROR* Failed to initialize gal

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:mc_heap_init] *ERROR* Fail to initialize GAL

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:firegl_gart_init] *ERROR* GAL initialization failure

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <3>[fglrx:MCIL_AllocateMemory] *ERROR* Can not allocate requested gart cacheable memory for IVRING

      2017-02-16T20:22:59.956Z cpu14:35087)WARNING: <6>[fglrx] IRQ 16 Enabled

      2017-02-16T20:22:59.967Z cpu14:35087)WARNING: <6>[fglrx] Reserved FB block: Shared offset:0, size:1000000

      2017-02-16T20:22:59.967Z cpu14:35087)WARNING: <6>[fglrx] Reserved FB block: Unshared offset:d4fc000, size:2804000

      2017-02-16T20:22:59.967Z cpu14:35087)WARNING: <6>[fglrx] Reserved FB block: Unshared offset:ffff4000, size:c000

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: [fglrx]: fail to map device memory to kernel space :KCL_IO_MEM_Map :line :713 :Bad parameter

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:__mc_heap_map_virtual_space] *ERROR* Failed to map the virtual space

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:mc_heap_map_virtual_space] *ERROR* Can not get virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:MCIL_GetVirtualAddressInDescriptor] *ERROR* Can not get the virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: [fglrx]: fail to map device memory to kernel space :KCL_IO_MEM_Map :line :713 :Bad parameter

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:__mc_heap_map_virtual_space] *ERROR* Failed to map the virtual space

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:mc_heap_map_virtual_space] *ERROR* Can not get virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:MCIL_GetVirtualAddressInDescriptor] *ERROR* Can not get the virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: [fglrx]: fail to map device memory to kernel space :KCL_IO_MEM_Map :line :713 :Bad parameter

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:__mc_heap_map_virtual_space] *ERROR* Failed to map the virtual space

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:mc_heap_map_virtual_space] *ERROR* Can not get virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:MCIL_GetVirtualAddressInDescriptor] *ERROR* Can not get the virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: [fglrx]: fail to map device memory to kernel space :KCL_IO_MEM_Map :line :713 :Bad parameter

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:__mc_heap_map_virtual_space] *ERROR* Failed to map the virtual space

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:mc_heap_map_virtual_space] *ERROR* Can not get virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:MCIL_GetVirtualAddressInDescriptor] *ERROR* Can not get the virtual address

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:firegl_cmmqs_init] *ERROR* CMMQS initialization is failed.

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <3>[fglrx:hal_init_gpu] *ERROR* CMMQS Initialization failed: hal_init_gpu

      2017-02-16T20:22:59.972Z cpu14:35087)WARNING: <6>[fglrx] device open failed with code -1

      2017-02-16T20:22:59.972Z cpu14:35087)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:22:59.972Z cpu14:35087)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:22:59.975Z cpu14:35087)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:22:59.976Z cpu14:35087)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:22:59.976Z cpu14:35087)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:22:59.976Z cpu14:35087)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:22:59.976Z cpu14:35087)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:22:59.977Z cpu14:35087)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:22:59.977Z cpu14:35087)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:23:01.668Z cpu7:35321)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:23:01.668Z cpu7:35321)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:23:01.671Z cpu7:35321)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:23:01.673Z cpu7:35321)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:23:01.673Z cpu7:35321)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:23:01.673Z cpu7:35321)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:23:01.674Z cpu7:35321)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:23:01.675Z cpu7:35321)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:23:01.675Z cpu7:35321)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:23:03.182Z cpu1:35356)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:23:03.182Z cpu1:35356)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:23:03.184Z cpu1:35356)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:23:03.184Z cpu1:35356)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:23:03.184Z cpu1:35356)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:23:03.184Z cpu1:35356)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:23:03.185Z cpu1:35356)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:23:03.185Z cpu1:35356)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:23:03.186Z cpu1:35356)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:23:04.716Z cpu8:35403)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:23:04.717Z cpu8:35403)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:23:04.720Z cpu8:35403)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:23:04.721Z cpu8:35403)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:23:04.721Z cpu8:35403)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:23:04.721Z cpu8:35403)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:23:04.722Z cpu8:35403)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:23:04.722Z cpu8:35403)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:23:04.722Z cpu8:35403)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:26.593Z cpu1:35984)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:26.593Z cpu1:35984)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:25:26.595Z cpu1:35984)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:26.596Z cpu1:35984)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:25:26.596Z cpu1:35984)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:25:26.596Z cpu1:35984)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:25:26.596Z cpu1:35984)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:25:26.597Z cpu1:35984)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:26.597Z cpu1:35984)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:28.158Z cpu8:36161)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:28.158Z cpu8:36161)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:25:28.161Z cpu8:36161)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:28.163Z cpu8:36161)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:25:28.163Z cpu8:36161)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:25:28.163Z cpu8:36161)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:25:28.164Z cpu8:36161)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:25:28.164Z cpu8:36161)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:28.164Z cpu8:36161)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:29.714Z cpu5:36194)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:29.714Z cpu5:36194)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:25:29.717Z cpu5:36194)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:29.717Z cpu5:36194)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:25:29.717Z cpu5:36194)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:25:29.717Z cpu5:36194)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:25:29.717Z cpu5:36194)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:25:29.718Z cpu5:36194)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:29.718Z cpu5:36194)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:31.280Z cpu14:36227)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:31.281Z cpu14:36227)WARNING: [fglrx]: fail to add mpns to valid range list :KCL_Add_Valid_MPN_Range :line :998 :Invalid page number

      2017-02-16T20:25:31.285Z cpu14:36227)[fglrx]: firegl_charOpsOpen: open device, pciDev->logicalDevName =vmgfx0

      2017-02-16T20:25:31.286Z cpu14:36227)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE_32] *ERROR* CMMQS CWDDE32: CMMQS handle is not valid.

      2017-02-16T20:25:31.286Z cpu14:36227)WARNING: <3>[fglrx:firegl_cmmqs_CWDDE32] *ERROR* CMMQS CWDDE is failed: firegl_cmmqs_CWDDE32

      2017-02-16T20:25:31.286Z cpu14:36227)WARNING: <6>[fglrx] [fglrx]: firegl_ioctl: ioctl failed, nr = 0xa6

      2017-02-16T20:25:31.286Z cpu14:36227)User: 2888: wantCoreDump : Xorg -enabled : 0

      2017-02-16T20:25:31.287Z cpu14:36227)[fglrx]: firegl_charOpsClose: close device successfully

      2017-02-16T20:25:31.287Z cpu14:36227)[fglrx]: firegl_charOpsClose: close device successfully

       

      I suspect BIOS settings but I cannot find any best practices recommendations for BIOS. I think fsadough you are the FirePro expert of the community?

       

      Thanks in advance!