--- Begin Message ---
Subject: |
xorg not starting on x200 due to recent commit |
Date: |
Sun, 24 Sep 2017 10:23:02 -0500 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
The following commit to guix makes it so that I can't start xorg:
c68c201fdd429140da1c606861c9296b9cb01265
Author: Andy Wingo <address@hidden>
CommitDate: Wed Sep 20 15:40:31 2017 +0200
gnu: xorg-server: Prefer intel driver only for older GPUs.
* gnu/packages/xorg.scm (xorg-server): Add patch to only prefer the intel
driver for older Intel GPUs.
The commit seems useful, but unfortunately I think I'm not the only x200
user, and this is breaking things for me! I wonder if there's a way to
keep the commit's purpose/feature without breaking xorg on x200s?
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#28578: xorg not starting on x200 due to recent commit |
Date: |
Thu, 28 Dec 2017 12:20:07 -0600 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
Ricardo Wurmus writes:
> Hi,
>
>> In the meanwhile, I've figured maybe I could test trying to set up xorg
>> to use a specific driver to see if that fixes it:
>>
>> (services (cons*
>> ;;; ...
>> (modify-services %desktop-services
>> (slim-service-type
>> startx =>
>> (xorg-start-command
>> #:configuration-file
>> (xorg-configuration-file
>> #:drivers '("intel")))))))
>
> This is what my modification looks like:
>
> (slim-service-type
> config => (slim-configuration
> (inherit config)
> (startx (xorg-start-command
> #:configuration-file
> (xorg-configuration-file
> #:extra-config
> (list marble-mouse-settings
> dvorak-evdev))))))
>
> i.e. I’m capturing the default config, inherit from it, and the override
> the “startx” field. You are capturing the default config as “startx”
> and then replace the configuration with the value returned by
> “xorg-start-command”. That doesn’t look right.
Thank you! I switched it to:
(modify-services %desktop-services
(slim-service-type
config => (slim-configuration
(inherit config)
(startx (xorg-start-command
#:configuration-file
(xorg-configuration-file
#:drivers '("intel")))))))
This solved it for me... xorg is back up and running again!
So I guess if you have an old x200 or so and are having this problem
(which seemingly at the moment nobody else is, so I'm closing this): do
as I did and (hopefully) that should solve it!
--- End Message ---