From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 104837] 'radeonsi: Failed to create context' with 32 bit
applications
Date: Mon, 29 Jan 2018 14:02:40 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0798207362=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id CEE186E4B1
for ; Mon, 29 Jan 2018 14:02:40 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0798207362==
Content-Type: multipart/alternative; boundary="15172345600.75Bc9e.16657"
Content-Transfer-Encoding: 7bit
--15172345600.75Bc9e.16657
Date: Mon, 29 Jan 2018 14:02:40 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D104837
Bug ID: 104837
Summary: 'radeonsi: Failed to create context' with 32 bit
applications
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: rafael.ristovski@gmail.com
Created attachment 137021
--> https://bugs.freedesktop.org/attachment.cgi?id=3D137021&action=3Dedit
dmesg log
Running 32bit OpenGL applications on my AMD card with DRI_PRIME=3D1 produce=
s the
following error, running 64bit applications works just fine.
Somehow I suspect virtual memory is the cause.
libGL: pci id for fd 5: 1002:6823, driver radeonsi
libGL: OpenDriver: trying /usr/lib32/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/radeonsi_dri.so
/usr/share/libdrm/amdgpu.ids version: 1.0.0
radeonsi: Failed to create a context.
libGL: Using DRI3 for screen 0
radeonsi: Failed to create a context.
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 31
Current serial number in output stream: 33
At the same time, the following messages are logged in dmesg:
(See similar but apparently harmless:
https://bugs.freedesktop.org/show_bug.cgi?id=3D104082)
[433611.485600] amdgpu 0000:03:00.0: swiotlb buffer is full (sz: 2097152 by=
tes)
[433611.485602] amdgpu 0000:03:00.0: swiotlb: coherent allocation failed,
size=3D2097152
Full relevant dmesg log of the accident is attached
Various VRAM/GTT info from boot:
[ 10.485945] [drm] amdgpu kernel modesetting enabled.
[ 10.486189] amdgpu 0000:03:00.0: enabling device (0000 -> 0003)
[ 10.669296] amdgpu 0000:03:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[ 10.669298] amdgpu 0000:03:00.0: GTT: 1024M 0x0000000000000000 -
0x000000003FFFFFFF
[ 10.669387] [drm] amdgpu: 2048M of VRAM memory ready
[ 10.669388] [drm] amdgpu: 3072M of GTT memory ready.
[ 10.670190] amdgpu 0000:03:00.0: PCIE GART of 1024M enabled (table at
0x000000F400040000).
[ 10.685934] [drm] amdgpu: dpm initialized
[ 11.043323] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:03:00.0 on
minor 1
Sysinfo:
- Gentoo x86_64
- llvm/clang/mesa/libdrm and friends, including drivers all pulled from git=
as
of ~2 days ago.
- Intel HD 4400 Gen7.5 Haswell - i915
- AMD Radeon HD 8850M - amdgpu
- Both drivers are using DRI3 for PRIME
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15172345600.75Bc9e.16657
Date: Mon, 29 Jan 2018 14:02:40 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
104837
|
| Summary |
'radeonsi: Failed to create context' with 32 bit applications
|
| Product |
DRI
|
| Version |
XOrg git
|
| Hardware |
x86-64 (AMD64)
|
| OS |
Linux (All)
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
rafael.ristovski@gmail.com
|
Created attachment 137021 [deta=
ils]
dmesg log
Running 32bit OpenGL applications on my AMD card with DRI_PRIME=3D1 produce=
s the
following error, running 64bit applications works just fine.
Somehow I suspect virtual memory is the cause.
libGL: pci id for fd 5: 1002:6823, driver radeonsi
libGL: OpenDriver: trying /usr/lib32/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/radeonsi_dri.so
/usr/share/libdrm/amdgpu.ids version: 1.0.0
radeonsi: Failed to create a context.
libGL: Using DRI3 for screen 0
radeonsi: Failed to create a context.
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 31
Current serial number in output stream: 33
At the same time, the following messages are logged in dmesg:
(See similar but apparently harmless:
https://bugs.freedesktop.org/show_bug.=
cgi?id=3D104082)
[433611.485600] amdgpu 0000:03:00.0: swiotlb buffer is full (sz: 2097152 by=
tes)
[433611.485602] amdgpu 0000:03:00.0: swiotlb: coherent allocation failed,
size=3D2097152
Full relevant dmesg log of the accident is attached
Various VRAM/GTT info from boot:
[ 10.485945] [drm] amdgpu kernel modesetting enabled.
[ 10.486189] amdgpu 0000:03:00.0: enabling device (0000 -> 0003)
[ 10.669296] amdgpu 0000:03:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[ 10.669298] amdgpu 0000:03:00.0: GTT: 1024M 0x0000000000000000 -
0x000000003FFFFFFF
[ 10.669387] [drm] amdgpu: 2048M of VRAM memory ready
[ 10.669388] [drm] amdgpu: 3072M of GTT memory ready.
[ 10.670190] amdgpu 0000:03:00.0: PCIE GART of 1024M enabled (table at
0x000000F400040000).
[ 10.685934] [drm] amdgpu: dpm initialized
[ 11.043323] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:03:00.0 on
minor 1
Sysinfo:
- Gentoo x86_64
- llvm/clang/mesa/libdrm and friends, including drivers all pulled from git=
as
of ~2 days ago.
- Intel HD 4400 Gen7.5 Haswell - i915
- AMD Radeon HD 8850M - amdgpu
- Both drivers are using DRI3 for PRIME
You are receiving this mail because:
- You are the assignee for the bug.
=
--15172345600.75Bc9e.16657--
--===============0798207362==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0798207362==--