From owner-freebsd-questions@freebsd.org Sat Sep 14 23:00:34 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1A99D1AED for ; Sat, 14 Sep 2019 23:00:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46W7Jd4H2Yz4ZtC for ; Sat, 14 Sep 2019 23:00:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.102.97.67]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1N9dbx-1iCJtQ3apZ-015WBg; Sun, 15 Sep 2019 01:00:30 +0200 Date: Sun, 15 Sep 2019 01:00:28 +0200 From: Polytropon To: Rob Cc: Rob via freebsd-questions Subject: Re: AMD driver/Xorg/KDE5 issue Message-Id: <20190915010028.67b44ae3.freebsd@edvax.de> In-Reply-To: <9c54fa7c-8013-26e5-ad37-1f589be7c1d7@gmail.com> References: <9c54fa7c-8013-26e5-ad37-1f589be7c1d7@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:NKhheLlouBfMWnxVETVSC0rwftGpnyIim82z5InJs40v2xdl4hh zhNtNcn0HDawbfvmULXC+RQoAAkbovl0emFyfef123at5XzTx+MX8jxlnBWikysYgmVSVqK iLGyvKcDDkN+1DHS6hxOUya/liz0dDpOzA2SxNrsb2C2LBKDTOtoqm/1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bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.67 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[67.97.102.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.80)[0.804,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.980,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.49)[ip: (1.67), ipnet: 212.227.0.0/16(-1.37), asn: 8560(2.15), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 23:00:34 -0000 On Sat, 14 Sep 2019 23:06:29 +0100, Rob via freebsd-questions wrote: > Dear FreeBSD questions > > I have for a number of weeks been attempting to install FreeBSD 12.0, > after a lot of frustration I have got it to boot on an old (~7yr old) > laptop of mine. I have got to the point where I am attempting to install > KDE5 but before that I have tried to see if startx works first, it doesn't. > > I have an odd dual AMD graphics set-up (a Radeon HD 6400M/7400M with an > APU whose model I don't remember) so I tried to install the drm-kmod > package as the xorg var log file didn't seem to be able to find a usable > driver, but when I do I get: > > [1/3] Extracting gpu-firmware-kmod-g20190620: 0% > [1/3] pkg: Fail to create /boot/modules:No such file or directory > [1/3] Extracting gpu-firmware-kmod-g20190620: 100% > > Having found this problem, I wiped the drive, reinstalled FreeBSD again > and before rebooting the system, I created this directory in case it was > some odd permissions issue, but I get the same message. Are you sure your base OS installation went without problems? That bessage doesn't look right... Wiping and re-installing sounds a bit drastic for a non-working graphics driver. This isn't "Windows", you know? ;-) In order to get AMD / ex ATi Radeon HD working - I had a similar problem on an older laptop / almost-netbook -, you need to install the following: drm-fbsd12.0-kmod gpu-firmware-kmod Sadly, with AMD, I'm never sure which one is correct: is it amdgpu, or radeon-something, or what? I can fully understand your problems described here, even though the error message looks strange... In /boot/loader.conf, add: drm_load="YES" I'm not sure X would load it automatically, and the hints for adding kld_list="/boot/modules/radeonkms.ko" to /etc/rc.conf (as explained somewhere I can't remember) didn't work on my system (X always loaded VESA). Regarding X, make sure you have installed the appropriate drivers. I had success with xf86-video-ati Except the 3D results are terrible (like with Intel desktop graphics). This setup worked for what I have in this laptop. In ports there are "radeontool" and "radeontop", but no further X video drivers named "ati", so I assume the "ati" one is correct, as there doesn't seem to be any "radeonhd" anymore, even though "man radeon" leads to a manual page (it probably comes from the ati driver package, not entirely sure). More information here: https://wiki.freebsd.org/Graphics Make sure you start X without any configuration first. Examine /var/log/Xorg.0.log in case X doesn't start properly. Sidenote: When your "text" console becomes unreadable due to ant-tiny letters, you did load the correct driver successfully. ;-) > If anyone more competent than me (i.e. everyone) has an idea how I could > fix this I would be grateful. Small steps: simple things (X) first, complex things (KDE) second. Check log files and error messages. Provide commands and responses of what you tried. > Also, I sent an email to the mailman on the FreeBSD mailing list > regarding this issue but other than an 'awaiting approval' email I have > not heard any more. You probably used the address of the list manager. That is not a place to ask for technical help - the list itself is there for it. > I believe that I am supposed to register as a > member, I have registered on the forums as user In_Over_My_Head but I am > not sure if that is the type of registration that the mailman is > referring to. The web forum is totally independent from this mailing list. You _can_ register to post to the list, but you _need_ to register if you want to receive the list's messages. > It would help if certain things such as this were made > clearer, especially if those heavily involved with this project wish to > reach a potentially wider user base as some may consider such behaviour > as rude. Rude is something absolutely different. Over the many years I'm on this list, I am still pleased about the friendly tone and the helpful answers on this list. Other places are, compared to this list, hostile. You can find descriptions of the FreeBSD mailing lists here: https://lists.freebsd.org/mailman/listinfo I'd say _this_ mailing list is the right place to ask. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...