Commit Graph

2003 Commits

Author SHA1 Message Date
Xi Ruoyao
65585fa70e
xwayland: Add Xorg applications as runtime dependency
If setxkbmap is not installed, Xwayland will refuse to start.

In a "normal" build Xorg applications should be pulled in by Xorg fonts
-> xcursor-themes -> Xorg applications, but we are saying "only
font-util" for Xorg fonts and font-util does not need xcursor-themes.
2023-08-04 12:59:34 +08:00
Xi Ruoyao
3cb77ad5a6
mesa: Document a test timeout with Glibc-2.38 2023-08-04 11:00:59 +08:00
Douglas R. Reno
0c76f3cfb3 Typo fixes from rhubarbpieguy 2023-08-01 15:22:19 -05:00
Xi Ruoyao
c41cafb3bc
kernel-config: Add color for hotkey
Align with recent LFS change.  Regenerate all kernel.xml files.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
14176436f0
kernel-config: Update the script
1. Don't throw unspecified entries too early.  Doing so caused various
   rendering glitches.  And we can now also check if an entry is
   selected but it's parent not.
2. "menu"s in Kconfig can also have dependencies...

Some pre-existing .toml data files are found problematic after the
change, fix them and regenerate all rendered -kernel.xml files.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
4e37f01a45
kernel-config: Do not include kernel version in every generated file
This is stupid and it will cause meaningless diffs in version control
(like this commit does :( ).

Remove the kernel version from the generated XML files.  Add
kernel.version file into git to track the kernel version.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
c36db1c461
Convert the remaining of X to use the new kernel-config system 2023-07-31 21:44:36 +08:00
Xi Ruoyao
d9e1464442
.gitignore: Don't ignore generated kernel configuration
We don't expect every editor to run kernel-config.py!
2023-07-31 21:44:36 +08:00
Xi Ruoyao
831ba20acd
kernel-config: Handle if/endif pairs in Kconfig, and allow to set "forced" attribute for options
For example, CONFIG_INPUT is forced w/o CONFIG_EXPERT.

libevdev kernel section needs these features to be rendered
successfully.
2023-07-31 21:44:36 +08:00
Xi Ruoyao
5ca8d70839
kernel-config: Allow setting comments for options, and convert Mesa 2023-07-31 21:44:35 +08:00
Xi Ruoyao
604355989a
Add kernel-config infrastructure
The kernel-config.py script takes a toml file containing a set of
kernel configuration key-value pairs.  Then it parses the Kconfig files
in a kernel source tree and render the given configuration as a
LFS-style <screen> in a separate XML file.  The XML file can be used in
the book with xinclude.

Some "features":

1. The lines are limited to 80 columns.
   If the text of the configuration option is too long, it will be
   trimmed; if the symbolic name of the option cannot fit in this line,
   a separate line will be used for it.
2. If a configuration option is given but it does not exist in Kconfig
   files, the script will abort immediately.  This helps catching
   removed options.
3. The script also aborts immediately if a configuration option is
   illegal, for example setting an option to 'M' while it cannot be a
   module.
4. The infrastructure is not wired into the main Makefile.  It's because
   not all editors have the latest kernel tree, and even if they do the
   locations of the kernel tree are still different.  To update the
   generated XML files, use
   "make -C kernel-config KERNEL_TREE=/sources/linux-x.y.z".

Backword incompatible change:

The script no longer outputs "CONFIG_" prefix for the symbolic name.  It
really does not make too much sense to waste 7 characters here because
it's a common prefix for all options!

A limitation:

The script does not really validate the configuration.  Generally
validating the configuration requires to solve the 3-CNF-SAT problem,
which is NP-complete.
2023-07-31 21:44:35 +08:00
Xi Ruoyao
7affde51e6
xorg-config: Further refine the condition where vga_arbiter is needed
Let's stop people from messing with vga_arbiter because they have two
state-of-art NVIDIA or AMD GPUs.
2023-07-26 17:58:30 +08:00
Xi Ruoyao
1473268a08
xorg-config: Remove xf86-video-* remnant from PRIME configuration
Hmm, it may be hard to distinguish two "modesetting"s here.  But anyway
this command is said to be unnecessary with the modesetting driver.
2023-07-26 17:03:45 +08:00
Xi Ruoyao
9871a7a6a8
xorg-config: Update the DRI checking example after xf86-video-* removal 2023-07-26 16:46:23 +08:00
Xi Ruoyao
4ada352178
xorg-config: Some reword about the TearFree control
1. Move the configuration file into /etc, to be consistent with other
   configuration files created in BLFS.
2. We no longer need a separate "configure the graphic card" example
   because the TearFree configuration file is already a good example.
3. Tearing issue is really not new after xf86-video-* removal.  In some
   xf86-video-* drivers a TearFree option is available but rarely
   enabled by default (only the amdgpu driver when the output is rotated
   or transformed).  So this is actually the first time we document it
   in BLFS.
4. It's really not difficult to observer the tearing by dragging a
   window in twm, despite twm only renders the window border during
   dragging.
2023-07-26 16:04:06 +08:00
Xi Ruoyao
2ac99448b1
xorg-config: Remove "AIGLX error" section
With modesetting driver, $HOME/.local/share/xorg/Xorg.0.log contains:

    [ 65817.713] (II) AIGLX: Loaded and initialized crocus

And there is no more "AIGLX error" messages.
2023-07-26 16:04:05 +08:00
Xi Ruoyao
1903174c9f
twm: Comment out xorg-legacy dependency
I really don't understand what it is for.  And I can run twm without it.

If someone has a good reason to use legacy fonts, please revert, but you
should at least consider marking it runtime and maybe demoting it to
optional.
2023-07-26 16:04:05 +08:00
Xi Ruoyao
50bf1ac670
x: Use <xref> for some references to wget
It would be easier for the user to just follow the link to wget page if
they've not installed wget yet.
2023-07-25 11:07:49 +08:00
Douglas R. Reno
18d398b5f8 Update to mesa-23.1.4 2023-07-23 13:02:35 -05:00
Douglas R. Reno
810935e2b5 Xorg-config: Add a section about configuring Tearfree.
We might want to consider reviewing that page now that we don't carry
any of the other Xorg drivers now.
2023-07-21 20:15:47 -05:00
Douglas R. Reno
a1ea6d4e94 Add the TearFree option back to Xorg-Server. Patch by Rahul Chandra 2023-07-21 11:51:31 -05:00
Xi Ruoyao
f4d129763c
/usr/libexec/Xorg does not exist anymore
With -Dsuid_wrapper=true removed from xorg-server, /usr/bin/Xorg is the
Xorg server itself.
2023-07-19 03:54:44 +08:00
Xi Ruoyao
b952db2ee8
xorg-server: "a even" -> "an even" 2023-07-19 03:54:44 +08:00
Bruce Dubbs
e77c478989 Merge branch 'trunk' into lxqt 2023-07-18 16:51:51 +00:00
Xi Ruoyao
cb88494ae6
xorg-server: Align kernel config 2023-07-18 02:27:04 +08:00
Xi Ruoyao
5c7ad049db
Move Xorg mode line setting from qemu to xorg-config
It's not really QEMU specific.

By the way, move the "additional cfg unneeded on most systems" into the
bottom of the page, and adjust it to refer modesetting driver instead of
radeon driver.
2023-07-13 19:56:08 +08:00
Bruce Dubbs
32936bc2c2 lxqt and qt5-alternate cleanups 2023-07-13 01:17:52 -05:00
Xi Ruoyao
797182d11a
xorg-server: Add kernel configuration section 2023-07-13 03:12:04 +08:00
Xi Ruoyao
c97d35e2f6
xorg-server: Force -Dglamor=true
With the DDX drivers gone, we must use Glamor to provide the modeset
driver or X server won't start.
2023-07-13 01:45:49 +08:00
Xi Ruoyao
22c1bfc373
Archive xf86-video-* 2023-07-13 01:39:51 +08:00
Xi Ruoyao
ed848370ef
xorg-server: Create /tmp/.{X11,ICE}-unix
So we don't need to reboot.
2023-07-13 01:32:34 +08:00
Thomas Trepl
bd42330127 Upgrade xterm-384 2023-07-11 08:07:36 +02:00
Xi Ruoyao
117b4e97f3
mesa: Add kernel cfg section into the index 2023-07-11 02:07:22 +08:00
Xi Ruoyao
9a612888e4
Move HW-accel video encoding/decoding library into Multimedia section
They don't really belong to some Graphical Environment.
2023-07-11 00:56:43 +08:00
Xi Ruoyao
13145c0e15
mesa: Some Nouveau 3D features may be N/A
"N/A" means the hardware just does not support this feature.

Currently "Fixed pipe TCL" is N/A for all supported models,
"Geometry programs" and "Tessellation programs" are N/A for some early
supported models.
2023-07-08 09:22:55 +08:00
Bruce Dubbs
d4102cea4b Wording changes. 2023-07-07 11:16:58 -05:00
Xi Ruoyao
2c92dadaa0
mesa: Add kernel config section and -Dgallium-drivers explanation
We used to assume the users to config the kernel properly in xf86 video
drivers.  But (1) xf86 video drivers and mesa drivers are not one-to-one
mapping; (2) there are wayland-based DEs where no xf86 video drivers are
installed.
2023-07-07 19:48:37 +08:00
Douglas R. Reno
88cf4eb7b7 Update to intel-media-driver-23.2.4 2023-07-05 20:33:02 -05:00
Xi Ruoyao
7f41c4ae39
Move Vulkan description from "Graphical Environments" to Mesa
Well, Vulkan is not an alternative of X, nor Wayland.  It's an
alternative of OpenGL.

Change "libvulkan" to "Vulkan-Loader" by the way.  "libvulkan" is a
library, and Vulkan-Loader is the name of the package providing it.  The
URL is also updated because there is no download link at vulkan.org.
2023-07-05 09:05:20 +08:00
Bruce Dubbs
e94c3fdbba Update to xterm-383. 2023-06-29 15:20:32 -05:00
Xi Ruoyao
42ddc3001a
treewide: Replace "User Notes" with "Editor Notes" 2023-06-30 02:18:51 +08:00
Xi Ruoyao
14891a9084
treewide: More "User Notes" clean up
Remove links to pages w/o real contents.
2023-06-30 02:18:51 +08:00
Xi Ruoyao
9a6d0d9bcf
x: Remove non-exist User Notes link
Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh
2023-06-29 19:22:51 +08:00
Tim Tassonis
a9dea18aa0 Update to mesa-23.1.3. 2023-06-25 15:53:46 +02:00
Pierre Labastie
6167879d52 Update to xorgproto-2023.2 2023-06-17 14:00:58 +02:00
Rahul Chandra
677cf19bdf
Update to libX11-1.8.6. 2023-06-17 01:15:00 +08:00
Bruce Dubbs
51aa6e5935 Update to xkeyboard-config-2.39. 2023-06-12 13:28:53 -05:00
Pierre Labastie
bf92b527fd mesa: patch to prevent segfaults on old Intel IGP 2023-06-12 17:28:23 +02:00
Bruce Dubbs
3b84f79a91 Update to mesa-23.1.2. 2023-06-10 17:30:50 -05:00
Bruce Dubbs
ad6fc7ee30 Update to xwayland-23.1.2. 2023-06-08 14:56:53 -05:00