Skip to contentSkip to conversation

New: ATI Radeon Graphics not rendering correctly

Bug 112211 Andrew Morton 2 participants 3 messages Feb 9, 2016 – Feb 11, 2016 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

Andrew Morton

author maintainer
#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 48 lines · On Tue, 09 Feb 2016 08:41:39 +0000 [email protected] wrote:

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

Bug ID: 112211
Summary: ATI Radeon Graphics not rendering correctly
Product: Memory Management
Version: 2.5
Kernel Version: Linux 4.5-rc3
Hardware: IA-32
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Page Allocator
Assignee: [email protected]
Reporter: [email protected]
Regression: No

On testing linux 4.5-rc( 1,2 and 3) I have found that my display is not rendered correctly on starting the X server. My screen is mainly black with portions of the desktop appearing from time to time. I initially raised this with the DRM/Radeon team:

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

On investigation a bisect identified the following commit as the source of my problem:

01c8f1c44b83a0825b573e7c723b033cece37b86 is the first bad commit commit 01c8f1c44b83a0825b573e7c723b033cece37b86

Author: Dan Williams <[email protected]>
Date:   Fri Jan 15 16:56:40 2016 -0800

mm, dax, gpu: convert vm_insert_mixed to pfn_t

Convert the raw unsigned long 'pfn' argument to pfn_t for the purpose of evaluating the PFN_MAP and PFN_DEV flags. When both are set it triggers _PAGE_DEVMAP to be set in the resulting pte.

There are no functional changes to the gpu drivers as a result of this conversion.

Quoted 6 lines

The problem is present on two AMD/ATI systems I have tried but is absent from my Intel based laptop. All my systems are 32 bit LFS builds.

I did try to contact Dan Williams but I am not sure that my e-mail got through, can anyone suggest a way forward please ?

Does your kernel include

commit 03fc2da63b9a33dce784a2075c7e068bb97cbf69

Author: Dan Williams <[email protected]>
Date:   Tue Jan 26 09:48:05 2016 -0800

mm: fix pfn_t to page conversion in vm_insert_mixed

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#2 lore raw
Quoted 61 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 48 lines · On Tue, 09 Feb 2016 08:41:39 +0000 [email protected] wrote:

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

Bug ID: 112211
Summary: ATI Radeon Graphics not rendering correctly
Product: Memory Management
Version: 2.5
Kernel Version: Linux 4.5-rc3
Hardware: IA-32
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Page Allocator
Assignee: [email protected]
Reporter: [email protected]
Regression: No

On testing linux 4.5-rc( 1,2 and 3) I have found that my display is not rendered correctly on starting the X server. My screen is mainly black with portions of the desktop appearing from time to time. I initially raised this with the DRM/Radeon team:

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

On investigation a bisect identified the following commit as the source of my problem:

01c8f1c44b83a0825b573e7c723b033cece37b86 is the first bad commit commit 01c8f1c44b83a0825b573e7c723b033cece37b86

Author: Dan Williams <[email protected]>
Date:   Fri Jan 15 16:56:40 2016 -0800

mm, dax, gpu: convert vm_insert_mixed to pfn_t

Convert the raw unsigned long 'pfn' argument to pfn_t for the purpose of evaluating the PFN_MAP and PFN_DEV flags. When both are set it triggers _PAGE_DEVMAP to be set in the resulting pte.

There are no functional changes to the gpu drivers as a result of this conversion.

Quoted 6 lines

The problem is present on two AMD/ATI systems I have tried but is absent from my Intel based laptop. All my systems are 32 bit LFS builds.

I did try to contact Dan Williams but I am not sure that my e-mail got through, can anyone suggest a way forward please ?

Quoted 8 lines

Does your kernel include

commit 03fc2da63b9a33dce784a2075c7e068bb97cbf69

Author: Dan Williams <[email protected]>
Date:   Tue Jan 26 09:48:05 2016 -0800

mm: fix pfn_t to page conversion in vm_insert_mixed

Hi Stuart, from the bugzilla activity it looks like you are already running with this fix. Can you append you kernel config file to the bugzilla. There's something particular about 32-bit builds I'm missing...

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#3 lore raw
Quoted 69 lines · Dan Williams
Quoted 67 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 48 lines · On Tue, 09 Feb 2016 08:41:39 +0000 [email protected] wrote:

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

Bug ID: 112211
Summary: ATI Radeon Graphics not rendering correctly
Product: Memory Management
Version: 2.5
Kernel Version: Linux 4.5-rc3
Hardware: IA-32
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Page Allocator
Assignee: [email protected]
Reporter: [email protected]
Regression: No

On testing linux 4.5-rc( 1,2 and 3) I have found that my display is not rendered correctly on starting the X server. My screen is mainly black with portions of the desktop appearing from time to time. I initially raised this with the DRM/Radeon team:

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

On investigation a bisect identified the following commit as the source of my problem:

01c8f1c44b83a0825b573e7c723b033cece37b86 is the first bad commit commit 01c8f1c44b83a0825b573e7c723b033cece37b86

Author: Dan Williams <[email protected]>
Date:   Fri Jan 15 16:56:40 2016 -0800

mm, dax, gpu: convert vm_insert_mixed to pfn_t

Convert the raw unsigned long 'pfn' argument to pfn_t for the purpose of evaluating the PFN_MAP and PFN_DEV flags. When both are set it triggers _PAGE_DEVMAP to be set in the resulting pte.

There are no functional changes to the gpu drivers as a result of this conversion.

Quoted 6 lines

The problem is present on two AMD/ATI systems I have tried but is absent from my Intel based laptop. All my systems are 32 bit LFS builds.

I did try to contact Dan Williams but I am not sure that my e-mail got through, can anyone suggest a way forward please ?

Does your kernel include

commit 03fc2da63b9a33dce784a2075c7e068bb97cbf69

Author: Dan Williams <[email protected]>
Date:   Tue Jan 26 09:48:05 2016 -0800
Quoted 7 lines
Quoted 2 lines

mm: fix pfn_t to page conversion in vm_insert_mixed

Hi Stuart, from the bugzilla activity it looks like you are already running with this fix. Can you append you kernel config file to the bugzilla. There's something particular about 32-bit builds I'm missing...

Thanks for the config file. I was able to reproduce this in a VM that uses the DRM layer. The fix that works for me is available here in patchwork [1]. Let me know if it works in your environment.

[1]: https://patchwork.kernel.org/patch/8276171/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>