all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tk0 <tk0@protonmail.com>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: change resolution (new style) + question about qxl driver
Date: Wed, 20 Jul 2016 05:42:49 -0400	[thread overview]
Message-ID: <1OGZ8GTG7BVHnUUW-boO9wywU6W9wj6dIQsadEsRWXlZsdGoY0FEhZ8yor_4I09E2AanO95Ss7lcBTe84yhwzF9ADwB7P0yOqjqsylnr5x0=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2192 bytes --]

Hi,

This approach,

>
> (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)))
>

does not work anymore, apparently.

For the reference (thanks #guix people!), the new solution that should be included in the system configuration file should be:
(define custom-desk-services
(modify-services %desktop-services
(slim-service-type config => (slim-configuration
(inherit config)
(startx
(xorg-start-command
#:configuration-file
(xorg-configuration-file
#:resolutions '((1024 768) (800 600)))))))))

;.....other stuff .....

(services %custom-desk-services)

It is also necessary to load the appropriate guile module: (gnu services xorg)

I was able to reconfigure my system without issues with the snippet above (i hoped i retyped everything correctly;
copy-n-paste does not work between my VM and host at the moment ;) ).

Any comments?

Another question is about the qxl display driver. This is the standard on my kvm image. There is this weird message from X:

****************
11.379] (II) Module glx: vendor="X.Org Foundation"
[ 11.379] compiled for 1.18.1, module version = 1.0.0
[ 11.379] ABI class: X.Org Server Extension, version 9.0
[ 11.379] (==) AIGLX enabled
[ 11.379] (==) Matched qxl as autoconfigured driver 0
[ 11.380] (==) Matched qxl as autoconfigured driver 1
[ 11.380] (==) Matched modesetting as autoconfigured driver 2
[ 11.380] (==) Matched fbdev as autoconfigured driver 3
[ 11.380] (==) Matched vesa as autoconfigured driver 4
[ 11.380] (==) Assigned the driver to the xf86ConfigLayout
[ 11.380] (II) LoadModule: "qxl"
[ 11.381] (WW) Warning, couldn't open module qxl
[ 11.381] (II) UnloadModule: "qxl"
[ 11.381] (II) Unloading qxl
[ 11.381] (EE) Failed to load module "qxl" (module does not exist, 0)
****************

It seems qxl gets unloaded, and I'm unable to push the resolution in the vm higher than 1024x768. Does anyone have an idea what is the issue here and how to fix it?



Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.

[-- Attachment #2: Type: text/html, Size: 5236 bytes --]

             reply	other threads:[~2016-07-20  9:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  9:42 tk0 [this message]
2016-07-20 21:25 ` change resolution (new style) + question about qxl driver Alex Kost
  -- strict thread matches above, loose matches on Subject: below --
2016-07-22  9:45 David Craven
2016-07-23  9:21 ` tk0
2016-07-23  9:38   ` David Craven
2016-07-28 16:10     ` David Craven

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='1OGZ8GTG7BVHnUUW-boO9wywU6W9wj6dIQsadEsRWXlZsdGoY0FEhZ8yor_4I09E2AanO95Ss7lcBTe84yhwzF9ADwB7P0yOqjqsylnr5x0=@protonmail.com' \
    --to=tk0@protonmail.com \
    --cc=help-guix@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.