Bug 207763

Summary: Noisy Screen in Linux with kernel 5
Product: Drivers Reporter: Mohammad Naeim (xunilarium)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher, roccatos, xunilarium
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.0.0-23-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: My Noisy Screen
revert

Description Mohammad Naeim 2020-05-17 08:29:40 UTC
Created attachment 289165 [details]
My Noisy Screen

As linux kernel was updated to version 5 my laptop screen become noisy, I have same problem with all linux distros with kernel 5 and above. The problem is available both in graphic and text mode. windows works fine so my graphic card is OK.

Ubunut 18.04.02:
--------------------------------------------------------------------------------

Kernel Ver: 4.18.0-15-generic

VGA Driver: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470]

Subsystem: Sony Corporation RV620/M82 [Mobility Radeon HD 3450/3470]

Kernel driver in use: radeon

Kernel modules: radeon

Screen Status: OK

________________________________________________________________________________

Ubuntu 18.04.03:
--------------------------------------------------------------------------------

Kernel Ver: 5.0.0-23-generic

VGA Driver: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470]

Subsystem: Sony Corporation RV620/M82 [Mobility Radeon HD 3450/3470]

Kernel driver in use: radeon

Kernel modules: radeon

Screen Status: Noisy
Comment 1 Alex Deucher 2020-05-17 16:42:47 UTC
Does reverting:

commit 33b3ad3788aba846fc8b9a065fe2685a0b64f713
Author: Christoph Hellwig <hch@lst.de>
Date:   Thu Aug 15 09:27:00 2019 +0200

    drm/radeon: handle PCIe root ports with addressing limitations
    
    radeon uses a need_dma32 flag to indicate to the drm core that some
    allocations need to be done using GFP_DMA32, but it only checks the
    device addressing capabilities to make that decision.  Unfortunately
    PCIe root ports that have limited addressing exist as well.  Use the
    dma_addressing_limited instead to also take those into account.
    
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Reported-by: Atish Patra <Atish.Patra@wdc.com>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>


Fix the issue?
Comment 3 Mohammad Naeim 2020-05-28 07:38:50 UTC
(In reply to Alex Deucher from comment #1)
> Does reverting:
> 
> commit 33b3ad3788aba846fc8b9a065fe2685a0b64f713
> Author: Christoph Hellwig <hch@lst.de>
> Date:   Thu Aug 15 09:27:00 2019 +0200
> 
>     drm/radeon: handle PCIe root ports with addressing limitations
>     
>     radeon uses a need_dma32 flag to indicate to the drm core that some
>     allocations need to be done using GFP_DMA32, but it only checks the
>     device addressing capabilities to make that decision.  Unfortunately
>     PCIe root ports that have limited addressing exist as well.  Use the
>     dma_addressing_limited instead to also take those into account.
>     
>     Reviewed-by: Christian König <christian.koenig@amd.com>
>     Reported-by: Atish Patra <Atish.Patra@wdc.com>
>     Signed-off-by: Christoph Hellwig <hch@lst.de>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> 
> 
> Fix the issue?

I did this and the issue still exists:
https://www.reddit.com/r/linuxquestions/comments/gqrk3m/noisy_screen_in_linux_with_kernel_5/
Comment 4 Alex Deucher 2020-08-17 15:13:50 UTC
Created attachment 290955 [details]
revert

Does this revert fix the issue?
Comment 5 Alex Deucher 2020-09-16 20:51:26 UTC
Does it work correctly with 5.9-rc1 or newer?
Comment 6 Alex Deucher 2020-09-16 22:06:42 UTC
Another thing to try, does setting radeon.agpmode=-1 fix the issue?
Comment 7 Mohammad Naeim 2021-02-06 16:34:45 UTC
(In reply to Alex Deucher from comment #5)
> Does it work correctly with 5.9-rc1 or newer?

I tested with 5.10 and the problem still exists.
Comment 8 Mohammad Naeim 2021-02-06 16:37:14 UTC
(In reply to Alex Deucher from comment #6)
> Another thing to try, does setting radeon.agpmode=-1 fix the issue?

I add it to grub but the issue still exists.
Comment 9 roccatos 2021-12-12 16:55:21 UTC
same problem.
(i guess with "noisy" you mean "unreadable")
i face the problem with mint and manjaro installer
kali installation worked but the problem occurred after the first reboot
Comment 10 roccatos 2021-12-12 16:57:18 UTC
i forgot to mention that i have "AMD RV620/M82 [Mobility Radeon HD 3450/3470]"
i tried same live usb with persistence on other pc (buitin intel somewhat) and all worked fine