Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing NomadBSD for the upcoming Release #128

Open
mrclksr opened this issue Nov 16, 2022 · 13 comments
Open

Testing NomadBSD for the upcoming Release #128

mrclksr opened this issue Nov 16, 2022 · 13 comments

Comments

@mrclksr
Copy link
Member

mrclksr commented Nov 16, 2022

Testing NomadBSD for the upcoming Release

For the upcoming release we need testers. The following describes how you can build the images, and how to test them.

Requirements for Building the Images

  • A build machine/VM with FreeBSD 13.1 with approx. 30GB free disk space.
  • A recent ports tree installed under /usr/ports.
  • The packages devel/git (or devel/git-lite), x11-fonts/mkfontscale, and textproc/markdown must be installed.

Clone the Repository

% git clone --recursive https://github.com/nomadbsd/NomadBSD.git

If your copy of the NomadBSD repository is not owned by the root user, run

# git config --global --add safe.directory /full/path/to/NomadBSD

as root before the first build. Otherwise the build script can't correctly generate the image name.

Building all Images

# ./release -P

Building amd64 Images only

If you want to test the amd64 (64-bits) images only, you can proceed as follows:

# ./build all
# ./build -f zfs image

This will build the amd64 UFS image first, and then build the amd64 ZFS image.

Building Mac Images only

If you want to test the mac images only, you can proceed as follows:

# ./build -a mac all
# ./build -a mac -f zfs image

This will build the mac UFS image first, and then build the mac ZFS image.

Building i386 (32-bits) Image only

If you want to test the i386 image only, you can proceed as follows:

# ./build -a i386 all

This will build the i386 UFS image.

Testing

If possible test the images on real hardware. If that's not possible, use a VM like VirtualBox.

What to Test

  • Run the setup with and without ZFS/UFS encryption.
  • When running the UFS image, reset NomadBSD after the setup, and then reboot to start the setup again.
  • Create a new user via nomadbsd-adduser-gui, log in as the new user, and check if everything works as expected.
  • Change the display manager configuration via nomadbsd-dmconfig-gui.
  • Install packages.
  • If possible install NomadBSD to a HDD/SSD.
@nid1321
Copy link

nid1321 commented Nov 17, 2022

Hello Marcel,
I am interested in the testing and have started to do so.

The first bug i came across is :
I have installed NomadBSD to a HDD, and after installing from the Nomad Installer and reboot --- In the taskbar NomadBSD Installer is still visible and when i click on that it says failed to execute the command.

@andreas-jonsson
Copy link

I ran in to an issue trying to build the AMD GPU driver.

===>  Cleaning for xf86-video-amdgpu-19.1.0_2
===>  Deinstalling for xf86-video-amdgpu
===>   xf86-video-amdgpu not installed, skipping
===>  License MIT accepted by the user
===>   xf86-video-amdgpu-19.1.0_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by xf86-video-amdgpu-19.1.0_2 for building
===>  Extracting for xf86-video-amdgpu-19.1.0_2
=> SHA256 Checksum OK for xorg/driver/xf86-video-amdgpu-19.1.0.tar.bz2.
=> SHA256 Checksum OK for xorg/driver/edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d.patch.
===>  Patching for xf86-video-amdgpu-19.1.0_2
===>  Applying distribution patches for xf86-video-amdgpu-19.1.0_2
===>  Applying FreeBSD patches for xf86-video-amdgpu-19.1.0_2 from /usr/ports/x11-drivers/xf86-video-amdgpu/files
===>   xf86-video-amdgpu-19.1.0_2 depends on package: pkgconf>=1.3.0_1 - found
===>   xf86-video-amdgpu-19.1.0_2 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found
===>   xf86-video-amdgpu-19.1.0_2 depends on package: xorgproto>=0 - found
===>   xf86-video-amdgpu-19.1.0_2 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   xf86-video-amdgpu-19.1.0_2 depends on file: /usr/local/libdata/pkgconfig/xorg-server.pc - found
===>   xf86-video-amdgpu-19.1.0_2 depends on shared library: libdrm_amdgpu.so - found (/usr/local/lib/libdrm_amdgpu.so)
===>   xf86-video-amdgpu-19.1.0_2 depends on shared library: libgbm.so - found (/usr/local/lib/libgbm.so)
===>  Configuring for xf86-video-amdgpu-19.1.0_2
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for cc option to accept ISO C99... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether __clang__ is declared... yes
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking build system type... amd64-portbld-freebsd13.1
checking host system type... amd64-portbld-freebsd13.1
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking if cc supports -Werror=unknown-warning-option... yes
checking if cc supports -Werror=unused-command-line-argument... yes
checking if cc supports -Wall... yes
checking if cc supports -Wpointer-arith... yes
checking if cc supports -Wmissing-declarations... yes
checking if cc supports -Wformat=2... yes
checking if cc supports -Wstrict-prototypes... yes
checking if cc supports -Wmissing-prototypes... yes
checking if cc supports -Wnested-externs... yes
checking if cc supports -Wbad-function-cast... yes
checking if cc supports -Wold-style-definition... yes
checking if cc supports -Wdeclaration-after-statement... yes
checking if cc supports -Wunused... yes
checking if cc supports -Wuninitialized... yes
checking if cc supports -Wshadow... yes
checking if cc supports -Wmissing-noreturn... yes
checking if cc supports -Wmissing-format-attribute... yes
checking if cc supports -Wredundant-decls... yes
checking if cc supports -Wlogical-op... no
checking if cc supports -Werror=implicit... yes
checking if cc supports -Werror=nonnull... yes
checking if cc supports -Werror=init-self... yes
checking if cc supports -Werror=main... yes
checking if cc supports -Werror=missing-braces... yes
checking if cc supports -Werror=sequence-point... yes
checking if cc supports -Werror=return-type... yes
checking if cc supports -Werror=trigraphs... yes
checking if cc supports -Werror=array-bounds... yes
checking if cc supports -Werror=write-strings... yes
checking if cc supports -Werror=address... yes
checking if cc supports -Werror=int-to-pointer-cast... yes
checking if cc supports -Werror=pointer-to-int-cast... yes
checking if cc supports -pedantic... yes
checking if cc supports -Werror... yes
checking if cc supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 524288
checking how to convert amd64-portbld-freebsd13.1 file names to amd64-portbld-freebsd13.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd13.1 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for LIBDRM... yes
checking for LIBDRM_AMDGPU... yes
checking for GBM... yes
checking for XORG... yes
checking for XEXT... yes
checking whether to include GLAMOR support... checking for glamor.h... yes
checking whether GLAMOR_NO_DRI3 is declared... yes
checking whether glamor_glyphs_init is declared... no
checking whether glamor_egl_destroy_textured_pixmap is declared... no
checking whether glamor_finish is declared... yes
checking whether RegionDuplicate is declared... yes
checking whether fbGlyphs is declared... yes
checking whether xf86CursorResetCursor is declared... yes
checking whether GBM_BO_USE_LINEAR is declared... yes
checking for misyncshm.h... yes
checking for present.h... yes
checking for dri3.h... yes
checking for byteswap.h... (cached) no
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking for __swap16 variant of <sys/endian.h> byteswapping macros... no
checking for bswap16 variant of <sys/endian.h> byteswapping macros... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating conf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:              /usr/local
        exec_prefix:         ${prefix}
        libdir:              ${exec_prefix}/lib
        includedir:          ${prefix}/include
        configdir:           ${prefix}/share/X11/xorg.conf.d

        CFLAGS:              -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing 
        CXXFLAGS:            -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing  
        Macros:              

        Run 'make' to build xf86-video-amdgpu

===>  Building for xf86-video-amdgpu-19.1.0_2
--- config.h ---
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- amdgpu_video.lo ---
--- amdgpu_misc.lo ---
--- amdgpu_probe.lo ---
--- amdgpu_bo_helper.lo ---
--- amdgpu_video.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..   -Wall  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/libdrm  -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri    -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_video.lo -MD -MP -MF .deps/amdgpu_video.Tpo -c -o amdgpu_video.lo amdgpu_video.c
--- amdgpu_misc.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..   -Wall  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/libdrm  -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri    -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_misc.lo -MD -MP -MF .deps/amdgpu_misc.Tpo -c -o amdgpu_misc.lo amdgpu_misc.c
--- amdgpu_probe.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..   -Wall  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/libdrm  -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri    -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_probe.lo -MD -MP -MF .deps/amdgpu_probe.Tpo -c -o amdgpu_probe.lo amdgpu_probe.c
--- amdgpu_bo_helper.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..   -Wall  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/libdrm  -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri    -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_bo_helper.lo -MD -MP -MF .deps/amdgpu_bo_helper.Tpo -c -o amdgpu_bo_helper.lo amdgpu_bo_helper.c
--- amdgpu_video.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_video.lo -MD -MP -MF .deps/amdgpu_video.Tpo -c amdgpu_video.c  -fPIC -DPIC -o .libs/amdgpu_video.o
--- amdgpu_probe.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_probe.lo -MD -MP -MF .deps/amdgpu_probe.Tpo -c amdgpu_probe.c  -fPIC -DPIC -o .libs/amdgpu_probe.o
--- amdgpu_bo_helper.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_bo_helper.lo -MD -MP -MF .deps/amdgpu_bo_helper.Tpo -c amdgpu_bo_helper.c  -fPIC -DPIC -o .libs/amdgpu_bo_helper.o
--- amdgpu_misc.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_misc.lo -MD -MP -MF .deps/amdgpu_misc.Tpo -c amdgpu_misc.c  -fPIC -DPIC -o .libs/amdgpu_misc.o
mv -f .deps/amdgpu_misc.Tpo .deps/amdgpu_misc.Plo
--- amdgpu_dri2.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..   -Wall  -I/usr/local/include  -I/usr/local/include -I/usr/local/include/libdrm  -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri    -O2 -pipe  -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_dri2.lo -MD -MP -MF .deps/amdgpu_dri2.Tpo -c -o amdgpu_dri2.lo amdgpu_dri2.c
--- amdgpu_video.lo ---
In file included from amdgpu_video.c:11:
./amdgpu_drv.h:173:14: error: no member named 'current_master' in 'struct _Screen'
        if (screen->current_master)
            ~~~~~~  ^
./amdgpu_drv.h:174:18: error: no member named 'current_master' in 'struct _Screen'
                return screen->current_master;
                       ~~~~~~  ^
./amdgpu_drv.h:182:37: error: no member named 'slave_dst' in 'struct _PixmapDirtyUpdate'
        return amdgpu_master_screen(dirty->slave_dst->drawable.pScreen);
                                    ~~~~~  ^
--- amdgpu_dri2.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/local/include -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/X11/dri -O2 -pipe -Werror=uninitialized -fstack-protector-strong -fno-strict-aliasing -MT amdgpu_dri2.lo -MD -MP -MF .deps/amdgpu_dri2.Tpo -c amdgpu_dri2.c  -fPIC -DPIC -o .libs/amdgpu_dri2.o
--- amdgpu_video.lo ---
3 errors generated.
*** [amdgpu_video.lo] Error code 1

make[3]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0/src
--- amdgpu_probe.lo ---
In file included from amdgpu_probe.c:46:
./amdgpu_drv.h:173:14: error: no member named 'current_master' in 'struct _Screen'
        if (screen->current_master)
            ~~~~~~  ^
./amdgpu_drv.h:174:18: error: no member named 'current_master' in 'struct _Screen'
                return screen->current_master;
                       ~~~~~~  ^
./amdgpu_drv.h:182:37: error: no member named 'slave_dst' in 'struct _PixmapDirtyUpdate'
        return amdgpu_master_screen(dirty->slave_dst->drawable.pScreen);
                                    ~~~~~  ^
3 errors generated.
--- amdgpu_bo_helper.lo ---
In file included from amdgpu_bo_helper.c:28:
./amdgpu_drv.h:173:14: error: no member named 'current_master' in 'struct _Screen'
        if (screen->current_master)
            ~~~~~~  ^
./amdgpu_drv.h:174:18: error: no member named 'current_master' in 'struct _Screen'
                return screen->current_master;
                       ~~~~~~  ^
./amdgpu_drv.h:182:37: error: no member named 'slave_dst' in 'struct _PixmapDirtyUpdate'
        return amdgpu_master_screen(dirty->slave_dst->drawable.pScreen);
                                    ~~~~~  ^
--- amdgpu_probe.lo ---
*** [amdgpu_probe.lo] Error code 1

make[3]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0/src
--- amdgpu_bo_helper.lo ---
3 errors generated.
*** [amdgpu_bo_helper.lo] Error code 1

make[3]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0/src
--- amdgpu_dri2.lo ---
In file included from amdgpu_dri2.c:32:
./amdgpu_drv.h:173:14: error: no member named 'current_master' in 'struct _Screen'
        if (screen->current_master)
            ~~~~~~  ^
./amdgpu_drv.h:174:18: error: no member named 'current_master' in 'struct _Screen'
                return screen->current_master;
                       ~~~~~~  ^
./amdgpu_drv.h:182:37: error: no member named 'slave_dst' in 'struct _PixmapDirtyUpdate'
        return amdgpu_master_screen(dirty->slave_dst->drawable.pScreen);
                                    ~~~~~  ^
3 errors generated.
*** [amdgpu_dri2.lo] Error code 1

make[3]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0/src
4 errors

make[3]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0/src

make[2]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0

make[1]: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu/work/xf86-video-amdgpu-19.1.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-drivers/xf86-video-amdgpu
LICENSE README.md THANKS build build.cfg build.hlp common config log.txt nomad patch pkg.list release src work Exiting with errors LICENSE README.md THANKS build build.cfg build.hlp common config log.txt nomad patch pkg.list release src work

I built this in a clean install of FreeBSD 13.1 (amd64).
I will try to investigate more tonight.

@mrclksr
Copy link
Member Author

mrclksr commented Nov 17, 2022

Hi @andreas-jonsson,

that looks familiar. Make sure to update your ports tree.

@maurizio-emmex
Copy link

I am testing the nomadbsd-131R-80dec9b9.amd64.zfs.img image on a PC with the 'Realtek Gaming GbE Family Controller" as identified by Window 11.

The stock re driver don't work.

On another machine, a Mac, I have installed the package
sudo pkg install realtek-re-kmod-197.00

and added in /boot/loader.conf

if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"

With this driver it works.

@mrclksr
Copy link
Member Author

mrclksr commented Nov 18, 2022

Thank you, @maurizio-emmex! Working on it.

@reinboldg
Copy link

reinboldg commented Nov 20, 2022

I have a font/charset problem on my Thinkpad X201 after installing on the hard drive.

I cannot read anything, the terminal does not appear.

No problem when booting on the USB stick.

Login screen

Notification

Terminal tooltip

@mrclksr
Copy link
Member Author

mrclksr commented Nov 21, 2022

@reinboldg:

That's very odd. Are there any fonts under /usr/local/share/fonts? What does grep 'EE|WW' /var/log/Xorg.0.log say?

@reinboldg
Copy link

reinboldg commented Nov 21, 2022

@mrclksr yep very strange

/usr/local/share/fonts is empty

grep -E 'EE|WW' /var/log/Xorg.0.log return many warnings about nonexistent fonts. This corresponds with the empty directory /usr/local/share/fonts.

	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    47.505] (WW) The directory "/usr/local/share/fonts/Droid" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/Hana" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/OTF" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/SourceCodePro" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/TTF" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/Type1" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/bitstream-vera" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/cantarell" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/dejavu" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/freefont-ttf" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/gost" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/urwfonts" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/urwfonts-ttf" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/webfonts" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/100dpi" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/75dpi" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/cyrillic" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/encodings" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/misc" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/terminus-font" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/misc/" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/TTF/" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/OTF/" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/Type1/" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/100dpi/" does not exist.
[    47.505] (WW) The directory "/usr/local/share/fonts/75dpi/" does not exist.
[    47.837] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    48.340] (II) Initializing extension MIT-SCREEN-SAVER
[    49.473] (WW) Option "xkb_variant" requires a string value
[    49.582] (WW) Option "xkb_variant" requires a string value
[    49.604] (WW) Option "xkb_variant" requires a string value
[    49.731] (WW) Option "xkb_variant" requires a string value

Also, many font packages seem installed:

pkg info | grep -iE 'font|xorg'
bitstream-vera-1.10_8          Bitstream Vera TrueType font collection
cantarell-fonts-0.301          Cantarell, a Humanist sans-serif font family
dejavu-2.37_1                  Bitstream Vera Fonts clone with a wider range of characters
droid-fonts-ttf-20131024_5     Droid typeface family
encodings-1.0.5,1              X.Org Encoding fonts
font-adobe-100dpi-1.0.3_4      X.Org Adobe 100dpi font
font-adobe-75dpi-1.0.3_4       X.Org Adobe 75dpi font
font-adobe-utopia-100dpi-1.0.4_4 X.Org Adobe Utopia 100dpi font
font-adobe-utopia-75dpi-1.0.4_4 X.Org Adobe Utopia 75dpi font
font-adobe-utopia-type1-1.0.4_4 X.Org Adobe Utopia Type1 font
font-alias-1.0.4               X.Org Font aliases
font-arabic-misc-1.0.3_4       X.Org miscellaneous Arabic fonts
font-bh-100dpi-1.0.3_4         X.Org Bigelow Holmes 100dpi font
font-bh-75dpi-1.0.3_4          X.Org Bigelow Holmes 75dpi font
font-bh-lucidatypewriter-100dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 100dpi font
font-bh-lucidatypewriter-75dpi-1.0.3_4 X.Org Bigelow Holmes Lucida TypeWriter 75dpi font
font-bh-ttf-1.0.3_4            X.Org Bigelow & Holmes TTF font
font-bh-type1-1.0.3_4          X.Org Bigelow Holmes Type1 font
font-bitstream-100dpi-1.0.3_4  X.Org Bitstream Vera 100dpi font
font-bitstream-75dpi-1.0.3_4   X.Org Bitstream Vera 75dpi font
font-bitstream-type1-1.0.3_4   X.Org Bitstream Vera Type1 font
font-cronyx-cyrillic-1.0.3_4   X.Org Cronyx Cyrillic font
font-cursor-misc-1.0.3_4       X.Org miscellaneous Cursor fonts
font-daewoo-misc-1.0.3_4       X.Org miscellaneous Daewoo fonts
font-dec-misc-1.0.3_4          X.Org miscellaneous Dec fonts
font-gost-0.2_4                GOST TrueType fonts
font-ibm-type1-1.0.3_4         X.Org IBM Type1 font
font-isas-misc-1.0.3_4         X.Org miscellaneous ISAS fonts
font-jis-misc-1.0.3_4          X.Org miscellaneous JIS fonts
font-micro-misc-1.0.3_4        X.Org miscellaneous Micro fonts
font-misc-cyrillic-1.0.3_4     X.Org miscellaneous Cyrillic font
font-misc-ethiopic-1.0.4       X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_4       X.Org miscellaneous Meltho font
font-misc-misc-1.1.2_4         X.Org miscellaneous Misc fonts
font-mutt-misc-1.0.3_4         X.Org miscellaneous Mutt fonts
font-schumacher-misc-1.1.2_4   X.Org miscellaneous Schumacher fonts
font-screen-cyrillic-1.0.4_4   X.Org Screen Cyrillic font
font-sony-misc-1.0.3_4         X.Org miscellaneous Sony fonts
font-sun-misc-1.0.3_4          X.Org miscellaneous Sun fonts
font-winitzki-cyrillic-1.0.3_4 X.Org Winitzki Cyrillic font
font-xfree86-type1-1.0.4_4     X.Org XFree86 Type1 font
fontconfig-2.14.0,1            XML-based font configuration API for X Windows
freefont-ttf-20120503_2        Free UCS Outline Fonts
freetype2-2.12.1_2             Free and portable TrueType font rendering engine
hanazono-fonts-ttf-20170904_1  CJK Mincho-typeface developed by Hanazono University
libXfont2-2.0.5                X font library
libXft-2.3.6                   Client-sided font API for X applications
libfontenc-1.1.4               The fontenc Library
mkfontscale-1.2.1              Creates an index of scalable font files for X
sourcecodepro-ttf-2.038        Set of fonts by Adobe designed for coders
terminus-font-4.48             Terminus Font - a clean fixed width font
urwfonts-1.0_8                 Another font package for X
urwfonts-ttf-1.0.7b18_8        Unicode TrueType fonts from URW extended by Valek Filippov
webfonts-0.30_14               TrueType core fonts for the Web
woff2-1.0.2_4                  Library and converter tools for the WOFF 2.0 web font format
xorg-fonts-7.7_1               X.org fonts meta-port
xorg-fonts-100dpi-7.7          X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.7           X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.7        X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.7     X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorg-fonts-type1-7.7           X.Org Type1 fonts
xorg-server-21.1.4_1,1         X.Org X server and related programs
xorgproto-2022.1               X Window System unified protocol definitions

@reinboldg
Copy link

reinboldg commented Nov 21, 2022

I reinstalled all packages corresponding to the /usr/local/etc/X11/xorg.conf.d/files.conf

It fixed the problem, but it doesn't tell why the /usr/local/share/fonts directory was empty after a fresh install.

I put a fresh install on a VirtualBox VM with the same image, no problem.

@mrclksr
Copy link
Member Author

mrclksr commented Nov 22, 2022

@reinboldg, did you use a ZFS or a UFS image? Did you enable encryption?
Which configuration did you choose in the installer?

@reinboldg
Copy link

reinboldg commented Nov 22, 2022

@mrclksr

  • UFS image
  • UFS install
  • without encryption
  • 2048M RAM
  • without Lenovo fix
  • set username to gregory
  • shell bash
  • editor vim
  • wm thunar

@mrclksr
Copy link
Member Author

mrclksr commented Nov 22, 2022

@reinboldg:
I didn't encounter any problems. I guess there was some I/O problem while copying the /usr/local/share/fonts directory. If you like to, you could try again and see if you encounter similar problems. Check dmesg after running the installer for any I/O error messages.

@grahamperrin
Copy link
Contributor

Is any issue here not (also) encompassed in a separate issue?

The details in opening comment #128 (comment) (2022-11-16) no longer apply …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants