Skip to contentSkip to conversation

New: [bisected] Headless OpenCL broken

Bug 68301 [email protected] 1 participant 4 messages Jan 8, 2014 – Jan 13, 2014

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=68301

Bug ID: 68301
Summary: [bisected] Headless OpenCL broken
Product: Drivers
Version: 2.5
Kernel Version: 3.13
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 121331
--> https://bugzilla.kernel.org/attachment.cgi?id=121331&action=edit
dmesg output

Since 10ebc0bc09344ab6310309169efc73dfe6c23d72, headless OpenCL is broken on my university's Radeon S7000 unless I pass "radeon.runpm=0".

The first OpenCL program after a reboot seems to work, but all after that output an error similar to the following:

radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 4352 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon:    va        : 0x0000000000800000
radeon: Failed to allocate virtual address for buffer:
radeon:    size      : 4352 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon:    va        : 0x0000000000800000

In dmesg, I can see that some parts of the initialization routine are repeated:

[  348.906146] [drm] probing gen 2 caps for device 8086:151 = 261ad03/e
[  348.906151] [drm] PCIE gen 3 link speeds already enabled
[  348.909465] [drm] PCIE GART of 1024M enabled (table at 0x0000000000478000).

[...]

After that, the GPU keeps locking up.

I have attached the dmesg output.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 68301] [bisected] Headless OpenCL broken

https://bugzilla.kernel.org/show_bug.cgi?id=68301

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher <[email protected]> --- Make sure your kernel has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f244d8b623dae7a7bc695b0336f67729b95a9736

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 68301] [bisected] Headless OpenCL broken

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=68301

--- Comment #3 from Niels Ole Salscheider <[email protected]> ---

Quoted 3 lines

Make sure your kernel has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
?id=f244d8b623dae7a7bc695b0336f67729b95a9736

My kernel has this patch but it does not help.

Quoted 2 lines

Do graphics work ok for you with runpm=1? I.e., is it just compute that's causing a problem?

It is a bit difficult to test this because I only have SSH access to the machine at the moment.
Without any parameter, I get the already mentioned error for compute and a GPU lockup entry in dmesg when I try to start X.

With runpm=1, my SSH session hangs a few seconds after I load the radeon module and I cannot open another one. I can still ping the computer, though.

Unfortunately, it will be a few weeks until I have physical access to the machine again.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.