After update, the boot is stuck at this step ‘Reached Graphical Interface’.
I just logged in again with live usb mode, how to resolve this issue.? please help.
Do you have a Nvidia graphics card?
Yes @s4ndm4n
Can you post the output of the below command?
inxi -Gxx0z | eos-sendlog
Getting below
[liveuser@eos-2023.11.17 ~]$ inxi -Gxx0z | eos-sendlog
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title> </title>
</head>
<style>
body {
font-family: monospace;
margin: 2em;
}
</style>
<body>
<p>ix.io is taking a break 🍻</p>
<img src="/underconstruction.gif" width="200px">
</body>
</html>
[liveuser@eos-2023.11.17 ~]$
It should output a short url, not an html code.
Just run inxi -Gxx0z
and copy paste the output here.
Here is the output
[liveuser@eos-2023.11.17 ~]$ inxi -Gxx0z
Graphics:
Device-1: NVIDIA GK208B [GeForce GT 710] vendor: ASUSTeK driver: nouveau
v: kernel arch: Fermi 2 pcie: speed: 5 GT/s lanes: 8 ports: active: HDMI-A-1
empty: DVI-D-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:128b temp: 48.0 C
Display: server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X:
loaded: modesetting alternate: fbdev,nouveau,nv,vesa dri: nouveau
gpu: nouveau display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Samsung LF22T35 res: 1920x1080
dpi: 102 diag: 547mm (21.5")
API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: swrast
gbm: drv: nouveau surfaceless: drv: nouveau x11: drv: nouveau
inactive: wayland
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 23.2.1-arch1.2 glx-v: 1.4
direct-render: yes renderer: NV106 device-ID: 10de:128b
API: Vulkan Message: No Vulkan data available.
[liveuser@eos-2023.11.17 ~]$
The issue is caused by the display driver it seems. You might need to chroot
to fix this. Here is the wiki link on how to use arch-chroot
.
After getting into chroot
run nvidia-inst --drivers
to see which legacy driver is supported. Then use yay
to install the mentioned driver from the AUR
.
But before installing the drivers do a dry run using the -t
option. Ex: nvidia-inst --series 390 -t
. Remember to replace the --series
number with the one shown after running the command nvidia-inst --drivers
. After the dry run completes you should see an output like below.
2022-04-25 23:45:00: Info: Running: nvidia-inst v1.0.3-1
2022-04-25 23:45:00: Info: Command line: nvidia-inst --series 390 -t
2022-04-25 23:45:00: Info: Selected mode: nvidia
2022-04-25 23:45:00: Info: Installing packages: nvidia-390xx-dkms nvidia-390xx-utils nvidia-390xx-settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
pacman -Syuq --noconfirm --noprogressbar --needed nvidia-390xx-dkms nvidia-390xx-utils nvidia-390xx-settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
then you can use yay <your legacy driver name>
(Es: yay nvidia-390xx-dkms
) to install the drivers and exit chroot
. Now you can reboot the system and see if it works.
P.S: For further information about nvidia-ins
can be found here.
Hi @s4ndm4n ,
I ran the command
[root@EndeavourOS /]# nvidia-inst --drivers
lspci: Unable to load libkmod resources: error -2
NVIDIA card id: 128b
Fetching driver data from nvidia.com ...
Series 470: supported (nvidia.com: 470.239.06)
NOTE: nvidia-inst does not support series 470. You can install the driver using 'yay'.
[root@EndeavourOS /]#
So I should install these 3 ?
Yes, that is the reported supported drivers.
Installed those 3 drivers and restarted, but still stuck in boot at the same line ‘Graphical interface’
Can you check if the drivers that are installed are loaded by using the inixi -Fxx0z
command?
Looks like it is not installed last time
12Graphics:
12Device-1 NVIDIA GK208B [GeForce GT 710] 12vendor ASUSTeK 12driver nouveau 12v kernel 12arch Fermi 2 12pcie
12speed 5 GT/s 12lanes 8 12ports 12active HDMI-A-1 12empty DVI-D-1,VGA-1 12bus-ID 01:00.0 12chip-ID 10de:128b
12temp 49.0 C
12Display 12server X.org 12v 1.21.1.13 12with Xwayland 12v 23.2.6 12compositor kwin_x11 12driver 12X
12loaded nvidia 12unloaded modesetting 12alternate fbdev,nouveau,nv,vesa 12gpu nouveau 12display-ID :0
12Monitor-1 HDMI-A-1 12model Samsung LF22T35 12res 1920x1080 12dpi 102 12diag 547mm (21.5")
12API EGL 12v 1.5 12platforms 12device 0 12drv nouveau 12device 1 12drv swrast 12gbm 12drv nouveau 12surfaceless
12drv nouveau 12inactive wayland,x11
12API OpenGL 12v 4.5 12compat-v 4.3 12vendor mesa 12v 24.0.6-arch1.2 12note incomplete (EGL sourced)
12renderer NV106, llvmpipe (LLVM 17.0.6 256 bits)
12API Vulkan 12Message No Vulkan data available.
I think I wrongly executed the yay command in the non chroot terminal. So i tried to install the yay command in the chroot terminal i am getting below error
[root@EndeavourOS /]# yay -S nvidia-470xx-utils
-> Avoid running yay as root/sudo.
AUR Explicit (1): nvidia-470xx-utils-470.239.06-1
:: (0/1) Failed to download PKGBUILD: nvidia-470xx-utils
-> error fetching nvidia-470xx-utils: System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
context: exit status 1
[root@EndeavourOS /]#
Note that after installing graphics drivers you need to reboot for them to take effect.
@manuel , Yes i did restarted
@s4ndm4n
I am not sure if I did the chroot correctly
[liveuser@eos-2023.11.17 ~]$ sudo lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /run/archiso/airootfs
sda
└─sda1 vfat FAT32 EOS_202311 1C18-0D28 55.4G 4% /run/archiso/bootmnt
nvme0n1
├─nvme0n1p1 ext4 1.0 72533b59-2615-4687-a837-1acc14bdc8c1
├─nvme0n1p2 vfat FAT32 ADDC-DB97
├─nvme0n1p3 swap 1 476858b2-b5fd-4414-89c9-28d6a89a189e
└─nvme0n1p4 ext4 1.0 Personal 9affed5d-101b-44c7-864e-8ad6bce70b86
[liveuser@eos-2023.11.17 ~]$ sudo mount /dev/nvme0n1p1 /mnt
[liveuser@eos-2023.11.17 ~]$ sudo cat /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=ADDC-DB97 /boot/efi vfat defaults,noatime 0 2
UUID=72533b59-2615-4687-a837-1acc14bdc8c1 / ext4 defaults,noatime 0 1
[liveuser@eos-2023.11.17 ~]$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
[liveuser@eos-2023.11.17 ~]$ sudo arch-chroot /mnt
Please correct me if I am wrong.
I referred this post to install packages in chroot when unable to do it with yay command
looks like instead of this command sudo mount /dev/nvme0n1p2 /mnt/boot/efi
, I ran sudo mount /dev/nvme0n1p1 /mnt/boot/efi
while doing the chroot.
I again tried with the correct command and installed as referred in this post “Yay command Chroot - #2 by stormschip” and rebooted now. Still the boot is stuck at the same line
I’d swap those lines for consistency but not sure if that helps anything.
Yes, this is the correct command after mounting /mnt
.
yay
refuse to run in root
. I forgot we have to use the default pacman
. Don’t think it’s to do with the chroot
.
This should work.
pacman -Syuq --noconfirm --noprogressbar --needed nvidia-470xx-dkms nvidia-470xx-utils nvidia-470xx-settings
Hi @s4ndm4n ,
I have installed those but some errors are there
local/nvidia-470xx-dkms 470.239.06-1
NVIDIA drivers - module sources
local/nvidia-470xx-settings 470.239.06-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-470xx-settings-debug 470.239.06-1
Detached debugging symbols for nvidia-470xx-settings
local/nvidia-470xx-utils 470.239.06-1
NVIDIA drivers utilities
Below are the errors
(5/8) Install DKMS modules
==> dkms install --no-depmod nvidia/470.239.06 -k 6.8.9-arch1-2
Error! Bad return status for module build on kernel: 6.8.9-arch1-2 (x86_64)
Consult /var/lib/dkms/nvidia/470.239.06/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/470.239.06 -k 6.8.9-arch1-2' exited 10
==> dkms install --no-depmod nvidia/470.239.06 -k 6.6.30-2-lts
Error! Bad return status for module build on kernel: 6.6.30-2-lts (x86_64)
Consult /var/lib/dkms/nvidia/470.239.06/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/470.239.06 -k 6.6.30-2-lts' exited 10
And the make.log file
DKMS make.log for nvidia-470.239.06 for kernel 6.6.30-2-lts (x86_64)
Sun May 12 04:00:51 PM IST 2024
make[1]: Entering directory '/usr/lib/modules/6.6.30-2-lts/build'
SYMLINK /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-kernel.o
SYMLINK /var/lib/dkms/nvidia/470.239.06/build/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: acquire_console_sem
CONFTEST: console_lock
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: acpi_walk_namespace
CONFTEST: sg_alloc_table
CONFTEST: pci_get_domain_bus_and_slot
CONFTEST: get_num_physpages
CONFTEST: efi_enabled
CONFTEST: pde_data
CONFTEST: PDE_DATA
CONFTEST: proc_remove
CONFTEST: pm_vt_switch_required
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: dma_attr_macros
CONFTEST: dma_map_page_attrs
CONFTEST: write_cr4
CONFTEST: of_get_property
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: of_get_ibm_chip_id
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: backlight_device_register
CONFTEST: get_backlight_device_by_name
CONFTEST: timer_setup
CONFTEST: pci_enable_msix_range
CONFTEST: kernel_read_has_pointer_pos_arg
CONFTEST: kernel_write
CONFTEST: kthread_create_on_node
CONFTEST: of_find_matching_node
CONFTEST: dev_is_pci
CONFTEST: dma_direct_map_resource
CONFTEST: tegra_get_platform
CONFTEST: tegra_bpmp_send_receive
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: ktime_get_real_ts64
CONFTEST: full_name_hash
CONFTEST: hlist_for_each_entry
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: pgprot_decrypted
CONFTEST: cc_mkdec
CONFTEST: iterate_fd
CONFTEST: seq_read_iter
CONFTEST: sg_page_iter_page
CONFTEST: unsafe_follow_pfn
CONFTEST: drm_gem_object_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: set_close_on_exec
CONFTEST: dma_set_coherent_mask
CONFTEST: acpi_bus_get_device
CONFTEST: get_task_ioprio
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: pnv_npu2_init_context
CONFTEST: cpumask_of_node
CONFTEST: acpi_video_backlight_use_native
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_ref_counting
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_framebuffer_get
CONFTEST: drm_dev_put
CONFTEST: drm_format_num_planes
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: drm_rotation_available
CONFTEST: drm_vma_offset_exact_lookup_locked
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_gpl_sme_active
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
CONFTEST: is_export_symbol_present_swiotlb_dma_ops
CONFTEST: is_export_symbol_present___close_fd
CONFTEST: is_export_symbol_present_close_fd
CONFTEST: is_export_symbol_present_get_unused_fd
CONFTEST: is_export_symbol_present_get_unused_fd_flags
CONFTEST: is_export_symbol_present_nvhost_get_default_device
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
CONFTEST: is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
CONFTEST: is_export_symbol_present_get_dram_num_channels
CONFTEST: is_export_symbol_present_tegra_dram_types
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_kthread_create_on_node
CONFTEST: acpi_op_remove
CONFTEST: file_operations
CONFTEST: file_inode
CONFTEST: kuid_t
CONFTEST: dma_ops
CONFTEST: swiotlb_dma_ops
CONFTEST: noncoherent_swiotlb_dma_ops
CONFTEST: vm_fault_has_address
CONFTEST: backlight_properties_type
CONFTEST: vm_insert_pfn_prot
CONFTEST: vmf_insert_pfn_prot
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: vmbus_channel_has_ringbuffer_page
CONFTEST: device_driver_of_match_table
CONFTEST: device_of_node
CONFTEST: node_states_n_memory
CONFTEST: kmem_cache_has_kobj_remove_work
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: timespec64
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: acpi_fadt_low_power_s0
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: num_registered_fb
CONFTEST: vm_area_struct_has_const_vm_flags
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_fault_t
CONFTEST: mmu_notifier_ops_invalidate_range
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_device_list
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dma_buf_owner
CONFTEST: drm_connector_list_iter
CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_format_modifiers_present
CONFTEST: drm_vma_node_is_allowed_has_tag_arg
CONFTEST: drm_vma_offset_node_has_readonly
CONFTEST: drm_display_mode_has_vrefresh
CONFTEST: drm_driver_master_set_has_int_return_type
CONFTEST: drm_driver_has_gem_free_object
CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
CONFTEST: drm_driver_has_gem_prime_callbacks
CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: nvidia_grid_csp_build
CONFTEST: pm_runtime_available
CONFTEST: pci_class_multimedia_hd_audio
CONFTEST: drm_available
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pci.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-acpi.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-cray.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-i2c.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-p2p.o
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv.c:12:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-acpi.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-cray.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pat.o
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs-utils.o
CC [M] /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-usermap.o
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-p2p.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pat.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-procfs-utils.h:13,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs-utils.c:26:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-usermap.c:13:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs-utils.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-pci-types.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pci.c:12:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/conftest.h:5,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv_stdarg.h:29,
from /var/lib/dkms/nvidia/470.239.06/build/common/inc/os-interface.h:27,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia/470.239.06/build/conftest/functions.h:80:2: error: #error wait_on_bit_lock() conftest failed!
80 | #error wait_on_bit_lock() conftest failed!
| ^~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-usermap.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-usermap.o] Error 1
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pat.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-acpi.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-cray.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-p2p.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pci.c:13:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs.c:14:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
In file included from /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-i2c.c:16:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_phys_to_dma’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:703:12: error: implicit declaration of function ‘phys_to_dma’; did you mean ‘nv_phys_to_dma’? [-Wimplicit-function-declaration]
703 | return phys_to_dma(dev, pa);
| ^~~~~~~~~~~
| nv_phys_to_dma
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pat.o] Error 1
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c: At top level:
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c:300:5: warning: conflicting types for ‘nv_encode_caching’ due to enum/integer mismatch; have ‘int(pgprot_t *, NvU32, nv_memory_type_t)’ {aka ‘int(struct pgprot *, unsigned int, nv_memory_type_t)’} [-Wenum-int-mismatch]
300 | int nv_encode_caching(
| ^~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1767:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-proto.h:40:13: note: previous declaration of ‘nv_encode_caching’ with type ‘int(pgprot_t *, NvU32, NvU32)’ {aka ‘int(struct pgprot *, unsigned int, unsigned int)’}
40 | int nv_encode_caching (pgprot_t *, NvU32, NvU32);
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c: At top level:
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c:963:9: warning: "IMPORT_SGT_STUBS_NEEDED" redefined
963 | #define IMPORT_SGT_STUBS_NEEDED 0
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c:957:9: note: this is the location of the previous definition
957 | #define IMPORT_SGT_STUBS_NEEDED 1
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c:349:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
349 | if (NV_ALLOW_CACHING(memory_type))
| ^
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.c:352:9: note: here
352 | default:
| ^~~~~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-cray.o] Error 1
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h: In function ‘nv_is_dma_direct’:
/var/lib/dkms/nvidia/470.239.06/build/common/inc/nv-linux.h:1208:9: error: implicit declaration of function ‘dma_is_direct’; did you mean ‘d_is_dir’? [-Wimplicit-function-declaration]
1208 | if (dma_is_direct(get_dma_ops(dev)))
| ^~~~~~~~~~~~~
| d_is_dir
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-p2p.o] Error 1
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-mmap.o] Error 1
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-pci.o] Error 1
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-i2c.o] Error 1
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-procfs.o] Error 1
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-acpi.c: In function ‘nv_acpi_methods_init’:
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-acpi.c:644:22: error: implicit declaration of function ‘acpi_bus_get_device’; did you mean ‘acpi_is_pnp_device’? [-Wimplicit-function-declaration]
644 | retVal = acpi_bus_get_device(nvif_parent_gpu_handle, &device);
| ^~~~~~~~~~~~~~~~~~~
| acpi_is_pnp_device
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv.o] Error 1
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-acpi.o] Error 1
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c: In function ‘nv_dma_gem_object_unreference_unlocked’:
/var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.c:978:5: error: implicit declaration of function ‘drm_gem_object_put_unlocked’; did you mean ‘drm_gem_object_lookup’? [-Wimplicit-function-declaration]
978 | drm_gem_object_put_unlocked(gem);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| drm_gem_object_lookup
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/nvidia/470.239.06/build/nvidia/nv-dma.o] Error 1
make[2]: *** [/usr/lib/modules/6.6.30-2-lts/build/Makefile:1913: /var/lib/dkms/nvidia/470.239.06/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.6.30-2-lts/build'
make: *** [Makefile:80: modules] Error 2
And latest comments on the nvidia-47xx package
It seems like dkms
packages can’t be complied with using the newer GCC
compiler. On the second page there is a workaround to get this working.
This is the workaround that’s working at the moment.
Downgrading gcc and gcc-libs to 13.2.1, then re-installing the current 6.8.9-arch1-2 of linux and linux-headers worked for me.
You can use,
pacman -U <Older software name>
to downgrade.