Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-12 Thread Mario Olofo
Hello guys,

Good news, all the problems are solved!
Searching and reading about the upgrade of xorg-server, I did what the
installation message says, and the kern.evdev.rcpt_mask=6 was the flag I
needed!
Long history short, I learned 2 things:
1- RTFM and all messages that pop up
2- The devd was replaced by udev, so evdev with libinput is the default for
automatic input detection on X now

Thanks for the help!

Mario

Em qui., 12 de mar. de 2020 às 08:50, Mario Olofo 
escreveu:

>
>  This depends on how you updated it. I could guess you used
>>  freebsd-update at some point, but only you can know for sure.
>>
>
> Indeed I did a freebsd-update, but I thought it just update the system to
> patch vulnerabilities, not change it to release...
>
> To check which version of FreeBSD you are using should be possible with
>> freebsd-version(1), check it's man page, I'm not using stable versions,
>> only releases and current, and I'm not sure what the output is on stable.
>>
>> Migrating from quarterly to latest is done by configuring pkg, you
>> should read the full pkg.conf(5) man page. The EXAMPLES section has
>> examples clearly explaining what you are asking for.
>>
>>
> Thank you, I should have take a look on man pages before ask, after the
> change, the pkg was updated successfully.
>
> This all depends on what you did on your system, any suggestion can only
>> be generic. You need to know your system condition.
>>
>> You stated that you mixed binary packages installed via pkg from the
>> official repositories with locally built ports. As I said this is not
>> really supported, and if you only compiled locally part of Xorg and
>> mixed it with quarterly packages you have an high risk of having
>> inconsistent binaries on your system.
>>
>> Check your logs for useful errors.
>>
>
> Yeah, I mixed pkg and ports but after that I removed all ports packages
> and reinstalled the pkg version, so the system reverted to a safe/stable
> state.
> After the change to latest, the pkg upgrade found a lot of files to
> update, including xorg-server, xfce and xorg-drivers.
> But, after the update to latest, only my usb mouse is detected on xserver
> now...
> The log don't have any errors, the Xorg log don't have any output about
> touchpad and laptop keyboard too.
>
> The glitch in window titles was fixed after the update, so this is now ok
> =).
> The only problem now is the keyboard/touchpad in X.
> I need to rebuild the kernel too? Any other command I can run to check if
> I need something more?
>
> Thank you
>
> Mario
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-12 Thread Mario Olofo
>  This depends on how you updated it. I could guess you used
>  freebsd-update at some point, but only you can know for sure.
>

Indeed I did a freebsd-update, but I thought it just update the system to
patch vulnerabilities, not change it to release...

To check which version of FreeBSD you are using should be possible with
> freebsd-version(1), check it's man page, I'm not using stable versions,
> only releases and current, and I'm not sure what the output is on stable.
>
> Migrating from quarterly to latest is done by configuring pkg, you
> should read the full pkg.conf(5) man page. The EXAMPLES section has
> examples clearly explaining what you are asking for.
>
>
Thank you, I should have take a look on man pages before ask, after the
change, the pkg was updated successfully.

This all depends on what you did on your system, any suggestion can only
> be generic. You need to know your system condition.
>
> You stated that you mixed binary packages installed via pkg from the
> official repositories with locally built ports. As I said this is not
> really supported, and if you only compiled locally part of Xorg and
> mixed it with quarterly packages you have an high risk of having
> inconsistent binaries on your system.
>
> Check your logs for useful errors.
>

Yeah, I mixed pkg and ports but after that I removed all ports packages and
reinstalled the pkg version, so the system reverted to a safe/stable state.
After the change to latest, the pkg upgrade found a lot of files to update,
including xorg-server, xfce and xorg-drivers.
But, after the update to latest, only my usb mouse is detected on xserver
now...
The log don't have any errors, the Xorg log don't have any output about
touchpad and laptop keyboard too.

The glitch in window titles was fixed after the update, so this is now ok
=).
The only problem now is the keyboard/touchpad in X.
I need to rebuild the kernel too? Any other command I can run to check if I
need something more?

Thank you

Mario
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-11 Thread Guido Falsi via freebsd-stable
On 11/03/20 16:50, Mario Olofo wrote:
> Hello,
> 
> I configured the full system with pkg and only build the drm-kmod.
> 
> I downloaded the img from the 12.0 stable version, don't know when or why
> it become release for me =X

This depends on how you updated it. I could guess you used
freebsd-update at some point, but only you can know for sure.

> The pkg was downloaded the first time I used it, so I don't know what can
> be wrong with it.

Nothing wrong with it, that's not what I meant.

> May you point me some link to understand better how to see if i'm in
> stable/release and how to migrate from quarter to latest?


To check which version of FreeBSD you are using should be possible with
freebsd-version(1), check it's man page, I'm not using stable versions,
only releases and current, and I'm not sure what the output is on stable.

Migrating from quarterly to latest is done by configuring pkg, you
should read the full pkg.conf(5) man page. The EXAMPLES section has
examples clearly explaining what you are asking for.

> I'll see if I'm in latest and reinstall all with pkg

This all depends on what you did on your system, any suggestion can only
be generic. You need to know your system condition.

You stated that you mixed binary packages installed via pkg from the
official repositories with locally built ports. As I said this is not
really supported, and if you only compiled locally part of Xorg and
mixed it with quarterly packages you have an high risk of having
inconsistent binaries on your system.

Check your logs for useful errors.

-- 
Guido Falsi 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-11 Thread Mario Olofo
Hello,

I configured the full system with pkg and only build the drm-kmod.

I downloaded the img from the 12.0 stable version, don't know when or why
it become release for me =X
The pkg was downloaded the first time I used it, so I don't know what can
be wrong with it.
May you point me some link to understand better how to see if i'm in
stable/release and how to migrate from quarter to latest?
I'll see if I'm in latest and reinstall all with pkg

Thank you,

Mario

Em qua., 11 de mar. de 2020 às 12:24, Guido Falsi 
escreveu:

> 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 email
>
> Before 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 
> > 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 
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-11 Thread Guido Falsi via freebsd-stable
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 email

Before 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 
> 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 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-10 Thread Mario Olofo
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 
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 
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 
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-10 Thread Guido Falsi via freebsd-stable
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 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem

2020-03-10 Thread Mario Olofo
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.

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?

Thank you,

Mario
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"