How to export Blender shape key drivers to Unity?

I created a character in Blender with about I am using drivers because the regular Blend shapes seemed (unless I was mistaken–?) to interfere with all of my animations. When I export the FBX to Unity there is no deformation happening at all. How can I successfully import the blend shapes I made with the drivers? If I can’t, what can I do?

enter image description here

Rendered version

Would like to see this: Hardware -> Available Drivers

Notes on this site suggest that I can see a list of all hardware + avaliable drivers in software manager under additional drivers. I only see broadcom wifi+ some drivers. Where are the other drivers, such as display?. I have a dell Inspiron 9400, 32 bit. I just installed Ubuntu 16.04 and ugraded to 18.04. I have a ati mobility radeon x1400 and I am interested in testing drivers other than the default. I also have a usb 1200 dual band A/C adapter. I want to add a driver to that as well.

Can someone point me in the right direction?

My Aloha, in advance…

Installing NVIDIA drivers: Error occurring while Building kernel modules (410.57)

I have an RTX 2080Ti and want to install the latest drivers.

I run these commands:

  • chmod +x NVIDIA-Linux-x86_64–410.57.run
  • sudo ./NVIDIA-Linux-x86_64–410.57.run --no-x-check

And in the installation process I get

An error occurred while performing the step: “Building kernel modules”. See /var/log/nvidia-installer.log for details.

nvidia-installer.log:

nvidia-installer log file ‘/var/log/nvidia-installer.log’ creation time: Sat Oct 5 13:07:16 2019 installer version: 410.57

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line: ./nvidia-installer –no-x-check

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface -> Detected 8 CPUs online; setting concurrency level to 8. -> Installing NVIDIA driver version 410.57. -> Running distribution scripts executing: ‘/usr/lib/nvidia/pre-install’… -> done. -> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation) -> Performing CC sanity check with CC=”/usr/bin/cc”. -> Kernel source path: ‘/lib/modules/5.0.0-31-generic/build’ -> Kernel output path: ‘/lib/modules/5.0.0-31-generic/build’ -> Performing Compiler check. -> Performing Dom0 check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Performing vgpu_kvm check. -> Cleaning kernel module build directory. executing: ‘cd ./kernel; /usr/bin/make -k -j8 clean NV_EXCLUDE_KERNEL_MODULES=”” SYSSRC=”/lib/modules/5.0.0-31-generic/build” SYSOUT=”/lib/modules/5.0.0-31-generic/build”‘… rm -f -r conftest make[1]: Entering directory ‘/usr/src/linux-headers-5.0.0-31-generic’ make[1]: Leaving directory ‘/usr/src/linux-headers-5.0.0-31-generic’ -> Building kernel modules executing: ‘cd ./kernel; /usr/bin/make -k -j8 NV_EXCLUDE_KERNEL_MODULES=”” SYSSRC=”/lib/modules/5.0.0-31-generic/build” SYSOUT=”/lib/modules/5.0.0-31-generic/build”‘… make[1]: Entering directory ‘/usr/src/linux-headers-5.0.0-31-generic’ SYMLINK /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-kernel.o SYMLINK /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia-modeset/nv-modeset-kernel.o CONFTEST: INIT_WORK CONFTEST: remap_pfn_range CONFTEST: hash__remap_4k_pfn CONFTEST: follow_pfn CONFTEST: vmap CONFTEST: set_pages_uc CONFTEST: set_memory_uc CONFTEST: set_memory_array_uc CONFTEST: change_page_attr CONFTEST: pci_get_class CONFTEST: pci_choose_state CONFTEST: vm_insert_page CONFTEST: acpi_device_id CONFTEST: acquire_console_sem CONFTEST: console_lock CONFTEST: kmem_cache_create CONFTEST: on_each_cpu CONFTEST: smp_call_function CONFTEST: acpi_evaluate_integer CONFTEST: ioremap_cache CONFTEST: ioremap_wc CONFTEST: acpi_walk_namespace CONFTEST: pci_domain_nr CONFTEST: pci_dma_mapping_error CONFTEST: sg_alloc_table CONFTEST: sg_init_table CONFTEST: pci_get_domain_bus_and_slot CONFTEST: get_num_physpages CONFTEST: efi_enabled CONFTEST: proc_create_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: 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: for_each_online_node CONFTEST: node_end_pfn CONFTEST: pci_bus_address CONFTEST: pci_stop_and_remove_bus_device CONFTEST: pci_remove_bus_device CONFTEST: request_threaded_irq CONFTEST: register_cpu_notifier CONFTEST: cpuhp_setup_state CONFTEST: dma_map_resource CONFTEST: backlight_device_register CONFTEST: register_acpi_notifier CONFTEST: timer_setup CONFTEST: pci_enable_msix_range CONFTEST: remap_page_range CONFTEST: address_space_init_once CONFTEST: kbasename CONFTEST: fatal_signal_pending CONFTEST: list_cut_position 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: drm_dev_unref CONFTEST: drm_reinit_primary_mode_group CONFTEST: drm_atomic_set_mode_for_crtc CONFTEST: drm_atomic_clean_old_fb CONFTEST: get_user_pages_remote CONFTEST: get_user_pages CONFTEST: drm_gem_object_lookup CONFTEST: drm_atomic_state_free CONFTEST: drm_driver_has_gem_prime_res_obj CONFTEST: drm_atomic_helper_disable_all CONFTEST: drm_atomic_helper_set_config CONFTEST: drm_atomic_helper_connector_dpms CONFTEST: drm_connector_funcs_have_mode_in_name CONFTEST: is_export_symbol_gpl_of_node_to_nid CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs CONFTEST: i2c_adapter CONFTEST: pm_message_t CONFTEST: irq_handler_t CONFTEST: acpi_device_ops CONFTEST: acpi_op_remove CONFTEST: outer_flush_all CONFTEST: proc_dir_entry CONFTEST: scatterlist CONFTEST: sg_table CONFTEST: file_operations CONFTEST: vm_operations_struct CONFTEST: atomic_long_type CONFTEST: pci_save_state CONFTEST: file_inode CONFTEST: task_struct CONFTEST: kuid_t CONFTEST: dma_ops CONFTEST: dma_map_ops CONFTEST: noncoherent_swiotlb_dma_ops CONFTEST: vm_fault_present CONFTEST: vm_fault_has_address CONFTEST: backlight_properties_type CONFTEST: fault_flags CONFTEST: atomic64_type CONFTEST: address_space CONFTEST: backing_dev_info CONFTEST: mm_context_t CONFTEST: vm_ops_fault_removed_vma_arg 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_legacy_dev_list CONFTEST: drm_driver_has_set_busid CONFTEST: drm_crtc_state_has_connectors_changed CONFTEST: drm_init_function_args CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg CONFTEST: drm_helper_mode_fill_fb_struct CONFTEST: drm_master_drop_has_from_release_arg CONFTEST: drm_driver_unload_has_int_return_type CONFTEST: kref_has_refcount_of_type_refcount_t CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg CONFTEST: drm_crtc_helper_funcs_has_atomic_enable CONFTEST: drm_old_atomic_state_iterators_present CONFTEST: drm_mode_object_find_has_file_priv_arg CONFTEST: dma_buf_owner CONFTEST: dom0_kernel_present CONFTEST: nvidia_vgpu_kvm_build CONFTEST: nvidia_grid_build CONFTEST: drm_available CONFTEST: drm_atomic_available CONFTEST: drm_atomic_modeset_nonblocking_commit_available CONFTEST: is_export_symbol_gpl_refcount_inc CONFTEST: is_export_symbol_gpl_refcount_dec_and_test CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-frontend.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-instance.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-acpi.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-chrdev.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-cray.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-dma.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-gvi.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-i2c.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-mempool.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-mmap.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-p2p.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-pat.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-procfs.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-usermap.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-vm.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-vtophys.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-mlock.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-pci.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-registry.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-usermap.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-modeset-interface.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-pci-table.o /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘os_get_current_time’:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:434:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration] do_gettimeofday(&tm); ^~~~~~~~~~~~~~~ efi_gettimeofday /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: At top level:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1669:5: error: unknown type name ‘ipmi_user_t’ ipmi_user_t p_user; // ptr to ipmi_msghandler user structure ^~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1678:5: error: unknown type name ‘ipmi_user_t’; did you mean ‘pci_power_t’? ipmi_user_t user, ^~~~~~~~~~~ pci_power_t /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘os_ipmi_connect’:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1750:66: error: passing argument 4 of ‘ipmi_create_user’ from incompatible pointer type [-Werror=incompatible-pointer-types] err_no = ipmi_create_user(devIndex, &nv_ipmi_hndlrs, p_priv, &p_priv->p_user); ^ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:111:5: note: expected ‘struct ipmi_user ’ but argument is of type ‘int *’ int ipmi_create_user(unsigned int if_num, ^~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1762:35: warning: passing argument 1 of ‘ipmi_set_gets_events’ makes pointer from integer without a cast [-Wint-conversion] err_no = ipmi_set_gets_events(p_priv->p_user, 0); ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:255:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_set_gets_events(struct ipmi_user *user, bool val); ^~~~~~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1771:14: error: implicit declaration of function ‘nv_ipmi_set_my_address’; did you mean ‘ipmi_set_my_address’? [-Werror=implicit-function-declaration] err_no = nv_ipmi_set_my_address(p_priv->p_user, myAddr); ^~~~~~~~~~~~~~~~~~~~~~ ipmi_set_my_address /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1788:32: warning: comparison between pointer and integer if (p_priv->p_user != NULL) ^~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1790:35: warning: passing argument 1 of ‘ipmi_destroy_user’ makes pointer from integer without a cast [-Wint-conversion] ipmi_destroy_user(p_priv->p_user); ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:124:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_destroy_user(struct ipmi_user *user); ^~~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘os_ipmi_disconnect’:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1811:23: warning: passing argument 1 of ‘ipmi_destroy_user’ makes pointer from integer without a cast [-Wint-conversion] ipmi_destroy_user(p_priv->p_user); ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:124:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_destroy_user(struct ipmi_user *user); ^~~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘_os_ipmi_send_cmd’:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1870:35: warning: passing argument 1 of ‘ipmi_request_settime’ makes pointer from integer without a cast [-Wint-conversion] err_no = ipmi_request_settime(p_priv->p_user, &tx_addr.i_addr, ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:166:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_request_settime(struct ipmi_user *user, ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.c: In function ‘nvswitch_os_snprintf_time’:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.c:1582:5: error: implicit declaration of function ‘time_to_tm’; did you mean ‘time64_to_tm’? [-Werror=implicit-function-declaration] time_to_tm(time_nsec / NVSWITCH_NSEC_PER_SEC, 0, &t); ^~~~~~~~~~ time64_to_tm /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.c: In function ‘nvlink_sleep’:
/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.c:570:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration] do_gettimeofday(&tm_aux); ^~~~~~~~~~~~~~~ efi_gettimeofday scripts/Makefile.build:284: recipe for target ‘/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.o’ failed make[2]:
[/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.o] Error 1 cc1: some warnings being treated as errors
scripts/Makefile.build:284: recipe for target ‘/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.o’ failed make[2]:
[/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.o] Error 1 cc1: some warnings being treated as errors
scripts/Makefile.build:284: recipe for target ‘/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.o’ failed make[2]:
[/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.o] Error 1 make[2]: Target ‘__build’ not remade because of errors.
Makefile:1608: recipe for target ‘_module_/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel’ failed
make[1]:
[module/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel] Error 2
make[1]: Target ‘modules’ not remade because of errors. make[1]: Leaving directory ‘/usr/src/linux-headers-5.0.0-31-generic’
Makefile:79: recipe for target ‘modules’ failed make: *
[modules] Error 2 -> Error. ERROR: An error occurred while performing the step: “Checking to see whether the nvidia kernel module was successfully built”. See /var/log/nvidia-installer.log for details. -> The command cd ./kernel; /usr/bin/make -k -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.0.0-31-generic/build" SYSOUT="/lib/modules/5.0.0-31-generic/build" failed with the following output:

make[1]: Entering directory ‘/usr/src/linux-headers-5.0.0-31-generic’ CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nv-pci-table.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.o CC [M] /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.o /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘os_get_current_time’: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:434:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration] do_gettimeofday(&tm); ^~~~~~~~~~~~~~~ efi_gettimeofday /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: At top level: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1669:5: error: unknown type name ‘ipmi_user_t’ ipmi_user_t p_user; // ptr to ipmi_msghandler user structure ^~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1678:5: error: unknown type name ‘ipmi_user_t’; did you mean ‘pci_power_t’? ipmi_user_t user, ^~~~~~~~~~~ pci_power_t /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘os_ipmi_connect’: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1750:66: error: passing argument 4 of ‘ipmi_create_user’ from incompatible pointer type [-Werror=incompatible-pointer-types] err_no = ipmi_create_user(devIndex, &nv_ipmi_hndlrs, p_priv, &p_priv->p_user); ^ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:111:5: note: expected ‘struct ipmi_user ’ but argument is of type ‘int *’ int ipmi_create_user(unsigned int
if_num, ^~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1762:35: warning: passing argument 1 of ‘ipmi_set_gets_events’ makes pointer from integer without a cast [-Wint-conversion] err_no = ipmi_set_gets_events(p_priv->p_user, 0); ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:255:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_set_gets_events(struct ipmi_user *user, bool val); ^~~~~~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1771:14: error: implicit declaration of function ‘nv_ipmi_set_my_address’; did you mean ‘ipmi_set_my_address’? [-Werror=implicit-function-declaration] err_no = nv_ipmi_set_my_address(p_priv->p_user, myAddr); ^~~~~~~~~~~~~~~~~~~~~~ ipmi_set_my_address /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1788:32: warning: comparison between pointer and integer if (p_priv->p_user != NULL) ^~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1790:35: warning: passing argument 1 of ‘ipmi_destroy_user’ makes pointer from integer without a cast [-Wint-conversion] ipmi_destroy_user(p_priv->p_user); ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:124:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_destroy_user(struct ipmi_user *user); ^~~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘os_ipmi_disconnect’: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1811:23: warning: passing argument 1 of ‘ipmi_destroy_user’ makes pointer from integer without a cast [-Wint-conversion] ipmi_destroy_user(p_priv->p_user); ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:124:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_destroy_user(struct ipmi_user *user); ^~~~~~~~~~~~~~~~~ /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c: In function ‘_os_ipmi_send_cmd’: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:1870:35: warning: passing argument 1 of ‘ipmi_request_settime’ makes pointer from integer without a cast [-Wint-conversion] err_no = ipmi_request_settime(p_priv->p_user, &tx_addr.i_addr, ^~~~~~ In file included from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/common/inc/nv-linux.h:334:0, from /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.c:15: ./include/linux/ipmi.h:166:5: note: expected ‘struct ipmi_user *’ but argument is of type ‘int’ int ipmi_request_settime(struct ipmi_user *user, ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.c: In function ‘nvswitch_os_snprintf_time’: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.c:1582:5: error: implicit declaration of function ‘time_to_tm’; did you mean ‘time64_to_tm’? [-Werror=implicit-function-declaration] time_to_tm(time_nsec / NVSWITCH_NSEC_PER_SEC, 0, &t); ^~~~~~~~~~ time64_to_tm /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.c: In function ‘nvlink_sleep’: /tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.c:570:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration] do_gettimeofday(&tm_aux); ^~~~~~~~~~~~~~~ efi_gettimeofday scripts/Makefile.build:284: recipe for target ‘/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.o’ failed make[2]:
[/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/os-interface.o] Error 1 cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target ‘/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.o’ failed make[2]: [/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/nvlink_linux.o] Error 1 cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target ‘/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.o’ failed make[2]: [/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel/nvidia/linux_nvswitch.o] Error 1 make[2]: Target ‘__build’ not remade because of errors. Makefile:1608: recipe for target ‘_module_/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel’ failed make[1]: [module/tmp/selfgz8836/NVIDIA-Linux-x86_64-410.57/kernel] Error 2 make[1]: Target ‘modules’ not remade because of errors. make[1]: Leaving directory ‘/usr/src/linux-headers-5.0.0-31-generic’ Makefile:79: recipe for target ‘modules’ failed make: * [modules] Error 2 ERROR: The nvidia kernel module was not created. ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Proper way of installing wifi drivers (rtl8822bu)

I have troubles installing drivers for my TP-LINK Archer T3U on Ubuntu 18.04.

Having found out the device ID 2357:012d, I used this repo by @Jeremy31.

Namely, I downloaded the content, cd’ed into it, did make and make install.

What to do next?

sudo dkms add ./rtl8822bu 

gives

Error! Could not find module source directory. Directory: /usr/src/.-rtl8822bu does not exist. 

How to properly install the driver?