Laptop backlight control regression with 465.24.02

[ 0.058646] You have booted with nomodeset. This means your GPU drivers are DISABLED
[ 0.058647] Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly

Please try again with the nomodeset kernel parameter removed.

I reinstalled 465.24.02 and removed the nomodeset kernel parameter when rebooting. The problem persists with 465.24.02. The nomodeset parameter is present for the 460.67 driver and the backlight control works as expected.

In case it is useful, I’ve included the bug report after booting with 465.24.02 and the nomodeset removed.

Thanks

nvidia-bug-report.log.gz (1.2 MB)

[ 6.576311] audit: type=1130 audit(1618879473.126:108): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-backlight@backlight:acpi_video1 comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed’

What would the output of sudo systemctl status systemd-backlight@backlight:acpi_video1 show in the failed state?

Could you maybe also try with the kernel parameter: acpi_backlight=vendor

1 Like

The output of the systemctl status is:
● systemd-backlight@backlight:acpi_video1.service - Load/Save Screen Backlight Brightness of backlight:acpi_video1
Loaded: loaded (/usr/lib/systemd/system/systemd-backlight@.service; static)
Active: inactive (dead)
Docs: man:systemd-backlight@.service(8)

Using acpi_backlight=vendor makes no difference.

Thanks for the suggestions.

1 Like

Also tried acpi_backlight=video with 465.24.02 without success.

xbacklight also does not change the backlight brightness. I can use “xrandr --output DP-0 --brightness 0.7” to dim the super bright display, but that is an ugly workaround.

460.73.01 works as expected.

It would be appreciated if someone from nvidia confirmed this regression.

1 Like

I’m having the same issue tbeckman reported on an Alienware 15 R3 with nvidia driver 465.24.02, while everything works fine using 460.67.

I’d like to add that in /sys/class/backlight/nvidia_0 folder, the values within brightness and actual_brightness do change when using hotkeys or tools like xbacklight, but it looks like they are not honored anymore.

I’m attaching a bug report hoping it may prove helpful: nvidia-bug-report.log.gz (396.8 KB)

1 Like

This regression is still present in 465.27.

1 Like

Still present in 465.31. Downgrading to 460.67 still fixes the issue. Is this regression confirmed/being looked into?

For the record: Backlight doesn't work at all / Laptop Issues / Arch Linux Forums

2 Likes

This regression is still present in 470.42.01. The last working driver I’ve found is 460.73.01.

@amrits - @aplattner - Can you please acknowledge that you’ve seen this bug and are going to look into it?

1 Like

regression still present in 470.57.02

2 Likes

regression still present in 470.57.02
I confirm.
On 460xx all good.
The problem with brightness control remains. Brightness control does not work on 465xx and newer 470xx drivers. Works well at 460xx. With the kernel parameter acpi_backlight=vendor. And adding to xorg.conf Option “RegistryDwords” “EnableBrightnessControl=1”
Arch Linux. Kernel zen 5.12.14. I7 7700hq. Nvidia 1070

2 Likes

Hey! Is there anyone alive?

2 Likes

nvidia-dkms 460.67-1 was working fine with 5.12.15, but then I upgraded to linux-5.13.4 and it breaks, I’m getting this error when upgrading:

==> dkms install --no-depmod -m nvidia -v 460.67 -k 5.13.4-arch1-1
Error! Bad return status for module build on kernel: 5.13.4-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/460.67/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 460.67 -k 5.13.4-arch1-1' returned 10

/var/lib/dkms/nvidia/460.67/build/make.log says:

DKMS make.log for nvidia-460.67 for kernel 5.13.4-arch1-1 (x86_64)
Thu Jul 22 01:16:42 PM CEST 2021
make[1]: Entering directory '/usr/lib/modules/5.13.4-arch1-1/build'
  SYMLINK /var/lib/dkms/nvidia/460.67/build/nvidia/nv-kernel.o
  SYMLINK /var/lib/dkms/nvidia/460.67/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: 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: node_end_pfn
 CONFTEST: pci_bus_address
 CONFTEST: of_get_ibm_chip_id
 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: iterate_fd
 CONFTEST: seq_read_iter
 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: pnv_npu2_init_context
 CONFTEST: radix_tree_replace_slot
 CONFTEST: cpumask_of_node
 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_gem_object_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: drm_gem_object_put_unlocked
 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_screen_info
 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_kthread_create_on_node
 CONFTEST: acpi_op_remove
 CONFTEST: outer_flush_all
 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: 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_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: 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
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-frontend.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-pci.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-acpi.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-cray.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-dma.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-i2c.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-mmap.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-p2p.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-pat.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-procfs.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-usermap.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-vm.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-vtophys.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/os-interface.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/os-mlock.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/os-pci.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/os-registry.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/os-usermap.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-modeset-interface.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-pci-table.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-kthread-q.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-memdbg.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-ibmnpu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-report-err.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-rsync.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-msi.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv-caps.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nv_uvm_interface.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nvlink_linux.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/nvlink_caps.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/linux_nvswitch.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia/procfs_nvswitch.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_common.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_linux.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/nvstatus.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/nvCpuUuid.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/nv-kthread-q.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/nv-kthread-q-selftest.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_tools.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_global.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu_isr.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_procfs.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_va_space.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_va_space_mm.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu_semaphore.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_mem.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_rm_mem.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_channel.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_lock.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_hal.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_range_tree.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_rb_tree.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_range_allocator.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_va_range.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_va_block.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_range_group.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu_replayable_faults.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu_non_replayable_faults.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu_access_counters.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_events.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_module.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_mmu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pte_batch.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_tlb_batch.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_push.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pushbuffer.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_thread_context.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_tracker.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_kepler.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_kepler_ce.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_kepler_host.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_kepler_mmu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_maxwell.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_maxwell_host.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pascal.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pascal_ce.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pascal_host.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pascal_mmu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pascal_fault_buffer.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_volta_host.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_volta_mmu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_volta.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_volta_fault_buffer.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_volta_access_counter_buffer.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_turing.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_turing_mmu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_turing_host.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ampere.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ampere_ce.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ampere_host.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ampere_mmu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_policy.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_utils.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_kvmalloc.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pmm_sysmem.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pmm_gpu.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_migrate.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_populate_pageable.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_migrate_pageable.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_map_external.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_user_channel.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_hmm.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_heuristics.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_thrashing.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_prefetch.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ats_ibm.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ats_faults.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_test_rng.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_range_tree_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_range_allocator_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_gpu_semaphore_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_mem_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_rm_mem_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_page_tree_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_tracker_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_push_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_channel_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_ce_test.o
/var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_test.c: In function ‘uvm_test_ioctl’:
/var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_test.c:303:1: warning: the frame size of 2240 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  303 | }
      | ^
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_lock_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_utils_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_kvmalloc_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pmm_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_pmm_sysmem_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_events_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_perf_module_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_get_rm_ptes_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_fault_buffer_flush_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_mmu_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_peer_identity_mappings_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_va_block_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_range_group_tree_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_rb_tree_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-uvm/uvm_thread_context_test.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-modeset/nvidia-modeset-linux.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-modeset/nv-kthread-q.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-drv.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-utils.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-encoder.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-connector.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-gem.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-fb.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-modeset.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-prime-fence.o
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.c:311:23: error: initialization of ‘int (*)(struct drm_plane *, struct drm_atomic_state *)’ from incompatible pointer type ‘int (*)(struct drm_plane *, struct drm_plane_state *)’ [-Werror=incompatible-pointer-types]
  311 |     .atomic_check   = nv_drm_plane_atomic_check,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.c:311:23: note: (near initialization for ‘nv_plane_helper_funcs.atomic_check’)
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.c:312:23: error: initialization of ‘void (*)(struct drm_plane *, struct drm_atomic_state *)’ from incompatible pointer type ‘void (*)(struct drm_plane *, struct drm_plane_state *)’ [-Werror=incompatible-pointer-types]
  312 |     .atomic_update  = nv_drm_plane_atomic_update,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.c:312:23: note: (near initialization for ‘nv_plane_helper_funcs.atomic_update’)
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.c:313:23: error: initialization of ‘void (*)(struct drm_plane *, struct drm_atomic_state *)’ from incompatible pointer type ‘void (*)(struct drm_plane *, struct drm_plane_state *)’ [-Werror=incompatible-pointer-types]
  313 |     .atomic_disable = nv_drm_plane_atomic_disable,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.c:313:23: note: (near initialization for ‘nv_plane_helper_funcs.atomic_disable’)
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-linux.o
  CC [M]  /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-helper.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-crtc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-modeset.c: In function ‘__will_generate_flip_event’:
/var/lib/dkms/nvidia/460.67/build/nvidia-drm/nvidia-drm-modeset.c:96:23: warning: unused variable ‘primary_plane’ [-Wunused-variable]
   96 |     struct drm_plane *primary_plane = crtc->primary;
      |                       ^~~~~~~~~~~~~
make[1]: *** [Makefile:1852: /var/lib/dkms/nvidia/460.67/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.13.4-arch1-1/build'
make: *** [Makefile:80: modules] Error 2

have same issue on:
os: manjaro kde Pahvo 21.1.0
laptop: Acer Predator PH517-51
Driver Version: 470.57.02
GPU: 1070

1 Like

Same issue here: everything works with 460.67 and breaks from 465 on.
OS: Arch Linux
GPU: GeForce TX 1060

Linux 5.13.4 - Nvidia driver 470x, brightness issue present

Downgraded to Linux 5.12.9 and nVidia driver 460x. Brightness control now works again.
Kernel parameter (acpi_osi=) (pcie_aspm=force) works for me.

There isn’t a lot of documentation on this regression.

OS:Arch Linux 5.13.4 (Downgraded: Arch Linux 5.12.9)
Driver: Nvidia 470.57.02 (Downgraded: 460.67-9)
Laptop: Aorus X7-DT-V7
GPU: Nvidia GTX 1080

1 Like

I’m also experiencing this issue on a Dell G15 5515 with a NVIDIA GA106M (RTX 3060 Mobile). I haven’t been able to get the backlight to work with either linux 5.10.54 or 5.13.4 with the nvidia 470.57.02 driver. I am now compiling the Linux 5.12.9 kernel now to try to use with the nvidia 460x driver, like thatman has suggested, to see if that workaround works for me.

Backlight control works completely when disabling the optimus functionality in the BIOS so that only the nvidia card is used. When optimus is disabled in the BIOS, I get a /sys/class/backlight/nvidia_0 directory that works for controlling the backlight. When optimus is enabled, I don’t see a /sys/class/backlight/nvidia_0 directory and the directories that are available in /sys/class/backlight/nvidia (acpi_video0, amdgpu_bl0) do not control the backlight

1 Like

The same here. Issue present since Nvidia 465 driver.

Machine: CLEVO P775TM1
OS: Manjaro
Kernel: 5.10.53-1-MANJARO
GPU: Nvidia RTX 2080 Mobile (no optimus, just dedicated Nvidia card)

Brightness control worked pretty well until upgrade to 465.
I’ve tried all known solutions (kernel parameters, xorg options), but no success.
Last working conf was: nvidia 460 and acpi_backlight=video.

2 Likes

Please list the contents of /sys/class/backlight via
ls /sys/class/backlight

Also please boot the system without parameter without nvidia-drm.modeset=1 and share test results.