From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: kmscon not working on MacBook Date: Wed, 11 Mar 2020 08:14:37 +0100 Message-ID: <20200311071437.6ykyxcqdrgjtagrq@pelzflorian.localdomain> References: <86lfoqy8h0.fsf@dismail.de> <87pne3d5t6.fsf@gnu.org> <60bd323b399bc4fafefc74d7fa84c0db@dismail.de> <20200308120400.bdrkyo653fhbtkml@pelzflorian.localdomain> <87a74q8spt.fsf_-_@gnu.org> <20200309074358.jly3mtrevwm75wip@pelzflorian.localdomain> <87h7yx1npi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="hn4xzego6yfepfyx" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42364) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBvZj-0001EZ-Ez for guix-devel@gnu.org; Wed, 11 Mar 2020 03:14:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBvZi-0003OM-5u for guix-devel@gnu.org; Wed, 11 Mar 2020 03:14:43 -0400 Content-Disposition: inline In-Reply-To: <87h7yx1npi.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, jbranso@dismail.de --hn4xzego6yfepfyx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 09, 2020 at 05:45:45PM +0100, Ludovic Court=C3=A8s wrote: > However, in cases where kmscon does *not* exits and simply produces a > black screen, I don=E2=80=99t see what can be done. In the cases you l= ist > above, does kmscon simply sit there without exiting? >=20 When run with --debug, kmscon displays not quite helpful errors: [0000.488942] DEBUG: pty: forking child 28378 (pty_spawn() in src/pty.c:4= 22) [0000.490819] DEBUG: pty: HUP on pty of child 28378 (pty_input() in src/p= ty.c:520) [0000.490866] DEBUG: eloop: child 28378 exited with status 1 (sig_child()= in src/eloop.c:350) [0000.490883] INFO: pty: child exited: pid: 28378 status: 256 (sig_child(= ) in src/pty.c:536) over and over again. (The errors are visible after killing kmscon.) I=E2=80=99m not sure if that is a good means for detection. "pelzflorian (Florian Pelz)" skribis: > A laptop Acer Aspire 5738 using =E2=80=9CAdvanced Micro Devices, > Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]=E2=80=9D *= fails* > with a black screen; manual installation is required (which I have not > tested but probably works). > I could get the installer to display properly by using my unfinished package for the useful v86d helper (attached): guix package -f v86d.scm ln -s /gnu/store/yj9mxi0yr4ksg5v7031mdrc8fvb2wxrb-linux-libre-5.4.24/lib/= /lib modprobe uvesafb v86d=3D/root/.guix-profile/sbin/v86d Without the symbolic linking, kmscon displays a flickering Module uvesafb not found in directory /lib/modules=E2=80=A6 I will try to properly package v86d now (without bundled libraries). uvesafb does not work on my Macbook though; I believe it conflicts with modesetting. Regards, Florian --hn4xzego6yfepfyx Content-Type: application/vnd.lotus-screencam Content-Disposition: attachment; filename="v86d.scm" Content-Transfer-Encoding: quoted-printable (use-modules (guix packages) (guix download) (guix build-system gnu) (guix = licenses) (guix git-download)) =0A=0A(package=0A (name "v86d")=0A (v= ersion "0.1.10")=0A (source=0A (origin=0A (method git-fetch)= =0A (uri (git-reference=0A (url "https://github.com/mjanu= sz/v86d.git")=0A (commit (string-append name "-" version))))=0A= (file-name (git-file-name name version))=0A (sha256=0A = (base32 "1c4iiggb5r9i2hxhk8c6q1m2vpfva39l1w33fsfkrz6fav6x34pp"))))=0A ;;= XXX: either unbundle x86emu and include the x86emu sources from=0A ;;xor= g-server (because they are more recent), or don=E2=80=99t=0A (build-syst= em gnu-build-system)=0A (arguments=0A `(#:tests? #f=0A #:phas= es=0A (modify-phases %standard-phases=0A (replace 'configure= =0A (lambda* (#:key outputs #:allow-other-keys)=0A (l= et ((out (assoc-ref outputs "out")))=0A (setenv "CC" (which "= gcc"))=0A (setenv "DESTDIR" out)=0A (invoke "./= configure" "--with-x86emu")))))))=0A (home-page "https://github.com/mjan= usz/v86d")=0A (synopsis "Userspace helper for uvesafb")=0A (descripti= on=0A "v86d provides a backend for kernel drivers that need to execute = x86 BIOS=0Acode. The code is executed in a controlled environment and the = results are=0Apassed back to the kernel via the netlink interface. v86d is= required by the=0Auvesafb Linux kernel module that provides an fbdev frame= buffer when Kernel=0AMode Setting is unavailable. It can be a last resort = when no other Xorg X=0Aserver driver works.")=0A (license (list gpl2=0A = (x11-style "" "See file headers.")))) ;for bundled x86emu= =0A ;and lrmi=0A=0A --hn4xzego6yfepfyx--