all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* change resolution (new style) + question about qxl driver
@ 2016-07-20  9:42 tk0
  2016-07-20 21:25 ` Alex Kost
  0 siblings, 1 reply; 6+ messages in thread
From: tk0 @ 2016-07-20  9:42 UTC (permalink / raw)
  To: help-guix@gnu.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: change resolution (new style) + question about qxl driver
@ 2016-07-22  9:45 David Craven
  2016-07-23  9:21 ` tk0
  0 siblings, 1 reply; 6+ messages in thread
From: David Craven @ 2016-07-22  9:45 UTC (permalink / raw)
  To: help-guix

I've been working on spice support. Appart from writing synopsis
and adding descriptions there a couple of issues I've run into.

Qxl driver:
It fills my Xorg.0.log with:
> qxl_kms_surface_create: Bad bpp: 1 (1)

Spice vdagent/vdagentd:
* Copy pasting works
* Adjusting guest display resolution does not:
According to [0] only works with gnome and qxl.

Writting a service for spice vdagent:
* Needs to be started after xsession or will fail. Didn't figure
out how to start it after login.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1352226

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-28 16:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20  9:42 change resolution (new style) + question about qxl driver tk0
2016-07-20 21:25 ` 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

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.