help-guix
[Top][All Lists]
Advanced

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

change resolution (new style) + question about qxl driver


From: tk0
Subject: change resolution (new style) + question about qxl driver
Date: Wed, 20 Jul 2016 05:42:49 -0400

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, Swiss-based encrypted email.



reply via email to

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