guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set screen resolution in X.


From: Ludovic Courtès
Subject: Re: Set screen resolution in X.
Date: Tue, 01 Sep 2015 23:18:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dmitry Nikolaev <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]