Mario Olofo
2020-Mar-11 01:20 UTC
FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem
Hello, @Guido I tried to rebuild the xorg-server but it stoped to recognize all input devices even on Xfce4, I think I'm missing something. Tried to rebuild the xf86-input-evdev too but didn't work either. Had to revert to the pkg version to be able to send this email @Ulf Rudolf <u.rudolf at web.de> Now knowing that the xorg-server is not recognizing any input devices after rebuild the latest version, I have a feeling that this problem is related, maybe the LightDM expects some specific device? My system is a Dell G3 2019 with: 12.1-RELEASE-p2 Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) Pkgs: - Xorg 7.7_3 - xorg-server 1.18.4_13,1 (hal is off in the description) - xfce 4.14 Ports: - drm-kmod-g20190710 Thank you, Mario Em ter., 10 de mar. de 2020 ?s 12:02, Guido Falsi <mad at madpilot.net> escreveu:> On 10/03/20 13:41, Mario Olofo wrote: > > Hello All, > > In the prccess of making the FreeBSD my main OS, I stumbled on an very > > uncommon problem: the LightDM don't accept any keys, and I can't even get > > out to the tty with ctrl+alt+F1... > > > > I build the drm-kmod from ports, installed Xorg, Xfce4 and LightDM and > > lightdm-gtk-greeter with pkg, and enabled it on rc.conf with > > lightdm_enable="YES". > > On boot, it don't work because the lightdm need to be on video group, so > I > > added it to video groups and then the LightDM screen showed up, but only > > the mouse work. If I press a lot of keys and then use the mouse to > restart > > the system, I can see some garbage input on the first terminal! > > I didn't create a custom X config, but tried to force a input conf to see > > if it was the problem but it appears that the config is not used at all > > when starting LightDM. I rebuild from source the LightDM, but the problem > > persists. When I use startx to go directly to Xfce4 works like a charm. > > > > I'm sorry I don't have much insight about this, but this one (and the > following problem too) looks like a graphics hardware related problem. > > You should share some information about your system, which graphics > adapter and chipset you are using and what driver setup. > > > Then comes the second but less important problem that I found, the topbar > > decorator of windows are not displaying correctly. The background img > > behind the title don't stretch to cover the full width. Anyone had this > > problem before? > > There is a known problem with xfce 4.14 and window decorations on > certain hardware chipsets: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240887 > > It has been recently reported that Xorg server 1.20.7 (available with > the latest package set) fixes the issue. > > This update will reach quarterly packages at the start of April. If > you're willing you could migrate your machine to latest packages and > confirm if this fixes the issue for you. > > -- > Guido Falsi <mad at madpilot.net> >
Guido Falsi
2020-Mar-11 15:24 UTC
FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem
On 11/03/20 02:20, Mario Olofo wrote:> Hello, > > @Guido > I tried to rebuild the xorg-server but it stoped?to recognize all input > devices even on Xfce4, I think I'm missing something. > Tried to rebuild the xf86-input-evdev too but didn't work either. > Had to revert to the pkg version to be able to send this emailBefore these rebuilds were you using packages? from quarterly or latest? AFAIK mixing packages and locally built packages isn't really supported. I works most of the time, but there are no warranties. Also it is especially prone to breaking when building parts that work with hardware drivers. So to properly upgrade your Xorg server if you're coming from quarterly packages the safe way is to configure your machine to use latest packages and perform a pkg upgrade. In rare cases you could need pkg upgrade -f. If you want to use ports and have been using packages, only safe way is to reinstall everything from ports, but I'd really suggest you use project provided packages or build your own package set using a tool like poudriere. Apart from this, new Xorg changes many things and upgrading only the server will not be enough anyway. Unluckily if you don't perform a proper upgrade it's difficult to tell if the problem is caused by a bug in some port or induced by some misalignment on your system software.> > @Ulf Rudolf <mailto:u.rudolf at web.de> > Now knowing that the xorg-server is not recognizing any input devices > after rebuild the latest version, I have a feeling that this problem is > related, maybe the LightDM expects some specific device?LightDM uses Xorg for it's input, so, no it should work. Have you tried using "startx" as root to check that Xorg itself works fine? -- Guido Falsi <mad at madpilot.net>