Bug 199123

Summary: kernel 4.16rc5 doesnt boot on ryzen 5 2400g due to an amdgpu change
Product: Drivers Reporter: david becerra (davidbecerraporres)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: airlied, alexdeucher, davidbecerraporres, harry.wentland
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.16rc5 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: [PATCH] drm/amd/display: Refine disable VGA

Description david becerra 2018-03-15 08:55:35 UTC
a change that landed on 4.16rc5 rendered the system unbootable, when the display manager loads only a black screen is shown i cant even switch ttys
im using kernel 4.15.9 for now
Comment 1 david becerra 2018-03-15 08:57:53 UTC
also for if it mathers my motherboard is asus b350m-e bios 3803
Comment 2 Michel Dänzer 2018-03-15 09:22:34 UTC
Can you bisect?
Comment 3 david becerra 2018-03-15 09:39:25 UTC
(In reply to Michel Dänzer from comment #2)
> Can you bisect?

i cant do the process, but im 99% sure the bad commit is: https://github.com/torvalds/linux/commit/65307f2e05100be34698bcf7545285dd1cf6ff2c

ironic because it was supposed to FIX black screens
Comment 4 Alex Deucher 2018-03-15 14:29:25 UTC
Does this patch fix it:
https://patchwork.freedesktop.org/patch/210827/
Comment 5 Harry Wentland 2018-03-15 15:00:26 UTC
Created attachment 274755 [details]
[PATCH] drm/amd/display: Refine disable VGA

The patch Alex posted might not be enough. Attached patch might be more robust.
Comment 6 david becerra 2018-03-15 21:12:04 UTC
(In reply to Harry Wentland from comment #5)
> Created attachment 274755 [details]
> [PATCH] drm/amd/display: Refine disable VGA
> 
> The patch Alex posted might not be enough. Attached patch might be more
> robust.

this patch doesnt seem to work :(
but have in mind that when i applied the patch it said something about a hunk and offsets
im using the manjaro pkgbuild adding your patch btw
Comment 7 david becerra 2018-03-17 13:32:26 UTC
latest manjaro kernel update seems to have fixed the issue
Comment 8 david becerra 2018-03-17 13:41:10 UTC
(In reply to david becerra from comment #7)
> latest manjaro kernel update seems to have fixed the issue

but there is an issue in 4.16 the cursor is very choppy but in 4.15.9 is smooth
i dont know if it is related
Comment 9 Michel Dänzer 2018-03-17 20:29:34 UTC
(In reply to david becerra from comment #8)
> but there is an issue in 4.16 the cursor is very choppy but in 4.15.9 is
> smooth

Sounds like https://bugs.freedesktop.org/show_bug.cgi?id=105530 .
Comment 10 david becerra 2018-03-17 21:14:23 UTC
(In reply to Michel Dänzer from comment #9)
> (In reply to david becerra from comment #8)
> > but there is an issue in 4.16 the cursor is very choppy but in 4.15.9 is
> > smooth
> 
> Sounds like https://bugs.freedesktop.org/show_bug.cgi?id=105530 .

it isnt, i didnt have tearfree set but i tried adding Option "TearFree" "off" to try and the cursor is still choppy
Comment 11 david becerra 2018-03-21 10:49:49 UTC
issue still present in 4.16rc6
Comment 12 david becerra 2018-03-24 22:42:43 UTC
linux amd-staging drm-next has also a choppy cursor but its less severe
linux 4.15 is still good
Comment 13 david becerra 2018-03-26 22:06:43 UTC
issue still present in 4.16rc7
4.15.13 still fine
Comment 14 Harry Wentland 2018-03-27 17:35:21 UTC
Can we close this ticket if the original issue has been fixed and open a new one for the choppy cursor? It gets confusing when tickets evolve from one issue to another.
Comment 15 david becerra 2018-03-27 21:36:55 UTC
(In reply to Harry Wentland from comment #14)
> Can we close this ticket if the original issue has been fixed and open a new
> one for the choppy cursor? It gets confusing when tickets evolve from one
> issue to another.

yes, thats a good idea closing
Comment 16 david becerra 2018-03-28 08:02:51 UTC
the new issue is https://bugzilla.kernel.org/show_bug.cgi?id=199229