From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A951D59CA3 for ; Sun, 6 Mar 2016 12:12:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AC2F21C06E for ; Sun, 6 Mar 2016 12:12:02 +0000 (UTC) Received: from mail.web-xs.org (mail.web-xs.org [148.251.4.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2C8421C003 for ; Sat, 5 Mar 2016 03:56:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.web-xs.org (Postfix) with ESMTP id B5A656EC3F52 for ; Sat, 5 Mar 2016 04:56:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.web-xs.org Received: from mail.web-xs.org ([127.0.0.1]) by localhost (mail.web-xs.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ztOpeBNFKHMV for ; Sat, 5 Mar 2016 04:56:24 +0100 (CET) Received: from server-1.localdomain (p54A70FB1.dip0.t-ipconnect.de [84.167.15.177]) (Authenticated sender: lukas@der-erste-sinn.de) by mail.web-xs.org (Postfix) with ESMTPA id 2D9596EC3F4B for ; Sat, 5 Mar 2016 04:56:23 +0100 (CET) Received: from hal9000.localdomain (hal.localdomain [192.168.0.2]) by server-1.localdomain (Postfix) with ESMTP id B5BEF563 for ; Fri, 4 Mar 2016 00:16:49 +0100 (CET) Date: Sat, 5 Mar 2016 04:55:59 +0100 From: To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Need some help with switching KDE setup from i915 to radeon graphics Message-ID: <20160305045559.194b7659@hal9000.localdomain> In-Reply-To: <20160304231023.GB8419@asp.fritz.box> References: <20160304231023.GB8419@asp.fritz.box> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 870de3a9-7c35-4f11-971f-553c778ba45e X-Archives-Hash: a039a676dfc2fa9b18217aad561b4fee Frank Steinmetzger wrote: > Hello Fellows, >=20 > My PC had been running on Intel graphics for 1=BD years. Finally, I got > myself an AMD R7 370 today and installed it (together with a second > set of 16 Gigs of RAM ^^). I'm using a R7 250. It has probably an other architecture, so I don't know if my informations are useful for you. =20 > I could use some help getting it working properly. Here is what I did: > yesterday I enabled VIDEO_CARDS=3Dradeon in make.conf and rebuilt world > with --changed-use. I also reconfigured the kernel to build the Intel > driver as a module and to include the radeon module. In my make.conf I defined VIDEO_CARDS=3D"radeon radeonsi" IIRC this double definition is needed for some functions. In my kernel config I defined CONFIG_DRM_RADEON=3Dy CONFIG_DRM_RADEON_USERPTR=3Dy Btw.: I don't use a modular kernel, but I think that this makes no difference. =20 > After installing the card, at first I only had a black screen and > found out (thanks to #gentoo) that I needed a firmware blob. Once > that was installed, I had a KMS-enabled VT on my AMD-connected > monitor. Yay. That's right. You need some firmware files.=20 =20 > Now I'm stuck with a malfunctioning X (or more specifically, KDE, as > it seems). I can run AwesomeWM just fine. But when I try to start > KDE, I see the first of those fading-in progress icons and then the > screen goes black. >=20 > I created a test account to have a clean setup of KDE. This starts KDE > partially, only up to a desktop with an empty panel. There is no mouse > cursor to move around and no reaction to shortcuts such as Alt+F2. >=20 > What else could I have missed in my migration from Intel to AMD? > eselect opengl only shows the xorg-x11 option. I had to comment out a > modeline which I set manually in xorg.conf. It's ok that eselect opengl only shows the xorg-x11 option. Same on my system. =20 > See attached: > - /etc/X11/xorg.conf.d/gfx.conf > - /var/log/Xorg.0.log from running startx with .xinitrc containing > startkde. You can see those three blocks of modelines at the end. At > around or just before this point the screen goes dark. I really don't think that you need any modeline. Your monitor provides=20 an EDID data block that contains all needed information. As long as the monitor has no firmware bug, this should be sufficient. You probably also don't need a xorg.conf. But this depends on your card and on the options you wanna use. My xorg.conf contains only a device=20 section and nothing else. Section "Device" Identifier "ATI-Card" Driver "radeon" Option "TearFree" "on" Option "ShadowPrimary" "off" EndSection As you can see, there is also an TearFree option for Radeon Cards. When I don't disable ShadowPrimary, then X has some rendering=20 glitches. And last but not least, it probably may be important that you=20 compile xf86-video-ati with the glamor USE flag. I'm using a stable gentoo system with only a few exceptions. xf86-video-ati is one of=20 it, because version 7.6.1 runs much smoother with my card than the stable version. x11-drivers/xf86-video-ati-7.6.1 glamor udev There is also a gentoo radeon wiki available on the net. I used it to get my card working. I can't remember the URL and I'm too lazy to search for it right now, sorry for that. ;-) -- Regards wabe