You are not logged in.
Hello everyone.
A few hours ago I left my laptop in locked session, then I went to relog in, inserted my password and saw an X error, so I could not log in.
Switched off the laptop (manually from the keybord), turned it on and the system is able to start sddm display manager. But when a give my password, Plasma session can't start and an X error is shown.
When I switch to the console, the startkde command returns me "$DISPLAY is not set or cannot connect to the X server".
I only remember that I was configuring mpv and changed the frequency of the monitor from auto to 60Hz (by Plasma system settings), but this is completely safe bacause 60Hz is the default frequency.
I don't know what to do know and where to look to find the solution. I could provide you any log if you ask me where to look.
Thanks.
Last edited by digitalone (2017-01-08 14:37:58)
Offline
Paste the Xorg log.
Moving to NC...
Offline
Sorry, forget to mention, the X error when I try to get into Plasma session is
Could not start kdeinit5. Check your installation.
I'll provide the Xorg log, just the time to switch to Windows, I can't from sddm or console.
Offline
Xorg log. Seems to be no errors.
http://pastebin.com/URLxLNMU
Offline
It seems more a Plasma issue. Where can I see a log of Plasma session? I can't find one.
Last edited by digitalone (2017-01-07 22:48:43)
Offline
Downgraded harfbuzz and harfbuzz-icu and Plasma is working now.
Offline
Offline
@digitalone In case you haven't worked it out, it's likely related to infinality being not updated. Basically, remove freetype2-infinality-ultimate and install freetype2 (+ dependencies), then the latest harfbuzz works again.
Offline
@digitalone In case you haven't worked it out, it's likely related to infinality being not updated. Basically, remove freetype2-infinality-ultimate and install freetype2 (+ dependencies), then the latest harfbuzz works again.
I know but don't want to remove freetype2-infinality, font rendering is much better than the repo version.
I'll stay with harfbuzz downgraded for now.
Last edited by digitalone (2017-01-08 00:42:41)
Offline
That's a really horrible decision. The infinality package is unlikely to be updated (if you're using the 3rd party repo), so more and more things are just going to break. Learn how to configure freetype/fontconfig yourself.
Last edited by Scimmia (2017-01-08 00:49:28)
Offline
That's a really horrible decision. The infinality package is unlikely to be updated, so more and more things are just going to break. Learn how to configure freetype/fontconfig yourself.
I already tried to configure freetype, but it can never reach the same better rendering of infinality.
I hope infinality maintainers can patch the package to work with new updates.
If something will break, I'll go with freetype2, but I don't have issues for now.
Offline
Infinality is redundant now that upstream have integrated all of the features. Bohoomil's font packages can still be used if desired, but the bundle itself is pointless, which is probably why he no longer updates it.
Offline
Infinality is redundant now that upstream have integrated all of the features. Bohoomil's font packages can still be used if desired, but the bundle itself is pointless, which is probably why he no longer updates it.
Pointless what? Can I get the same rendering of infinality with repo version?
Font rendering with freetype2 is crappy in gtk applications. With infinality is awesome.
Offline
Sure, the wiki has details on configuring it, you just have to set it up.
Offline
This might be helpful: From the freetype homepage:
In case you are already using subpixel hinting (for example, by using the ‘Infinality patches’ as provided by some GNU/Linux or BSD distributions, or directly from bohoomil.com), be noted that the new mode might provide subtle differences; the code was simplified to make it much faster. If you are used to the old full-pixel hinting, you will see many rendering changes. If you really dislike them, you can disable them at compile time or using the new FREETYPE_PROPERTIES environment variable.
The freetype2 package provides an /etc/profile.d/freetype2.sh file with the following content:
# Subpixel hinting mode can be chosen by setting the right TrueType interpreter
# version. The available settings are:
#
# truetype:interpreter-version=35 # Classic mode (default in 2.6)
# truetype:interpreter-version=38 # Infinality mode
# truetype:interpreter-version=40 # Minimal mode (default in 2.7)
#
# There are more properties that can be set, separated by whitespace. Please
# refer to the FreeType documentation for details.
# Uncomment and configure below
#export FREETYPE_PROPERTIES="truetype:interpreter-version=40"
Uncommenting the last line and setting the value to 38, is supposed to reset the subpixel hinting to infinality-like. Not sure if these old eyes can tell the difference, but it may be worth giving it a try.
Offline
I backup infinality config, then installed freetype2, harfbuzz and repleaced infinality config.
Fonts look great.
Thanks. Cheers.
Offline
Someone more expert can describe with more details what to do? It is a secure procedure?
Offline
Someone more expert can describe with more details what to do? It is a secure procedure?
Font configuration is stored in /etc/fonts/conf.d
This directory contains symlink to other files in other directories.
With infinality, these directories are
/etc/fonts/conf.avail
/etc/fonts/conf.avail.infinality
/usr/share/fontconfig/conf.avail.infinality
Backup these directories changing their names, then do a backup of /etc/fonts/conf.d directory also.
Install upstream packages freetype2, fontconfig, cairo.
Fill /etc/fonts/conf.avail with content of /etc/fonts/conf.avail backup.
Fill /etc/fonts/conf.avail.infinality with content of /etc/fonts/conf.avail.infinality backup.
Fill /usr/share/fontconfig/conf.avail.infinality with content of /usr/share/fontconfig/conf.avail.infinality backup.
Fill /etc/fonts/conf.d with content of /etc/fonts/conf.d backup.
It works good to me. If it will not work to you, delete above directories (not the backups) and reinstall upstream packages.
Last edited by digitalone (2017-01-08 15:22:23)
Offline
I can confirm. It works well.
Offline
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I'll try tomorrow, but i found this:
https://github.com/archfan/infinality_bundle/
Seems to be a fork with infinality patches applied to 2.7 (?)
Ops, just saw that infinality patched aur package already uses that.
I suppose the problem comes with freetype 2.7.1 then.
Last edited by kokoko3k (2017-01-08 16:20:33)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Online
digitalone Can you maybe upload these files somewhere . I removed infinality completely with all config files.
Offline
digitalone Can you maybe upload these files somewhere . I removed infinality completely with all config files.
I can't now. Anyway you can downgrade harfbuzz and harfbuzz-icu and install infinality packages from AUR, save the configuration and reinstall upstream packages.
Offline
Or use tar to extract the contents of the *.pkg.tar.xz files ...
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
To remove infinality it is ok to use command:
sudo pacman -S --asdeep lib32-freetype2 lib32-cairo lib32-fontconfig freetype2 cairo fontconfig noto-fonts ttf-dejavu cantarell-fonts gsfonts
and remove:
otf-cantarell-ib t1-urw-fonts-ib ttf-dejavu-ib ttf-noto-fonts-ib
cairo-infinality-ultimate fontconfig-infinality-ultimate freetype2-infinality-ultimate
lib32-cairo-infinality-ultimate lib32-fontconfig-infinality-ultimate lib32-freetype2-infinality-ultimate
??
Last edited by simona70 (2017-01-08 20:44:27)
Offline