Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2024 17:23:37 +0300
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: [14.1-BETA2] Cannot run any Desktop Environment
Message-ID:  <CANt7McEzi70p_AY0waWRD3zrPn4%2BgZqLFJfB_jan7acYBvys%2BQ@mail.gmail.com>
In-Reply-To: <CANt7McF_H0izwB11f5x7ZrCduQ78_1KHXvDxQgG=-SovSo6ATw@mail.gmail.com>
References:  <CANt7McF_H0izwB11f5x7ZrCduQ78_1KHXvDxQgG=-SovSo6ATw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The previous email was accidentally sent before I finished writing it.
My apologies. Please read this one instead:

Hi,

I wanted to try FreeBSD 14.1-BETA2 on my desktop computer and
installed it from the official
FreeBSD-14.1-BETA2-amd64-mini-memstick.img image file and network.
The base system has been installed and seems to be working properly.

Then I wanted to install some Desktop Environment and installed LXQT
as described in the 8.2.6 section of the Handbook (but without setting
the sddm_lang, since I'm fine with English).

Then I installed xorg and drm-kmod, as described in the 5.2 and 5.3
sections of the Handbook. I have the i7-4790 CPU with integrated
graphics that is the only graphic card that I have, so I enabled the
i915kms kernel module in /etc/rc.conf

After reboot the xorg and sddm seem to be working properly and I was
able even pass the login stage but after about 5 seconds later my
screen was completely _blank_ and I was not able switching into any
other console (Ctrl+Alt+F1 or F2 or any other Fn). The base system was
not stuck because pressing on the "power" button initiated the normal
shutdown process. Yet another observation, I noticed that after sddm
login and before the screen got blank most of the desktop icons are
not shown but only their titles.

Since this system is still usable before DE login I tried to use XFCE
with lightdm instead of the LXQT sddm. Then I commented out the
sddm_enable="YES" line in the /etc/rc.conf and installed xfce, lightdm
and lightdm-gtk-greeter packages as described in the 8.2.3.3 section
of the Handbook, including lightdm_enable="YES" in the /etc/rc.conf
and rebooted. The result was very similar to the previous one with
LXQT. The lightdm and xorg seemed to work properly and I was able to
pass the login stage and see the XFCE desktop but without most of the
desktop icons and after about 5 seconds (or maybe after the first time
I clicked on some of those icons place) my screen got blank and no
other console was available.

Is it a known issue? Did I do something wrong?

And yet another problem. Section 5.4.3 offers to add the following
video card configuration (in my case) into the
/usr/local/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
        Identifier "Card0"
        Driver     "intel"
EndSection

If I add it with either tab or spaces indentation the sddm can't
start. Didn't try the the lightdm yet but almost sure it will not work
too.
Is that 20-intel.conf configuration file necessary?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANt7McEzi70p_AY0waWRD3zrPn4%2BgZqLFJfB_jan7acYBvys%2BQ>