You are not logged in.

#1 2018-01-31 22:05:41

nertwork
Member
Registered: 2016-08-14
Posts: 1

Xorg doesn't start

Hello all, I noticed that xorg didn't start for me after an upgrade. I looked through and found that the harfbuzz pkg (1.7.5-1) that was causing lightdm to segfault on startup. I did a downgrade of the package (1.7.4-1) and everything seems okay now. Does anybody know why this happened, is this potentially a configuration issues on my system?

Thanks for any info!

Offline

#2 2018-02-01 08:04:03

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: Xorg doesn't start

Seems that I have the same problem. After the last update I did yesterday I cannot login to desktop anymore. When I try to do it manually with "startx" I get a lookup error about libharfbuzz.so. I suppose that I have the version 1.7.5-1 too. I haven't try to downgrade yet, so I hope that this will solve my problem too.
EDIT:
Downgrade to previous version worked for me too.

Last edited by zaxdan69 (2018-02-01 08:26:26)

Offline

#3 2018-02-01 08:45:15

Rickrock
Member
From: The Netherlands
Registered: 2014-11-23
Posts: 46

Re: Xorg doesn't start

Hello,

I seem to have the same problem since yesterday's update.
I downgraded the package and blacklisted it.

For how long should it remain blacklisted, since upgrades are partial from now on?

Regards.

Last edited by Rickrock (2018-02-01 10:26:56)

Offline

#4 2018-02-01 08:54:24

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: Xorg doesn't start

https://wiki.archlinux.org/index.php/Do … g_packages

@nertwork
Please fix the subject, this has *nothing* to do with Xorg but is just a bug in lightdm.
If you want to know "why this happened" you need to obtain a backtrace (coredump) from the crashing lightdm. Check the journal, resp. man coredumpctl.

Offline

#5 2018-02-01 09:57:49

stef_204
Member
Registered: 2014-08-15
Posts: 37

Re: Xorg doesn't start

@seth Sorry but this has everything to do with Xorg and harfbuzz; not related to lightdm.
I am experiencing the same problem and I do not use any display managers (lightdm or otherwise); only using startx.
This is likely either a bug or a packaging breakage, etc.  And as you suggested, does need to be traced.

Edit: for example on my box, if I downgrade to previous version of harfbuzz, Xorg starts; so it could be a path, version, packaging issue, etc.

Edit:  This thread might be a better fit for the forum => "Pacman & Package Upgrade Issues"

Last edited by stef_204 (2018-02-01 10:13:55)

Offline

#6 2018-02-01 10:04:58

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: Xorg doesn't start

Yes, I get this error with sddm and gdm too. I also tried without any dm, as I mentioned above, by using startx and I get the same error.

Offline

#7 2018-02-01 10:08:01

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: Xorg doesn't start

You'll find a backtrace of Xorg in its log then.
If it says "terminated successfully" the client (lightdm, sddm, ...) crashed.
Virtually everything depends on harfbuzz/freetype, but server side font rendering is rather rare these days.

Offline

#8 2018-02-01 10:25:06

ErwinJunge
Member
Registered: 2018-02-01
Posts: 10

Re: Xorg doesn't start

I just ran into the same issue, but I don't use a dm at all. I use startx to fire up i3 directly.

The console printed a message stating that symbol FT_Done_MM_Var was missing from libharfbuzz.so.0. Downgrading harfbuzz from 1.7.5 to 1.7.4 fixed the issue. I've uploaded the Xorg log just to be as complete as possible: https://pastebin.com/W0qkLKTh.

Offline

#9 2018-02-01 10:26:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,736

Re: Xorg doesn't start

Also important to consider, do any of you replace some other core library like freetype for e.g. infinality patches or downgrading them for whatever reason?

Agreed with the Package Upgrades move for now, however I'm strongly inclined that my hunch is correct in which case it'd be AUR issues, we'll see.

Edit: After above post I'm quite certain of that being the case, moving to AUR issues.

Last edited by V1del (2018-02-01 10:34:52)

Offline

#10 2018-02-01 10:49:35

tvale
Member
From: Portugal
Registered: 2008-12-11
Posts: 175

Re: Xorg doesn't start

ErwinJunge wrote:

I just ran into the same issue, but I don't use a dm at all. I use startx to fire up i3 directly.

The console printed a message stating that symbol FT_Done_MM_Var was missing from libharfbuzz.so.0. Downgrading harfbuzz from 1.7.5 to 1.7.4 fixed the issue. (...)

I confirm the quote above.

Offline

#11 2018-02-01 11:08:39

ErwinJunge
Member
Registered: 2018-02-01
Posts: 10

Re: Xorg doesn't start

V1del wrote:

Also important to consider, do any of you replace some other core library like freetype for e.g. infinality patches or downgrading them for whatever reason?

Agreed with the Package Upgrades move for now, however I'm strongly inclined that my hunch is correct in which case it'd be AUR issues, we'll see.

Edit: After above post I'm quite certain of that being the case, moving to AUR issues.

Yes, I do.

$ pacman -Qs infinality
local/fontconfig-infinality 2.12.1-2 (infinality-bundle)
    Fontconfig is a library for configuring and customizing font access, patched with infinality patches.
local/freetype2-infinality 2.8-1
    Font rasterization library with Infinality patches and custom settings.

Do I need to report the issue to the infinality maintainer on AUR?

Offline

#12 2018-02-01 11:18:58

stef_204
Member
Registered: 2014-08-15
Posts: 37

Re: Xorg doesn't start

This is how I have fixed it:

Read this.
Then remembered that I keep Freetype2, one version behind (due to Thunderbird-beta not rendering fonts properly with most recent Freetype version.)
In order to fix this issue while still keeping the temporary fix for Thunderbird in place, I recompiled latest (up-to-date) harfbuzz against the Freetype existing on my box and all is back to normal, X starts with latest harfbuzz version, etc.
PS  I could possibly fix the Thunderbird issue by not using the pre-build binary but compiling on my box (which I believe would take hours.)

Last edited by stef_204 (2018-02-01 13:57:24)

Offline

#13 2018-02-01 14:46:39

Rickrock
Member
From: The Netherlands
Registered: 2014-11-23
Posts: 46

Re: Xorg doesn't start

I can' t simply remove those Infinality packages I guess, they seem to have a lot of dependencies.

 ~>$ pacman -Qs infinality
local/fontconfig-infinality-ultimate 2.12.6+5+g665584a-1 (infinality-bundle)
    A library for configuring and customizing font access, optimized for
    freetype2-infinality-ultimate.
local/freetype2-infinality-ultimate 2.8-2 (infinality-bundle)
    TrueType font rendering library with Infinality patches and custom settings
    by bohoomil

And something I found, maybe usefull: https://gist.github.com/cryzed/e002e705 … 9e748c5671

Last edited by Rickrock (2018-02-01 14:54:55)

Offline

#14 2018-02-01 14:53:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Xorg doesn't start

ErwinJunge wrote:

Do I need to report the issue to the infinality maintainer on AUR?

Best of luck with that.  The project was deprecated years ago as it's functionality was adopted by fontconfig itself.

Nothing in the repos depends on your AUR packages, you just have (broken) aur packages that replace main repo packages.  The solution is to just reinstall the main repo packages fontconfig and freetype2.

Last edited by Trilby (2018-02-01 14:54:09)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#15 2018-02-01 15:30:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,736

Re: Xorg doesn't start

There are a few small fine tuning options the adopted infinality work lacks, however you really should try and see if you really need these, the repo freetype will tell you about an env variable you can use to tweak the rendering algorithm. If that is sufficient for you  you'd be much better off using the repo packages as these are actively updated.

Offline

#16 2018-02-01 15:43:24

Rickrock
Member
From: The Netherlands
Registered: 2014-11-23
Posts: 46

Re: Xorg doesn't start

And what about all those apps that it wants to uninstall?
It looks like there will be nothing left...

Offline

#17 2018-02-01 15:44:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Xorg doesn't start

You don't uninstall it directly. You install the correct versions and let pacman take care of it, exactly like Trilby said to.

Online

#18 2018-02-01 15:45:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,736

Re: Xorg doesn't start

Just install all of the replacement packages, given that the infinality packages have been correctly maintained, an overwrite by stating to install the respective repo versions should just work, see here as well: https://gist.github.com/cryzed/e002e705 … nt-1965568

Offline

#19 2018-02-01 16:02:58

Rickrock
Member
From: The Netherlands
Registered: 2014-11-23
Posts: 46

Re: Xorg doesn't start

V1del wrote:

...install the respective repo versions should just work.

And it did, thanks, infinality has left the building.

Offline

#20 2018-02-02 07:20:43

ErwinJunge
Member
Registered: 2018-02-01
Posts: 10

Re: Xorg doesn't start

Trilby wrote:
ErwinJunge wrote:

Do I need to report the issue to the infinality maintainer on AUR?

Best of luck with that.  The project was deprecated years ago as it's functionality was adopted by fontconfig itself.

Nothing in the repos depends on your AUR packages, you just have (broken) aur packages that replace main repo packages.  The solution is to just reinstall the main repo packages fontconfig and freetype2.

Thanks, this worked.

sudo pacman -S fontconfig freetype2

followed by

sudo pacman -Syu

gave me a working system with up-to-date harfbuzz.

Offline

#21 2018-02-03 14:33:46

DoXer
Member
Registered: 2017-08-27
Posts: 36

Re: Xorg doesn't start

sudo pacman -S fontconfig freetype2

doesn't work for me.

LC_ALL=C pacman -S fontconfig freetype2
warning: fontconfig-2.12.6+5+g665584a-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
:: freetype2 and freetype2-infinality-ultimate are in conflict. Remove freetype2-infinality-ultimate? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-freetype2-infinality-ultimate: removing freetype2-infinality-ultimate breaks dependency 'freetype2-infinality-ultimate'

I want to ask for some help how to solve this. My knowledge with dependencies is quit low.

Last edited by DoXer (2018-02-03 14:34:25)


--
Regards
Michael

Offline

#22 2018-02-03 14:36:58

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: Xorg doesn't start

Hmmm... there's a multilib variant of freetype2-infinality-ultimate but you're not trying to install a multilib variant of freetype2...

Offline

#23 2018-02-04 13:12:51

DoXer
Member
Registered: 2017-08-27
Posts: 36

Re: Xorg doesn't start

Thank you for the hint.

pacman -S lib32-fontconfig lib32-freetype2

and after that

pacman -S fontconfig freetype2
pacman -Syu

solved the issue. Now I have an updated system smile


--
Regards
Michael

Offline

#24 2018-02-08 04:35:22

vxneko
Member
Registered: 2013-10-04
Posts: 1

Re: Xorg doesn't start

DoXer wrote:

Thank you for the hint.

pacman -S lib32-fontconfig lib32-freetype2

and after that

pacman -S fontconfig freetype2
pacman -Syu

solved the issue. Now I have an updated system smile

Took me a few searches to get here but the above solution updated the system correctly (after I removed harfbuzz from my ignored list).

Thank you very much to all in the post.

- vxneko

Offline

#25 2018-02-08 05:58:29

d1egoaz
Member
Registered: 2018-02-08
Posts: 4

Re: Xorg doesn't start

This happened to me a few days ago, I tried to report it as a bug, and my tickets got closed ?

https://bugs.archlinux.org/task/57395
https://bugs.archlinux.org/task/57394

Why hasn't be blacklisted? who knows!

Offline

Board footer

Powered by FluxBB