After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772470 - Ability to run script prior to gnome-shell/mutter startup for optimus
Ability to run script prior to gnome-shell/mutter startup for optimus
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-05 19:25 UTC by Maik Freudenberg
Modified: 2018-05-24 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maik Freudenberg 2016-10-05 19:25:07 UTC
References:
https://bugzilla.gnome.org/show_bug.cgi?id=768204

https://bugzilla.gnome.org/show_bug.cgi?id=751602
https://bugzilla.gnome.org/show_bug.cgi?id=748297

Same old story, but with gdm-3.20 this got severe. In short, Optimus/PRIME offloading needs xrandr commands executed after xserver startup and *before* gnome-shell/mutter starts up. In gdm session, all userscripts are disabled and autostart is now executed tooooo late so gnome-shell/mutter crashes.

Easiest for me was to hack into gdm-x-session lauching a script there right after xserver startup. This is needed! xorg.conf options for this are not any near even talked about. For more info and hack-patch see bug 768204
Comment 1 GNOME Infrastructure Team 2018-05-24 11:27:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/274.