OpenGL applications don't run on AMD FirePro S7150 and fill dmesg with: *ERROR* Not enough memory for command submission!

Bug #2039352 reported by Thomas Debesse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mesa
New
Unknown
mesa (Ubuntu)
New
Undecided
Unassigned

Bug Description

I first thought the Radeon PRO W7600 was affected, in fact the affected GPU is the AMD FirePro S7150.

See comment 3 and below:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2039352/comments/3

__________

When I run Unigine Superposition 1.1, it doesn't open any window and dmesg is filled with:

```
[36881.961064] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[36881.962579] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[36881.963946] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[36881.965556] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[36881.967138] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
[36881.968522] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for command submission!
```

printing new error log lines many time per second.

Killing the Unigine Superposition process stops the log printing.

There are more than one GPU in that system but the one used for rendering is a Radeon PRO W7600:

```
Slot: 47:00.0
Class: VGA compatible controller [0300]
Vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
Device: Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600] [7480]
SVendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
SDevice: Device [0e0d]
ProgIf: 00
Driver: amdgpu
Module: amdgpu
IOMMUGroup: 58
```

```
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon PRO W7600 (gfx1102, LLVM 15.0.7, DRM 3.54, 6.5.0-9-generic) (0x7480)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
```

Other games like Unvanquished or Quake II RTX are working correctly.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: libglapi-mesa 23.2.1-1ubuntu3
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
BootLog: Error: [Errno 13] Permission non accordée: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompizPlugins: [core,bailer,detection,composite,opengl,imgjpeg,compiztoolbox,copytex,decor,regex,snap,vpswitch,mousepoll,gnomecompat,titleinfo,imgpng,resize,animation,expo,ezoom,grid,place,move,imgsvg,workarounds,wall,session,thumbnail,staticswitcher,fade,scale]
CompositorRunning: None
CurrentDesktop: GNOME
Date: Sat Oct 14 14:58:23 2023
DistUpgraded: Fresh install
DistroCodename: mantic
DistroVariant: ubuntu
DkmsStatus:
 v4l2loopback/0.12.7, 6.5.0-9-generic, x86_64: installed (WARNING! Diff between built and installed module!)
 vhba/20211218, 6.2.0-33-generic, x86_64: installed
 vhba/20211218, 6.5.0-9-generic, x86_64: installed
ExtraDebuggingInterest: Yes
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-6.5.0-9-generic root=UUID=f35ecf77-511e-4dde-ac11-c1d848e97315 ro rootflags=subvol=@ amdgpu.si_support=1 radeon.si_support=0 amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.exp_hw_support=1 amdgpu.gpu_recovery=1 amdgpu.ppfeaturemask=0xffffffff delayacct zswap.enabled=1
SourcePackage: mesa
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/08/2023
dmi.bios.release: 5.23
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: WRX80SU8-F6
dmi.board.asset.tag: Default string
dmi.board.name: Default string
dmi.board.vendor: Default string
dmi.board.version: Default string
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrWRX80SU8-F6:bd06/08/2023:br5.23:svnDefaultstring:pnDefaultstring:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Default string
dmi.product.name: Default string
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Default string
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2018-06-16T17:39:00.798346
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.115-1
version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.7-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Thomas Debesse (illwieckz) wrote :
Revision history for this message
Thomas Debesse (illwieckz) wrote :

In the log file you may see notice of some amdgpu-pro OpenCL components like ROCm ROCr OpenCL or Legacy Orca OpenCL, there is no amdgpu-pro OpenGL or dkms module installed though. Removing entirely the amdgpu-pro OpenCL packages produce the same bug anyway. The contrary would have been surprising since I assume Superposition to be an OpenGL benchmark and to not make use of OpenCL, but to be 100% sure I removed all those amdgpu-pro packages and I get the same bug with stock Ubuntu anyway.

summary: - Unigine Superposition 1.1 doesn't run and fill dmesg with: *ERROR* Not
+ Unigine Superposition 1.1 doesn't run and fills dmesg with: *ERROR* Not
enough memory for command submission!
description: updated
description: updated
Revision history for this message
Thomas Debesse (illwieckz) wrote : Re: Unigine Superposition 1.1 doesn't run and fills dmesg with: *ERROR* Not enough memory for command submission!

I reproduce the same issue if I just do:

```
DRI_PRIME=1 glxinfo -B
name of display: :1
```

Which means the fault happens when using the AMD FirePro S7150, NOT the AMD Radeon PRO W7600.

Maybe for some reasons Unigine Superposition tries to use all GPUs available?

So, the bug is now easier to reproduce, it is affecting the AMD FirePro S7150, and a glxinfo is enough.

summary: - Unigine Superposition 1.1 doesn't run and fills dmesg with: *ERROR* Not
- enough memory for command submission!
+ OpenGL applications don't run on AMD FirePro S7150 and fills dmesg with:
+ *ERROR* Not enough memory for command submission!
description: updated
summary: - OpenGL applications don't run on AMD FirePro S7150 and fills dmesg with:
+ OpenGL applications don't run on AMD FirePro S7150 and fill dmesg with:
*ERROR* Not enough memory for command submission!
Revision history for this message
Thomas Debesse (illwieckz) wrote :

I reproduce the bug with current Mesa (d97427f41c1603db2f657b5d9c3f91a97f74b1c0) and LLVM 16.0.6. I don't know if the bug is on drm side or on Mesa side.

Revision history for this message
Oibaf (oibaf) wrote :

@illwieckz: please report the bug at: https://gitlab.freedesktop.org/mesa/mesa/-/issues

Revision history for this message
Thomas Debesse (illwieckz) wrote :

@oibaf thanks, I reported it:

- https://gitlab.freedesktop.org/mesa/mesa/-/issues/10000

(nice issue number by the way ☺️)

Changed in mesa:
status: Unknown → New
Revision history for this message
Oibaf (oibaf) wrote :

@illwieckz:
if you want to test a newer mesa snapshot, you can find it in my PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.