trueos / trueos-core

59 stars 18 forks source link

Display manager GUI invisible #246

Closed grahamperrin closed 7 years ago

grahamperrin commented 7 years ago

Intel HD Graphics 5500

HP EliteBook 850 G2

Tuesday 2016-12-20 around 09:25. After allowing Display Settings (if I recall correctly, pc-xgui launched automatically following updates to the OS) to apply an apparently good configuration (IIRC one of the Intel options at 1,920 x 1,080):

The OS responded properly to Escape, both external displays (DisplayPort, HP dock) presented the shut down confirmation dialogue:

img_20161220_092828

Side note: blackness, not greyness, at the integral display.

I keyed Control-Alt-F2, logged in as root, set aside the most recent offending file and automated backup:

xorg.conf.txt xorg.conf.bak.txt

Prepared workaround

At /etc/X11/xorg.conf-2016-12-09 I keep a copy of a superior .conf file –

# XFree86 configuration file for RoFreeSBIE

Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
EndSection

Section "Files"
    ModulePath   "/usr/local/lib/modules"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/share/fonts/cyrillic/"
    FontPath     "/usr/local/share/fonts/TrueType/"
    FontPath     "/usr/local/share/fonts/illinoy/"
    FontPath     "/usr/local/share/fonts/webfonts/"
    FontPath     "/usr/local/share/fonts/misc/"
    FontPath     "/usr/local/share/fonts/TTF/"
    FontPath     "/usr/local/share/fonts/Speedo/"
    FontPath     "/usr/local/share/fonts/Type1/"
    FontPath     "/usr/local/share/fonts/CID/"
    FontPath     "/usr/local/share/fonts/75dpi/"
        FontPath     "/usr/local/share/fonts/100dpi/"
    FontPath     "/usr/local/share/fonts/dejavu/"
    FontPath     "/usr/local/share/fonts/cyrillic/"
    FontPath     "/usr/local/share/fonts/hebrew/"
    FontPath     "/usr/local/share/fonts/vietnamese/"
    FontPath     "/usr/local/share/fonts/indic/"
    FontPath     "/usr/local/share/fonts/ae_fonts1/AAHS"
    FontPath     "/usr/local/share/fonts/ae_fonts1/AGA"
    FontPath     "/usr/local/share/fonts/ae_fonts1/FS"
    FontPath     "/usr/local/share/fonts/ae_fonts1/Kasr"
    FontPath     "/usr/local/share/fonts/ae_fonts1/MCS"
    FontPath     "/usr/local/share/fonts/ae_fonts1/Shmookh"
    FontPath     "/usr/local/share/fonts/local/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "dri"
        Load  "dri2"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "modesetting"
        Option      "AccelMethod"               "none"
        Option      "SWcursor"                  "true"
EndSection

– that probably originated in August 2016 –

$ uname -a
FreeBSD momh167-gjp4-hpelitebook850g2-trueos.university.brighton.ac.uk 12.0-CURRENT FreeBSD 12.0-CURRENT #9 0d57090(drm-next-4.7): Thu Dec 22 01:53:46 UTC 2016     root@gauntlet:/usr/obj/usr/src/sys/GENERIC  amd64
$ beadm list | grep initial
initial                         -      -            9.1G 2016-08-22 11:24        initial
$ 

– and with the name given by me (xorg.conf-2016-12-09, not a .bak) I know that the kernel mode-setting goodness will not be overwritten by the OS.

With #189 I can not use Display Settings to recreate the KMS goodness, so I copied xorg.conf-2016-12-09 to xorg.conf` and then restarted the OS. Result:

img_20161220_093806

– both external displays driven – greyness at the integral display (a separate issue, presumably upstream in Linux).

Intel Graphics HD 3000

Lenovo x121e, Sandy Bridge Core i3

From Some problems/bugs after upgrade from pcbsd to / using TrueOS-Desktop-2016-12-15-x64-USB.img:

… PCDM: With external display there is no login GUI - neither on the main display (laptop/netbook) nor on the external one.

– that's consistent with Display manager GUI invisible (the subject of this issue), and –

Login GUI only displayed if external display is disconnected and pcdm is reloaded. –

– I assume that in the absence of the login GUI, the reload was performed from a root console e.g. Control-Alt-F2. (Or in this Lenovo x121e case, was the power menu visible? I'll seek clarification.)

grahamperrin commented 7 years ago

I can't provide Xorg.0.log for the incident above (sorry; the need to use the machine for work overtook the wish to gather information for troubleshooting). Maybe when I'm next at work, in January.

pkgdemon commented 7 years ago

This has been a longstanding issue with pc-xgui. We should adjust it to do no more than swap conf files present in /usr/local/share/trueos/cardDetect/ to /etc/X11/xorg.conf. We need to clean up, and make that directory consistent as well with the menu options pc-xgui provides.

grahamperrin commented 7 years ago

Smart. Thanks.

Incidentally –

… longstanding …

I refrained from reporting issues such as this for a long time because of the additional peculiarity that affects e.g. the HP EliteBook 850 G2: there's never a display manager at the notebook (update).