Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-05 Thread Dale
Michael wrote:
> 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=6
>> 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.
>
>  


Well, I got sidetracked on the ffmpeg thing.  Now that it is fixed, this
file isn't filling with anything.  It just sorta sits there.  I did
empty it at one point and it has stayed that way for a bit now.  Maybe
recompiling some packages and getting everything up to date given other
issue with opencascade and such fixed whatever it was that caused it. 

If it starts filling itself with useless stuff again, back to the
solution you gave. 

Thanks for the help.  :-D

Dale

:-)  :-) 


Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-03 Thread Michael
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=6
> 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
> ''; did you forget to '#include '?
>33 | #include "mp_msg.h"
>   +++ |+#include 
>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 ||
>   |  

Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-02 Thread Dale
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=6
MinimumUid=1000
root@fireball / #


This may help give ideas on what I do have. 


root@fireball / # locate sddm.conf
/etc/sddm.conf
/etc/sddm.conf.d
/etc/config-archive/etc/sddm.conf
/etc/config-archive/etc/sddm.conf.dist
/etc/sddm.conf.d/01gentoo.conf
/usr/lib/sysusers.d/acct-group-sddm.conf
/usr/lib/sysusers.d/acct-user-sddm.conf
/usr/lib/tmpfiles.d/sddm.conf
/usr/share/dbus-1/system.d/org.freedesktop.sddm.conf
/usr/share/dbus-1/system.d/org.kde.kcontrol.kcmsddm.conf
/usr/share/man/man5/sddm.conf.5.bz2
root@fireball / #


>> Since this is
>> actually dolphin, what does dolphin use to generate those thumbnails? 
>> Maybe I need to beat some sense into that thing.  Another thing that hit
>> me, I have three video packages installed, these three. 
> I would think it uses ffmpeg to decompress, parse, decode and play a file 
> when 
> previewed in dolphin.
>
>
>> root@fireball / # equery list mpv ffmpeg mplayer
>>  * Searching for mpv ...
>> [IP-] [  ] media-video/mpv-0.36.0-r1:0/2
>>
>>  * Searching for ffmpeg ...
>> [IP-] [  ] media-video/ffmpeg-4.4.4-r8:0/56.58.58
>>
>>  * Searching for mplayer ...
>> [IP-] [  ] media-video/mplayer-1.5_p20230618:0
>> root@fireball / #
>>
>>
>>
>> I'm wondering, if I remove ffmpeg, could my video players use mpv or
>> mplayer?
> I understand these video players use ffmpeg libraries too.
>
>
>> Does dolphin use ffmpeg or mplayer to generate the
>> thumbnails?
> Yes:
>
> ~ $ lsof | grep ffmpeg
> kioslave5 8826   michael  mem   REG   0,19
>   
> 435168 /usr/lib64/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so (path dev=0,23)
>
>
> Dolpin would not need a video player's functionality just to preview a 
> thumbnail of a video file.
>
>
>> I need to keep mpv because I use that to play videos
>> directly.  I think smplayer needs mplayer, maybe.Another thought,
>> you see any USE flags that need to be changed?  Maybe I missed a new one
>> that I need to enable or something. 
> 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 

Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-02 Thread Michael
On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
> Michael wrote:
> > On Friday, 1 December 2023 11:47:31 GMT Dale wrote:
> >> Howdy,
> >> 
> >> I was poking around the other day and noticed a large log file.  At
> >> first I thought it was smplayer but it does it even when smplayer is
> >> closed.  So, I tested several things and finally noticed it stops
> >> generating errors when I turn off showing thumbnails in dolphin.  This
> >> is a sample of what it enters into xorg-sessions.log file.
> >> 
> >> 
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format
> >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> >> possible!
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format
> >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> >> possible!
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format
> >> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> >> possible!
> >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found
> >> 
> >> 
> >> 
> >> When I cut off thumbnails and turn it back on, I also get some messages
> >> like this.
> >> 
> >> 
> >> 
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [mpeg4 @ 0x55dcc9c00c20] Video uses a non-standard and wasteful way to
> >> store B-frames ('packed B-frames'). Consider using the
> >> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
> >> to fix it.
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [avi @ 0x55dcc9bede00] non-interleaved AVI
> >> [mpeg4 @ 0x55dcc9bd76e0] Video uses a non-standard and wasteful way to
> >> store B-frames ('packed B-frames'). Consider using the
> >> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
> >> to fix it.
> >> 
> >> 
> >> I cleared the log file since it was over 1GB.  I looked around in
> >> dolphin settings and can't figure out a way to cut those messages off.
> >> I'm not sure how to fix this.  If the video is broken somehow, they all
> >> play fine on my TV.  I'm kinda thinking that something is is having
> >> problems but I don't know how it generates thumbnails to know what that
> >> is.
> >> 
> >> Anyone have ideas or thoughts on this?  Is it a bug that will be fixed
> >> soon and just give it time?  Should I threaten it with a hammer?  ROFL
> >> 
> >> Thanks.
> >> 
> >> Dale
> >> 
> >> :-)  :-)
> > 
> > Is your issue related to these logs being generated, or to these logs
> > being
> > captured.  If the latter, then my previous response on configuring the
> > sddm
> > logs should help.
> 
> Replying here since the original post has the correct info.  Took me a
> bit to try some of things in other reply. I had to help install two TVs
> and tried to do some hunting today for a friend.  Most of the files you
> mentioned aren't on this system and some paths don't exist either. 
> Maybe different USE flags or something??  I dunno.

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.


> Since this is
> actually dolphin, what does dolphin use to generate those thumbnails? 
> Maybe I need to beat some sense into that thing.  Another thing that hit
> me, I have three video packages installed, these three. 

I would think it uses ffmpeg to decompress, parse, decode and play a file when 
previewed in dolphin.


> root@fireball / # equery list mpv ffmpeg mplayer
>  * Searching for mpv ...
> [IP-] [  ] media-video/mpv-0.36.0-r1:0/2
> 
>  * Searching for ffmpeg ...
> [IP-] [  ] media-video/ffmpeg-4.4.4-r8:0/56.58.58
> 
>  * Searching for mplayer ...
> [IP-] [  ] media-video/mplayer-1.5_p20230618:0
> root@fireball / #
> 
> 
> 
> I'm wondering, if I remove ffmpeg, could my video players use mpv or
> mplayer?

I understand these video players use ffmpeg libraries too.


> Does dolphin use ffmpeg or mplayer to generate the
> thumbnails?

Yes:

~ $ lsof | grep ffmpeg
kioslave5 8826   michael  mem   REG   0,19  

435168 /usr/lib64/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so (path dev=0,23)


Dolpin would not need a video player's functionality just to preview a 
thumbnail of a video file.


> I need to keep mpv because I use that to play videos
> directly.  I think smplayer needs mplayer, maybe.Another thought,
> you see 

Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-01 Thread Dale
Michael wrote:
> On Friday, 1 December 2023 11:47:31 GMT Dale wrote:
>> Howdy,
>>
>> I was poking around the other day and noticed a large log file.  At
>> first I thought it was smplayer but it does it even when smplayer is
>> closed.  So, I tested several things and finally noticed it stops
>> generating errors when I turn off showing thumbnails in dolphin.  This
>> is a sample of what it enters into xorg-sessions.log file. 
>>
>>
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format
>> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
>> possible!
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format
>> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
>> possible!
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format
>> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
>> possible!
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found
>>
>>
>>
>> When I cut off thumbnails and turn it back on, I also get some messages
>> like this. 
>>
>>
>>
>> [avi @ 0x55dcc9bede00] non-interleaved AVI
>> [avi @ 0x55dcc9bede00] non-interleaved AVI
>> [mpeg4 @ 0x55dcc9c00c20] Video uses a non-standard and wasteful way to
>> store B-frames ('packed B-frames'). Consider using the
>> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
>> to fix it.
>> [avi @ 0x55dcc9bede00] non-interleaved AVI
>> [avi @ 0x55dcc9bede00] non-interleaved AVI
>> [mpeg4 @ 0x55dcc9bd76e0] Video uses a non-standard and wasteful way to
>> store B-frames ('packed B-frames'). Consider using the
>> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
>> to fix it.
>>
>>
>> I cleared the log file since it was over 1GB.  I looked around in
>> dolphin settings and can't figure out a way to cut those messages off. 
>> I'm not sure how to fix this.  If the video is broken somehow, they all
>> play fine on my TV.  I'm kinda thinking that something is is having
>> problems but I don't know how it generates thumbnails to know what that
>> is. 
>>
>> Anyone have ideas or thoughts on this?  Is it a bug that will be fixed
>> soon and just give it time?  Should I threaten it with a hammer?  ROFL 
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
> Is your issue related to these logs being generated, or to these logs being 
> captured.  If the latter, then my previous response on configuring the sddm 
> logs should help.


Replying here since the original post has the correct info.  Took me a
bit to try some of things in other reply. I had to help install two TVs
and tried to do some hunting today for a friend.  Most of the files you
mentioned aren't on this system and some paths don't exist either. 
Maybe different USE flags or something??  I dunno.  Since this is
actually dolphin, what does dolphin use to generate those thumbnails? 
Maybe I need to beat some sense into that thing.  Another thing that hit
me, I have three video packages installed, these three. 



root@fireball / # equery list mpv ffmpeg mplayer
 * Searching for mpv ...
[IP-] [  ] media-video/mpv-0.36.0-r1:0/2

 * Searching for ffmpeg ...
[IP-] [  ] media-video/ffmpeg-4.4.4-r8:0/56.58.58

 * Searching for mplayer ...
[IP-] [  ] media-video/mplayer-1.5_p20230618:0
root@fireball / #



I'm wondering, if I remove ffmpeg, could my video players use mpv or
mplayer?  Does dolphin use ffmpeg or mplayer to generate the
thumbnails?  I need to keep mpv because I use that to play videos
directly.  I think smplayer needs mplayer, maybe.    Another thought,
you see any USE flags that need to be changed?  Maybe I missed a new one
that I need to enable or something. 


root@fireball / # equery u mpv ffmpeg mplayer
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for media-video/mpv-0.36.0-r1:
 U I
 + + X   : Add support for X11
 + + alsa    : Add support for
media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - archive : Enable support for various
archive formats via app-arch/libarchive
 + + bluray  : Enable playback of Blu-ray
filesystems
 + + cdda    : Add Compact Disk Digital Audio
(Standard Audio CD) support
 + + cli : Enable the command-line player
 - - debug   : Enable extra debug codepaths,
like asserts and extra output. If you want to get meaningful backtraces see
  
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + drm : Enable Kernel Mode Setting /
Direct Rendering Manager based video outputs
 - - dvb : Add support for DVB (Digital
Video 

Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-01 Thread Michael
On Friday, 1 December 2023 11:47:31 GMT Dale wrote:
> Howdy,
> 
> I was poking around the other day and noticed a large log file.  At
> first I thought it was smplayer but it does it even when smplayer is
> closed.  So, I tested several things and finally noticed it stops
> generating errors when I turn off showing thumbnails in dolphin.  This
> is a sample of what it enters into xorg-sessions.log file. 
> 
> 
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found
> 
> 
> 
> When I cut off thumbnails and turn it back on, I also get some messages
> like this. 
> 
> 
> 
> [avi @ 0x55dcc9bede00] non-interleaved AVI
> [avi @ 0x55dcc9bede00] non-interleaved AVI
> [mpeg4 @ 0x55dcc9c00c20] Video uses a non-standard and wasteful way to
> store B-frames ('packed B-frames'). Consider using the
> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
> to fix it.
> [avi @ 0x55dcc9bede00] non-interleaved AVI
> [avi @ 0x55dcc9bede00] non-interleaved AVI
> [mpeg4 @ 0x55dcc9bd76e0] Video uses a non-standard and wasteful way to
> store B-frames ('packed B-frames'). Consider using the
> mpeg4_unpack_bframes bitstream filter without encoding but stream copy
> to fix it.
> 
> 
> I cleared the log file since it was over 1GB.  I looked around in
> dolphin settings and can't figure out a way to cut those messages off. 
> I'm not sure how to fix this.  If the video is broken somehow, they all
> play fine on my TV.  I'm kinda thinking that something is is having
> problems but I don't know how it generates thumbnails to know what that
> is. 
> 
> Anyone have ideas or thoughts on this?  Is it a bug that will be fixed
> soon and just give it time?  Should I threaten it with a hammer?  ROFL 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 

Is your issue related to these logs being generated, or to these logs being 
captured.  If the latter, then my previous response on configuring the sddm 
logs should help.

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