drivers – Hardware Works Well on Older Kernel – General Question

I am running 20.04 with the kernel on a 2017 iMac. I have stuck with this kernel because the two Thunderbolt displays that I have attached are instantly recognized and function perfectly. This only happens with this kernel – I have tested many others extensively.

I am starting to learn more about Linux and I anxious to upgrade my kernel to a more current one, but the Thunderbolt monitors flicker badly and never work as well as on kernel

Generally speaking, given that I know that these displays are at least capable of working perfectly on a certain kernel, should it be possible to learn what works well on that kernel and translate it to a newer one?

How would I go about doing something like this? Ideally, I would like to learn what makes my hardware work well under this older kernel and translate those fixes to a more current kernel.

Any help would be most appreciated.

Thank you

drivers – Wi-Fi Adapter Not Found

I am really new to Linux, I can connect to the internet trough Ethernet cables but it doesn’t show any Wi-Fi options. This computer used to have Windows 10 but I erased it, Secure and Fast Boot are deactivated.

Can someone help me please?

    sudo lshw -C network 

  *-network UNCLAIMED       
       description: Network controller
       product: Wireless 8265 / 8275
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 78
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: memory:fea00000-fea01fff
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 15
       serial: 18:31:bf:41:f2:96
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.8.0-48-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip= latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:28 ioport:e000(size=256) memory:fe904000-fe904fff memory:fe900000-fe903fff

drivers – Laptop keyboard typing + on its own

I am using an HP Laptop with intel core i5 (8th Generation) and 8GB RAM. My OS is Ubuntu 20.04 LTS. Recently I am facing a strange issue. Whenever I am trying to type something, my keyboard is typing ‘+’ signs on its own. And it’s kind of unstoppable. I have to repeatedly press the backspace in order to delete them but it keeps on typing. It is highly frustrating. I am unsure whether it is due to a stuck key or a faulty driver. I tried with an USB keyboard but could not understand properly, because both the embedded keyboard and external keyboard are active and therefore, it kept on typing ‘+’ as usual.

Is there any way to stop this issue? How can I change keyboard driver or at least understand what is causing this problem? And also, is there anything like keytweak which I can use on ubuntu?

drivers – Any solution to HCI reset during shutdown failed caused by Bluetooth?

I get an error on reboot from the Bluetooth driver on my system. The following messages are on my kernel log in /var/log/kern.log.

Mar 27 13:40:50 UbuntuDev kernel: (41668.511261) Bluetooth: hci0: HCI reset during shutdown failed
Mar 27 15:32:15 UbuntuDev kernel: (48353.047289) usb 3-2: reset full-speed USB device number 2 using xhci_hcd
Mar 27 15:32:15 UbuntuDev kernel: (48353.216998) Bluetooth: hci0: unexpected event for opcode 0x0500
Mar 27 15:32:17 UbuntuDev kernel: (48355.581121) Bluetooth: hci0: urb 00000000d3ac5c45 failed to resubmit (113)

I believe these timestamps below are after I rebooted, they show the fireware rev and build and my Galaxy Buds Pro being connected. Not sure if these are causing the issue but included it in case it was relevant.

Mar 27 15:34:48 UbuntuDev kernel: (48506.549734) usbcore: deregistering interface driver btusb
Mar 27 15:35:03 UbuntuDev kernel: (48521.408309) usbcore: registered new interface driver btusb
Mar 27 15:35:03 UbuntuDev kernel: (48521.412047) Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
Mar 27 15:35:40 UbuntuDev kernel: (48558.138474) input: Galaxy Buds Pro (5D52) (AVRCP) as /devices/virtual/input/input29

Anyone know how what I can do to resolve these driver errors?

drivers – (Ubuntu 20.04) How to permanently set buttons for a drawing tablet using xwacomset?

So, I recently got a HUION Q11K V2 tablet for my birthday and installed a driver from the digimend project that allows my tablet to work with the already-existing wacom driver (from my understanding). I’ve managed to program each button how I wanted through the command line, though now I’m wondering if there’s a way for me to permanently program those buttons in cases where I have to remove the USB from my laptop so that I don’t have to go through and program each individual button again through the command line?

drivers – libGL error: MESA-LOADER: failed to open i915 (search paths /usr/lib64/dri)

I switched to centos8 after my previous system got messed up because it was the only installation media I had. So I have less knowledge about centos

I wrote some SFML C++ code and when I run it it gives me this warning:

libGL error: MESA-LOADER: failed to open i915 (search paths /usr/lib64/dri)
libGL error: failed to load driver: i915

I tried it with pyglet (python) I get the same warning.
After googling about the problem, it seems like its a video driver issue

The programs work fine but I never got this warning message in my previous systems (manjaro and kubuntu).

Contents of /usr/lib64/dri

-rwxr-xr-x. 1 root root 13502080 Aug 12  2020
-rwxr-xr-x. 1 root root  8350160 Jun  8  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020

I updated my kernel to 5.4.108-1.el8.elrepo.x86_64 hoping to fix the problem, but it didn’t work.

From the contents of /usr/lib64/dri it seems like I have i965 drivers. Can I set mesa to load i965 instead of i915?
How should I fix this? Please help.

System information:

OS: CentOS Linux release 8.3.2011 x86_64 
Kernel: 5.4.108-1.el8.elrepo.x86_64 
Uptime: 37 mins 
Packages: 2012 (rpm) 
Shell: zsh 5.5.1 
Resolution: 1440x900 
DE: Xfce 4.14 
WM: Xfwm4 
WM Theme: WhiteSur-dark 
Theme: WhiteSur-dark (GTK2) 
Icons: ePapirus (GTK2), breeze-dark (GTK3) 
Terminal: xfce4-terminal 
Terminal Font: Ubuntu Mono 14 
CPU: Intel Pentium Dual E2180 (2) @ 1.382GHz 
GPU: Intel 82945G/GZ 
Memory: 1708MiB / 3486MiB 

drivers – HD Audio not working

alsamixer can only detect HDMI as an output. So I turned off HDMI Audio in the BIOS then rebooted to Ubuntu. Now the settings only shows Dummy Output. I tried alsamixeragain but it returns cannot open mixer: No such file or directory. I know this is not a hardware problem because it worked on Windows.

lspci | grep Audio

00:14.2 Audio device: Advanced Micro Devices, Inc. (AMD) FCH Azalia Controller (rev 01)

inxi -SMA

  Host: mini Kernel: 5.8.0-48-generic x86_64 bits: 64 Desktop: Gnome 3.36.4 
  Distro: Ubuntu 20.04.2 LTS (Focal Fossa) 
  Type: Desktop Mobo: MAXSUN model: MS-TZZ A88M-PVH 
  serial: <superuser/root required> UEFI (Legacy): American Megatrends 
  v: 4.6.5 date: 10/20/2020 
  Device-1: AMD FCH Azalia driver: snd_hda_intel 
  Sound Server: ALSA v: k5.8.0-48-generic

Custom Live Lubuntu Wifi Drivers

I have created a custom live disk based on the Lubuntu 20.04 LTS iso. I removed all graphical elements and any optional/extra packages using this answer.
Everything works well and boots on UEFI/Legacy perfectly, however (as expected) my wifi device is no longer appearing as an option in nmtui (wired works well). Hoping someone here knows what packages I need to reinstall or steps I need to take to get the wifi drivers back.

Weird glitch effects after installing drivers for my NVIDIA GTX 1050

So, I just made a fresh install of Ubuntu 20.04 LTS and when I went ahead and checked additional drivers, it said that I was using alternate drivers for my gpu, and so I picked the “NVIDIA driver metapackage from nvidia-driver-460 (proprietary, tested)”.

When I rebooted, GRUB worked fine, I picked ubuntu, the normal bootscreen apperared, and then, for a second or two, during the transition from the bootscreen to the login screen, there were glitches across a quarter of the screen and a black background. Then it stopped, and the login screen appeared. And when I logged in, the same glitch effects happened, and again for a second or two. And the desktop appeared. And everything else seems to be working so far.

Now I know that this is a driver issue, because it started happening after I installed the drivers from the additional drivers app. So, how can I “rollback” to the alternate drivers? (I wanna use them, because everything was working fine with them)

drivers – Black screen in Obs Studio and I don’t know exactly the cause

I need help, because I use Obs Studio for an emergency and / or to record games. When I select a window, most of the windows I select are black (except for the browser pre-installed on Linux), can be something of driver (I use the Nvidia driver and AMD processor), because I changed in configuration the Nvidia driver recommend by the system and I check the Obs, now only to appear the Firefox and own program Where I was configuring the driver, I mean, without the black screen in Obs Studio. My question whether the cause is it, or is a bug in Obs Studio and if you could help me and wait I answer When I could, I appreciate a lot.