From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Installing the system from another distro Date: Sun, 30 Nov 2014 00:00:47 +0300 Message-ID: <87oarpvi0w.fsf@gmail.com> References: <87a93gww7l.fsf@gmail.com> <87lhn0zf9c.fsf@gnu.org> <87wq6jv3nx.fsf@gmail.com> <87r3wrfi9f.fsf@gnu.org> <87k32hu2to.fsf@gmail.com> <87d289ty4p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xup8b-0005Cf-9L for guix-devel@gnu.org; Sat, 29 Nov 2014 16:01:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xup8S-0007f1-62 for guix-devel@gnu.org; Sat, 29 Nov 2014 16:01:05 -0500 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.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s (2014-11-27 01:06 +0300) wrote: > Alex Kost skribis: [...] >> Thanks for the pointers! You helped to figure it out. And the system >> is awesome!! The only big issue I've noticed so far is: the screen >> resolution was 800x600 for me and xrandr didn't give any other option. >> "/var/log/Xorg.0.log" told me that the module for my videocard ("sis") >> wasn't loaded. I looked at (gnu services xorg) and found that not all >> available "xf86-video-=E2=80=A6" modules are placed at "xserver.conf". = Is there >> a reason for that? > > No reason! Please do add it. I checked that adding xf86-video-sis fixes the resolution problem. But did you mean to add just xf86-video-sis (a trivial patch for this is attached) or all modules? I see that you added a commented line for xf86-video-modesetting, so I assume that adding all available modules may introduce unexpected issues. >> Hm, perhaps I just need to install "xf86-video-sis" package (I should >> have tried it before asking). > > X would not find it; it really needed to be listed in the search path in > xorg.conf. > >> Also I have a question. I usually add some custom lines to "xorg.conf". >> I suppose currently there is no other way to do it but to make my own >> xorg (slim) service. Right? > > Actually it=E2=80=99s =E2=80=98xorg-start-command=E2=80=99 that creates x= org.conf. > > The best thing would be to add a parameter to that function to allow > arbitrary text to be appended. (Well, not just text, but a list of > strings and possibly packages; the =E2=80=98xserver.conf=E2=80=99 procedu= re would do > (apply text-file* "xserver.conf" ... user-text).) > > WDYT? Yes, it would be good. Currently I don't need it, but I'll look at it if I will have such need :-) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-services-xorg-Add-xf86-video-sis.patch >From 35119792b81cc7f0fbb68f096df2bd6f6727eaeb Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Fri, 28 Nov 2014 23:49:58 +0300 Subject: [PATCH] services: xorg: Add 'xf86-video-sis'. * gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add ModulePath for 'xf86-video-sis'. --- gnu/services/xorg.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index 5236573..c813f0f 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -96,6 +96,7 @@ Section \"Files\" ModulePath \"" xf86-video-intel "/lib/xorg/modules/drivers\" ModulePath \"" xf86-video-mach64 "/lib/xorg/modules/drivers\" ModulePath \"" xf86-video-nv "/lib/xorg/modules/drivers\" + ModulePath \"" xf86-video-sis "/lib/xorg/modules/drivers\" ModulePath \"" xf86-input-keyboard "/lib/xorg/modules/input\" ModulePath \"" xf86-input-mouse "/lib/xorg/modules/input\" ModulePath \"" xf86-input-synaptics "/lib/xorg/modules/input\" -- 2.1.3 --=-=-=--