All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
@ 2017-07-31 16:53 bugzilla-daemon
  2017-07-31 17:04 ` bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-07-31 16:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]

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

            Bug ID: 101988
           Summary: blackscreen after modprobe amdgpu on R9M370X mac
                    edition
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: newincpp@gmail.com

Created attachment 133154
  --> https://bugs.freedesktop.org/attachment.cgi?id=133154&action=edit
dmesg after `modprobe amdgpu` and getting blackscreen

I don't know if this is specific to R9M370X - mac edition but I couldn't
reproduce it on other AMD PC I have.

This is fairly simple to reproduce, I just have to mount the amdgpu and I get a
black screen on my main screen and my main screen only (my second screen is
fine)

I don't have this problem using radeon with the exact same kernel config.
dmesg is saying everything is fine and X11 log is irrelevant because it happen
_before_ startx.
I am using Linux 4.12.4-gentoo.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2721 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
@ 2017-07-31 17:04 ` bugzilla-daemon
  2017-07-31 17:40 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-07-31 17:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 467 bytes --]

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

--- Comment #1 from newincpp@gmail.com ---
Created attachment 133155
  --> https://bugs.freedesktop.org/attachment.cgi?id=133155&action=edit
My kernel .config

note that I disabled the intel driver and the runtime gpu switch despite the
fact that 2015 MBP have an internal intel GPU but this bug is also reproducible
with it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1368 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
  2017-07-31 17:04 ` bugzilla-daemon
@ 2017-07-31 17:40 ` bugzilla-daemon
  2017-08-01 14:44 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-07-31 17:40 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
I don't see any problems with the driver load.  The display switching is
handled by a proprietary mechanism independent of the GPU driver on macs.  I'm
not sure what the status of that support is.  I think your problem is likely
related to that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2286 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
  2017-07-31 17:04 ` bugzilla-daemon
  2017-07-31 17:40 ` bugzilla-daemon
@ 2017-08-01 14:44 ` bugzilla-daemon
  2017-08-01 14:45 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 14:44 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 293 bytes --]

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Does using this branch help?
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.14-wip

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1233 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-08-01 14:44 ` bugzilla-daemon
@ 2017-08-01 14:45 ` bugzilla-daemon
  2017-08-01 16:49 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 14:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 541 bytes --]

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTOURBUG                   |---
             Status|RESOLVED                    |REOPENED

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
Sorry. I didn't realize this worked on radeon.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-08-01 14:45 ` bugzilla-daemon
@ 2017-08-01 16:49 ` bugzilla-daemon
  2017-08-01 16:57 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 16:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1002 bytes --]

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

--- Comment #5 from newincpp@gmail.com ---
I cloned "~agd5f/linux" on the branch "drm-next-4.14-wip" and copied my .config
from the 4.12.4 I was using.
`uname -r` give me "4.12.0-rc7+"

Now `modprobe amdgpu` is freezing my screen instead of blackscreen.
`dmesg | grep amdgpu -i` give this :

[  107.804074] [drm] amdgpu kernel modesetting enabled.
[  107.804109] fb: switching to amdgpudrmfb from EFI VGA
[  107.804672] amdgpu 0000:01:00.0: SI support provided by radeon.
[  107.804674] amdgpu 0000:01:00.0: Use radeon.si_support=0 amdgpu.si_support=1
to override.

Using 4.12.4 my second screen was fine, that isn't the case anymore with
drm-next-4.14-wip.
Using 4.12.4 I could startx (with a second screen obviously, my main screen was
remaining black) now startx seems to return "no screen found".


Note that radeon is still working perfectly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1837 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-08-01 16:49 ` bugzilla-daemon
@ 2017-08-01 16:57 ` bugzilla-daemon
  2017-08-01 17:45 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 16:57 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]

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

--- Comment #6 from Alex Deucher <alexdeucher@gmail.com> ---
Can you try this patch:
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-4.14-wip&id=e5c8d400da67abc1c033b9a4af1806926b55e5f6

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1290 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-08-01 16:57 ` bugzilla-daemon
@ 2017-08-01 17:45 ` bugzilla-daemon
  2017-08-01 18:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 17:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1274 bytes --]

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

--- Comment #7 from newincpp@gmail.com ---
git apply returned me:
"error: patch failed: drivers/gpu/drm/amd/amdgpu/si.c:1413
error: drivers/gpu/drm/amd/amdgpu/si.c: patch does not apply"

So I checked manually:
1413                 amdgpu_program_register_sequence(adev,
1414                                                  pitcairn_mgcg_cgcg_init,
1415                                                  (const
u32)ARRAY_SIZE(pitcairn_mgcg_cgcg_init));
1416                 break;
1417

1438                 amdgpu_program_register_sequence(adev,
1439                                                  oland_mgcg_cgcg_init,
1440                                                  (const
u32)ARRAY_SIZE(oland_mgcg_cgcg_init));
1441                 break;
1442         case CHIP_HAINAN:
1443


The two break are already there. I checked if I cloned what you said:
`git branch` return
"* drm-next-4.14-wip"
I also checked using git log and the patch
e5c8d400da67abc1c033b9a4af1806926b55e5f6 is already in the list

PS: I'm very far from being a git expert so maybe I got something wrong and not
cloned the good one ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2089 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-08-01 17:45 ` bugzilla-daemon
@ 2017-08-01 18:08 ` bugzilla-daemon
  2017-08-01 20:35 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 18:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 678 bytes --]

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

--- Comment #8 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to newincpp from comment #7)

> The two break are already there. I checked if I cloned what you said:
> `git branch` return
> "* drm-next-4.14-wip"
> I also checked using git log and the patch
> e5c8d400da67abc1c033b9a4af1806926b55e5f6 is already in the list

The patch is already there in my 4.14-wip branch, but you seem to be having
other problems with that kernel, so I suggested that patch if you want to try
the patch on an older kernel that works better.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1590 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-08-01 18:08 ` bugzilla-daemon
@ 2017-08-01 20:35 ` bugzilla-daemon
  2017-08-02  1:45 ` bugzilla-daemon
  2019-11-19  8:20 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-01 20:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 262 bytes --]

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

--- Comment #9 from newincpp@gmail.com ---
Having this patch or not on 4.12.4 does not change anything (at least on this
bug)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1057 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-08-01 20:35 ` bugzilla-daemon
@ 2017-08-02  1:45 ` bugzilla-daemon
  2019-11-19  8:20 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-08-02  1:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]

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

--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---
(In reply to newincpp from comment #5)
> [  107.804672] amdgpu 0000:01:00.0: SI support provided by radeon.
> [  107.804674] amdgpu 0000:01:00.0: Use radeon.si_support=0
> amdgpu.si_support=1 to override.

Follow this advice and set radeon.si_support=0 amdgpu.si_support=1 to use the
amdgpu driver. (In exchange, you no longer need to blacklist the radeon driver)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1462 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition
  2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
                   ` (9 preceding siblings ...)
  2017-08-02  1:45 ` bugzilla-daemon
@ 2019-11-19  8:20 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #11 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/216.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2399 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-11-19  8:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 16:53 [Bug 101988] blackscreen after modprobe amdgpu on R9M370X mac edition bugzilla-daemon
2017-07-31 17:04 ` bugzilla-daemon
2017-07-31 17:40 ` bugzilla-daemon
2017-08-01 14:44 ` bugzilla-daemon
2017-08-01 14:45 ` bugzilla-daemon
2017-08-01 16:49 ` bugzilla-daemon
2017-08-01 16:57 ` bugzilla-daemon
2017-08-01 17:45 ` bugzilla-daemon
2017-08-01 18:08 ` bugzilla-daemon
2017-08-01 20:35 ` bugzilla-daemon
2017-08-02  1:45 ` bugzilla-daemon
2019-11-19  8:20 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.