guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KMScon vs. AMD Radeon


From: pelzflorian (Florian Pelz)
Subject: Re: KMScon vs. AMD Radeon
Date: Mon, 22 Apr 2019 13:48:52 +0200
User-agent: NeoMutt/20180716

On Sat, Apr 20, 2019 at 02:37:00PM +0200, Pierre Neidhardt wrote:
> OK, apparently it's possible to force AMDGPU onto Southern Island / Sea
> Island:
> 
> https://wiki.archlinux.org/index.php/AMDGPU#Enable_Southern_Islands_(SI)_and_Sea_Islands_(CIK)_support
> 

It seems like this does not help.


> We'd need to things:
> 
> - enable the following in linux-libre
> 
> --8<---------------cut here---------------start------------->8---
> # CONFIG_DRM_AMDGPU_SI is not set
> # CONFIG_DRM_AMDGPU_CIK is not set
> --8<---------------cut here---------------end--------------->8---
> 
> - Make sure amdgpu is loaded before radeon.  Can we do that in the
>   operating-system declaration?
> 

I added the above definitions

---
 gnu/packages/linux.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b562a23b2f..0173176be3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -275,7 +275,9 @@ for ARCH and optionally VARIANT, or #f if there is no such 
configuration."
     ("CONFIG_VIRTIO_MMIO" . m)
     ("CONFIG_FUSE_FS" . m)
     ("CONFIG_CIFS" . m)
-    ("CONFIG_9P_FS" . m)))
+    ("CONFIG_9P_FS" . m)
+    ("CONFIG_DRM_AMDGPU_SI" . #t)
+    ("CONFIG_DRM_AMDGPU_CIK" . #t)))
 
 (define (config->string options)
   (string-join (map (match-lambda
-- 
2.21.0
 
and changed nothing about the modules and their ordering.  Then I
reconfigured.

As before, when I do not specify modprobe.blacklist=radeon, the
display gets stuck with

[   8.679377] fb0: switching to radeondrmfb from EFI VGA

Before, I could add modprobe.blacklist=radeon to boot to a console.

Now I add modprobe.blacklist=radeon and get

[   9.507629] fb0: switching to amdgpudrmfb from EFI VGA

It seems like now it is still broken just with amdgpu instead.

Regards,
Florian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]