all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Dmitry Nikolaev <cameltheman@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Set screen resolution in X.
Date: Tue, 01 Sep 2015 23:18:30 +0200	[thread overview]
Message-ID: <87io7tet3t.fsf@gnu.org> (raw)
In-Reply-To: <CAH3JXcFbrEUY+U3y4wiX3as7JC-EiPUFuUJiJmH+7HvyVz15-Q@mail.gmail.com> (Dmitry Nikolaev's message of "Mon, 31 Aug 2015 14:46:13 +0300")

Dmitry Nikolaev <cameltheman@gmail.com> skribis:

>>> 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)*/"

It looks like Xorg falls back to VESA, which may be why ‘xrandr’ gives
you no choice.  So it’s probably not a GuixSD-specific problem.

I don’t know the status of free drivers for these Radeon cards.  Maybe
http://h-node.org or similar sites have more info?

Thanks,
Ludo’.

  reply	other threads:[~2015-09-01 21:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18  8:26 Set screen resolution in X Dmitry Nikolaev
2015-08-19 19:20 ` Alex Kost
2015-08-31 11:46   ` Dmitry Nikolaev
2015-09-01 21:18     ` Ludovic Courtès [this message]
2015-08-23 21:45 ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2015-08-14  9:27 Camel
2015-08-13  7:12 Camel
2015-08-13  9:23 ` Andy Wingo
2015-08-13 12:32   ` Thompson, David
2015-08-20 13:06 ` 宋文武
2015-08-12  7:08 Camel
2015-08-10 18:16 Camel
2015-08-10 20:16 ` Thompson, David
2015-08-11 20:06   ` Camel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87io7tet3t.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=cameltheman@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.