On Sunday, 3 December 2023 02:18:34 GMT Dale wrote:
> Michael wrote:
> > On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
> > 
> > Unless you create your own sddm config file in /etc, the sddm package uses
> > a default config file.  From the man page:
> > 
> > FILES
> > 
> >        /usr/share/sddm/sddm.conf.d
> >        
> >               System configuration directory
> >        
> >        /etc/sddm.conf.d
> >        
> >               Local configuration directory
> >        
> >        /etc/sddm.conf
> >        
> >               Local configuration file for compatibility
> >        
> >        /usr/share/sddm/themes
> >        
> >               Where sddm looks for themes
> > 
> > Search in the above paths and you should find the default sddm config
> > file,
> > which you can copy over to /etc and tweak it to stop it recording events
> > in
> > your user xsession log file.
> 
> For the first file, not here.  I have this but no config file that I
> see.  Others below that.
> 
> 
> root@fireball / # ls /usr/share/sddm/
> total 44
> drwxr-xr-x   7 root root  4096 Jul  2 11:05 .
> drwxr-xr-x 411 root root 20480 Dec  2 19:20 ..
> drwxr-xr-x   2 root root  4096 Dec  5  2022 faces
> drwxr-xr-x   2 root root  4096 Jul  2 11:05 flags
> drwxr-xr-x   2 root root  4096 Jul  2 11:05 scripts
> drwxr-xr-x   8 root root  4096 Nov  4  2019 themes
> drwxr-xr-x   2 root root  4096 Jul  2 11:05 translations
> root@fireball / #
> 
> cat /etc/sddm.conf.d/01gentoo.conf
> [General]
> # Remove qtvirtualkeyboard as InputMethod default
> InputMethod=
> root@fireball / #
> 
> cat /etc/sddm.conf
> [Autologin]
> Relogin=false
> Session=
> User=
> 
> [General]
> HaltCommand=
> RebootCommand=
> 
> [Theme]
> Current=maldives
> CursorTheme=Adwaita
> 
> [Users]
> MaximumUid=60000
> MinimumUid=1000
> root@fireball / #
> 
> 
> This may help give ideas on what I do have. 

My apologies, your files are correct as you've shown, mine are from a previous 
sddm version 0.18.1-r8.  I had to mask the latest version 0.20.0-r1, because 
it won't launch fully on this PC to allow me to login.

This is what you can do easily and without having to add your own new 
02_dale_sddm.conf file just to specify the log file path for sddm:

mv ~/.local/share/sddm/xorg-session.log ./
ln -s /dev/null ~/.local/share/sddm/xorg-session.log

then login into Plasma and the problem of an ever growing log file will be 
gone.  You will need to remove the symlink and restore the log file if you 
want to troubleshoot the sddm or desktop in the future.

 
> > If I recall correctly you have NVidia graphics card(s), so you should
> > enable the nvidia related hardware acceleration for better performance
> > and less CPU load; e.g. nvencm and/or vdpau
> 
> I'm working on enabling those USE flags.  For months now, I've ran into
> a block with opencascade, vlc, pipewire and several other video
> packages.  I have to emerge -C vlc and opencascade to do emerges on
> video stuff then re-emerge them when done.  I don't know if it is me or
> something else but it has been that way for months.  I posted a thread
> about it a few months back.  I dunno.  I'm working on the change now.  ;-) 
> 
> And mplayer just failed with this nifty message. 
> 
> 
> SIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg
> -march=native -O2 -pipe -fno-tree-vectorize
> -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT
> -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2
> -I/usr/include/harfbuzz -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o
> libmpcodecs/img_format.o libmpcodecs/img_format.c
> x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef -Wstrict-prototypes
> -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99 -D_POSIX_C_SOURCE=200112
> -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -march=native -O2
> -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie
> -DPIC -D_REENTRANT -D_REENTRANT -I/usr/include/dvdcss
> -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o
> libmpcodecs/mp_image.o libmpcodecs/mp_image.c
> libmpcodecs/mp_image.c: In function 'mp_image_alloc_planes':
> libmpcodecs/mp_image.c:39:39: error: 'INT_MAX' undeclared (first use in
> this function)
>    39 |   if ((unsigned int)mpi->height + 2 > INT_MAX ||
>       |                                       ^~~~~~~
> libmpcodecs/mp_image.c:34:1: note: 'INT_MAX' is defined in header
> '<limits.h>'; did you forget to '#include <limits.h>'?
>    33 | #include "mp_msg.h"
>   +++ |+#include <limits.h>
>    34 |
> libmpcodecs/mp_image.c:39:39: note: each undeclared identifier is
> reported only once for each function it appears in
>    39 |   if ((unsigned int)mpi->height + 2 > INT_MAX ||
>       |                                       ^~~~~~~
> make: *** [Makefile:730: libmpcodecs/mp_image.o] Error 1
>  * ERROR: media-video/mplayer-1.5_p20230618::gentoo failed (compile phase):
>  *   emake failed
>  *
> 
> 
> A duck search didn't turn up anything.  No clue.  I'll try again in a
> bit when the others finish and if that fails, a different version.

It looks like a bug to me, missing a declaration of '#include <limits.h>' in 
their source code.  Worth reporting upstream.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to