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 795724 - Generating xorg.conf with nvidia-xconfig as root crashes GDM at startup
Generating xorg.conf with nvidia-xconfig as root crashes GDM at startup
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-01 17:56 UTC by Cosmin Polifronie
Modified: 2018-05-24 11:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Archive with the configuration files and journalctl outputs (9.82 KB, application/x-7z-compressed)
2018-05-01 17:56 UTC, Cosmin Polifronie
Details

Description Cosmin Polifronie 2018-05-01 17:56:23 UTC
Created attachment 371582 [details]
Archive with the configuration files and journalctl outputs

Overview: generating /etc/X11/xorg.conf using nvidia-xconfig 390.48 as root crashes GDM 3.28.1 at startup

Steps to Reproduce:
    1) install nvidia package on Arch Linux as root on a fresh install (/etc/X11/xorg.conf shouldn't exist)
    2) execute nvidia-xconfig as root
    3) reboot the system

Actual Results: GDM crashes and hangs the tty

Expected Results: GDM starts correctly

Build Date & Hardware: 2018-04-18 Gnome 3.28.1 Arch Linux / Lenovo Y520-15IKBN - NVIDIA GeForce 1050 Ti

Additional Information: the /etc/X11/xorg.conf file seems to be generated correctly if there is info in there already (I have made some settings to enable NVIDIA Optimus following the steps in the Arch Linux Wiki page). I have attached the crash journalctl, as well as the 2 xorg.conf files: the one that crashes GDM and the one that doesn't (before and after generation).

I can't reproduce this anymore, but the first time I got this crash I got a segfault (journal-initial). After that, I got only the second part (journal-second).
Comment 1 GNOME Infrastructure Team 2018-05-24 11:50:05 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/376.