From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Nikolaev Subject: Re: Set screen resolution in X. Date: Mon, 31 Aug 2015 14:46:13 +0300 Message-ID: References: <87lhd72ihm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWNXV-0003Gb-2v for guix-devel@gnu.org; Mon, 31 Aug 2015 07:46:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWNXU-0000Zy-7Q for guix-devel@gnu.org; Mon, 31 Aug 2015 07:46:17 -0400 Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:36437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWNXT-0000Yc-Uo for guix-devel@gnu.org; Mon, 31 Aug 2015 07:46:16 -0400 Received: by lbvd4 with SMTP id d4so22616323lbv.3 for ; Mon, 31 Aug 2015 04:46:13 -0700 (PDT) In-Reply-To: <87lhd72ihm.fsf@gmail.com> 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: guix-devel >> I've tried everything. Please help me. I want to help Guix, write new >> packages and patches, but I can't. My eyes hurts because of wrong >> resolution. Here is my full config.scm: > Are you sure the resolution you want is supported in your X session? > Please post the output of "xrandr". $ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm 1024x768 0.00* Here is some of my lspci. As you can see I have Radeon card: $ lspci | grep -i radeon 01:05.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] RS880M [Mobility Radeon HD 4225/4250] 01:05.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] RS880 HDMI Audio [Radeon HD 4200 Series] And here is the answer to the topic question. How to set screen resolutions? Like this: (define (my-slim-service) (mlet* %store-monad ((config (xorg-configuration-file ;; #:drivers '("radeon" "vesa") #:resolutions '((1366 768) (1024 768)) )) (startx (xorg-start-command #:configuration-file config))) (slim-service #:startx startx))) But it won't work for me, because of non-free radeon microcode. If I uncomment #:drivers line I'll get error like this on X startup: Missing Free firmware Failed to load firmware "/*(DEBLOBBED)*/" Dmitry