How to tell which is the current/foremost app. Top bar indicator is gone https://askubuntu.com/questions/1564212/how-to-tell-which-is-the-current-foremost-app-top-bar-indicator-is-gone

On updating to 24 the name of the current foremost application has gone from the top bar. Hunted for a solution but not found an add-on that will do it. When running two applications side by side it's very easy to close a window in the wrong one.

problem connection to my home server through public ip address https://askubuntu.com/questions/1564209/problem-connection-to-my-home-server-through-public-ip-address

Hey i recently got an old laptop that i can use as an ubuntu server, i configured port forwarding on my router settings, i put port range 52022-52023 and the laptop's local ip address and made sure ssh is enabled on my laptop and port is configured to be 52022 and there is no firewall blocking and i got my public ip address through the command curl ifconfig.me but whenever i try to ssh into the server from an another network or ping it, it says connection timed out however it works when i'm connected on the same network as my laptop

Change the default Linux kernel for GRUB bootloader menuentry 0 in Ubuntu 24.04 https://askubuntu.com/questions/1564208/change-the-default-linux-kernel-for-grub-bootloader-menuentry-0-in-ubuntu-24-04

For some weird reason, my Ubuntu 24.04.3 has stopped booting from the default Ubuntu option in GRUB bootloader. I had to boot from a different kernel inside Advanced Options for Ubuntu. I found the problem when checking GRUB config, the menuentry and submenus have this order:

Ubuntu
Advanced Options for Ubuntu
|----Ubuntu, with Linux 6.17.0-14-generic
|----Ubuntu, with Linux 6.17.0-14-generic (recovery mode)
|----Ubuntu, with Linux 6.14.0-37-generic
|----Ubuntu, with Linux 6.14.0-37-generic (recovery mode)

I need to boot with Linux 6.14.0-37-generic kernel (it's the one that works) but the default menuentry uses the Linux 6.17.0-14-generic. I followed the advice in this question: Ubuntu 22.04 only boot normally via recovery mode and it works in a way that now GRUB selects Advanced Options for Ubuntu > Ubuntu, with Linux 6.14.0-37-generic by default. I can work with this but I was wondering if there is a way to change the kernel in the First 0 Ubuntu entry? Right now it says this:

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6c124b9f-86c1-4d04-b595-b7c125ec43cf' {
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_gpt
    insmod ext2
    search --no-floppy --fs-uuid --set=root 6c124b9f-86c1-4d04-b595-b7c125ec43cf
    linux   /boot/vmlinuz-6.17.0-14-generic root=UUID=6c124b9f-86c1-4d04-b595-b7c125ec43cf ro  quiet splash $vt_handoff
    initrd  /boot/initrd.img-6.17.0-14-generic
}

Notice how it boots from 6.17.0-14-generic. Since the /boot/grub/grub.cfg very clearly says to NOT EDIT THIS FILE I cannot figure out how I can tell GRUB to always boot from Linux 6.14.0-37-generic without following the Advanced Options entry. Any help is appreciated, thank you!

Update: I have looked at this question: How to stop using the HWE kernel and go back to the GA kernel? and followed its advise by removing the HWE kernels. But this doesn't remove the problematic 6.17.0-14-generic. The first menuentry still uses the 6.17.0-14-generic and fails to boot. I am curious if removing this specific kernel will solve the problem but I am also sort of scared if this will irreversibly break anything.

ubuntu 26.04 gnome 50 [closed] https://askubuntu.com/questions/1564206/ubuntu-26-04-gnome-50

Hi there I am using the Rackoon version. It worked wonders, but since a recent update gnome is working poorly. I can no longer donwload files or set background pictures. Is there a way to repair Gnome? Any suggestion, I am aware that this is a experimental version in work. Howeevr it is really slick and nice.

How can I get CR3 files to display thumbnails in Nautilus on Ubuntu 24.04? https://askubuntu.com/questions/1564201/how-can-i-get-cr3-files-to-display-thumbnails-in-nautilus-on-ubuntu-24-04

I am a new Ubuntu user who's having trouble getting .CR3 files to show thumbnails on Nautilus. I tried adding the appropriate MIME Type to my thumbnailer file: image/x-cr3;image/x-canon-cr3 (and several other variations pasted from a massive list of RAW photo file types). I saw that the previous question about this same issue was never answered, so I am not sure where to go. I followed the tutorial in this YouTube video.

libinput change tablet mode behavior https://askubuntu.com/questions/1564199/libinput-change-tablet-mode-behavior

I have a weird issue with a convertible (ThinkPad S230u) and Ubuntu 24.04. When it changes to tablet mode (which works fine, including autorotate) libinput disables the keyboard, touchpad and trackpad. So far, so good, but unfortunately the tablet buttons (Windows/action , Volume Up, Volume Down, and Lock screen) get disabled as well since they send their data over the keyboard interface as well.

But this means that in tablet mode the tablet is not working properly. Is there any way to edit this behavior or deactivate the disablement of the keyboard and touchpad?

Since it's a classic convertible the screen covers the palmrest anyway, so the keys can't be pressed by accident.

How to add the virtualbox repositories in 24.04 LTS? https://askubuntu.com/questions/1564191/how-to-add-the-virtualbox-repositories-in-24-04-lts

I am trying to add the Virtualbox repositories to Ubuntu 24.04.4LTS

The instructions are here.

I downloaded the key from https://www.virtualbox.org/download/oracle_vbox_2016.asc
And placed it in ~/Downloads/Virtualbox/oracle_vbox_2016.asc

I then added the key to /usr/share/keyrings/ with
sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor ~/Downloads/Virtualbox/oracle_vbox_2016.asc

So I now have /usr/share/keyrings/oracle-virtualbox-2016.gpg.

Next I have to deal with the line
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian <mydist> contrib

The GUI at 'Administration > Software & Updates` doesn't like the bit in brackets [...].

Neither does, add-apt-repository.

So now I'm trying to manually add everything to /etc/apt/sources.list.d/ubuntu.sources.

The current ubuntu.sources is

Types: deb
URIs: http://gb.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

So I'm guessing I need to add:

Types: deb
URIs: https://download.virtualbox.org/virtualbox/debian
Suites: *1
Components: *2
Signed-By: /usr/share/keyrings/oracle-virtualbox-2016.gpg

But what do I put at *1 and *2 ?

Given that the Oracle deb line ends, <mydist> contrib, do I simply put noble at *1 and contrib at *2 ?

Upgraded the WiFi card, now no WiFi at all, and won't always finish booting https://askubuntu.com/questions/1564093/upgraded-the-wifi-card-now-no-wifi-at-all-and-wont-always-finish-booting

Similar to Ubuntu 24.04 (Noble): Wi-Fi stopped working after kernel upgrade to 6.17.0-14-generic (Intel AX211 / iwlwifi), but the solution there does not work for me. As noted below, I'm on version 6.8 of the kernel, while that question is for version 6.17. Presumably, all of the solutions over there are also for 6.17, since they all boil down to the same thing that doesn't do anything for me. No change in behavior at all.


Ubuntu Studio 24.04.1 LTS (KDE 5, kernel 6.8) on a Dell Precision M6800 Mobile Workstation. It was rock-solid before, but I thought I'd upgrade the WiFi, since I found a forum post elsewhere that claimed success. So I got the exact model from that post, and swapped it in:

https://www.amazon.com/8774Mbps-Gigabit-Interface-Bluetooth-BE200HMW/dp/B0DNZS761K?th=1


Edit: Output of the Wireless Info Script is here:
https://drive.google.com/file/d/1hDamjIeDjaBPvvXzgR65BeXS4hg3Ec9n/view?usp=sharing

dmesg:
https://drive.google.com/file/d/1--iBvEnSYAVdLa33QNZh4S6fuPIyFllO/view?usp=sharing
I suspect the relevant part might be this, but I'm not sure what it means:

[    6.792669] Intel(R) Wireless WiFi driver for Linux
[    6.792777] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[    6.795777] iwlwifi 0000:03:00.0: Detected crf-id 0x1001910, cnv-id 0x1001910 wfpm id 0x80000000
[    6.795846] iwlwifi 0000:03:00.0: PCI dev 272b/00f0, rev=0x471, rfid=0x112100
[    6.822777] mc: Linux media interface: v0.10
[    6.847006] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-86.ucode failed with error -2
[    6.872835] workqueue: smp_call_on_cpu_callback hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
[    6.924924] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-85.ucode failed with error -2
[    6.975001] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-84.ucode failed with error -2
[    6.975060] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-83.ucode failed with error -2
[    6.975086] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-82.ucode failed with error -2
[    7.008101] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-81.ucode failed with error -2
[    7.008151] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-gl-b0-fm-b0-80.ucode failed with error -2
[    7.008156] iwlwifi 0000:03:00.0: no suitable firmware found!
[    7.008159] iwlwifi 0000:03:00.0: minimum version required: iwlwifi-gl-b0-fm-b0-80
[    7.008162] iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-gl-b0-fm-b0-86
[    7.008164] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Continue reading for the order of troubleshooting.


It started up just fine, but no WiFi at all. lspci said:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d4)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP104GLM [Quadro P5000 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Wi-Fi 7(802.11be) AX1775*/AX1790*/BE20*/BE401/BE1750* 2x2 (rev 1a)
11:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)

So I swapped back to the old card, same configuration as before, and it wouldn't finish booting! First time it's done that in a VERY long time! It got as far as the second splash screen, after auto-login, for loading the user's settings, and then hung there, gear spinning for far longer than it normally does.

Eventually I gave up, held the power button to force it off, took the card out, and tried to run it with no WiFi card at all. Same thing again: hung on the spinning gear after auto-login.

So I went back to the one configuration that worked - the new WiFi card - and it STILL did the exact same thing: hung on loading user settings.

Then I went into the BIOS and got this, still with the new card:

Diagnostics

System Information

Integrated NIC

Misc

Wireless Switch

Wireless Enable

After that, it finally finished logging in, in the same time that it normally takes, but I don't know how or why since I didn't change anything. Still no WiFi.

aaron@aaron-M6800:~$ ifconfig
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools
aaron@aaron-M6800:~$ sudo apt install net-tools
[sudo] password for aaron: 

...

aaron@aaron-M6800:~$ ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet ***.***.***.***  netmask ***.***.***.***  broadcast ***.***.***.***
        inet6 ****::****:****:****:****  prefixlen 64  scopeid 0x20<link>
        ether 34:e6:d7:**:**:**  txqueuelen 1000  (Ethernet)
        RX packets 143994  bytes 165365853 (165.3 MB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 97963  bytes 16432715 (16.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7800000-f7820000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6661  bytes 719614 (719.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6661  bytes 719614 (719.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

aaron@aaron-M6800:~$ sudo lshw -class network
[sudo] password for aaron: 
  *-network                 
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eno1
       version: 04
       serial: 34:e6:d7:**:**:**
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.8.0-94-lowlatency duplex=full firmware=0.13-3 ip=192.168.20.98 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:41 memory:f7800000-f781ffff memory:f783d000-f783dfff ioport:f080(size=32)
  *-network UNCLAIMED
       description: Network controller
       product: Wi-Fi 7(802.11be) AX1775*/AX1790*/BE20*/BE401/BE1750* 2x2
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 1a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:f7700000-f7703fff
aaron@aaron-M6800:~$ rfkill list all
1: dell-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: dell-bluetooth: Bluetooth
        Soft blocked: yes
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
aaron@aaron-M6800:~$ sudo dmesg | grep -i firmware
[23505.872167] audit: type=1400 audit(1771394432.473:1374): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=40061 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
aaron@aaron-M6800:~$ 

Fortunately, my home dock is wired, which is how I'm posting this, but I do need WiFi when I take it places. At this point, I'd be happy if either card worked, but of course I'd still prefer the new one. Any ideas?

How do I manually install firmware for an HP laserjet 1020 printer https://askubuntu.com/questions/1558876/how-do-i-manually-install-firmware-for-an-hp-laserjet-1020-printer

Problem

HP LaserJet 1020 fails on both Ubuntu 20.04 and 24.04 to fetch nessesary firmware. The printer requires firmware to be uploaded on every power cycle, but the automatic setup process hangs and fails.

Symptoms

  • Ubuntu's automatic printer setup hangs when printer is plugged in
  • lsusb shows ID 03f0:2b17 HP, Inc LaserJet 1020
  • usb_printerid /dev/usb/lp0 shows NO FWVER field (firmware not loaded):
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP LaserJet 1020;
  • After loading firmware on Windows then hot-swapping to Linux (without power cycle), FWVER:20051028 appears and printing works

What I've Tried on Ubuntu 24.04

Manually running sudo getweb 1020 fetches firmware (from HP FTP site).

Once This has been done, when printer is next plugged in, after a few seconds, /dev/usb/lp0 dissapears. The device still shows up in lsusb but dissapears if USB cable is plugged in and unplugged with kernel messages complaining about USB enumeration failure.

Removing firmware from where udev script expects it and loading it manually using method mentioned below does work.

What I've Tried on Ubuntu 20.04

The firmware download servers for the older getweb script are down: sudo getweb 1020 fails with "Couldn't download http://foo2zjs.rkkda.com/firmware/sihp1020.tar.gz" (domain unreachable).

1. Mirror firmware from quirinux.org

Downloaded https://www.quirinux.org/printers/sihp1020.tar.gz and copied sihp1020.img to /lib/firmware/hp/sihp1020.dl (expected location for udev script /lib/udev/hplj1020).

Result: No change, firmware not loaded.

2. Official HP Windows driver firmware

Extracted hp1020.img (128,820 bytes) from hp_LJ1020_Full_Solution-v2012_918_1_57980.exe. This file has 20051028 in header matching FWVER that appears when Windows loads it successfully.

$ hexdump -C hp1020.img | head -n 1
00000000  32 30 30 35 31 30 32 38  7f 45 4c 46 01 02 01 00  |20051028.ELF....|
#         ^^^^^^^^^^^^^^^^^^^^^^^^ = "20051028" in ASCII

Attempted manual load via CUPS USB backend:

# Get printer serial from lsusb verbose output
sudo lsusb -v -d 03f0:2b17 | grep iSerial
# Returns: iSerial 3 FN28LE3

sudo DEVICE_URI='usb://HP/LaserJet%201020?serial=FN28LE3' \
  /usr/lib/cups/backend/usb 1 1 1 1 '' hp1020.img

Result: CUPS backend writes firmware in 8KB chunks, but usb_printerid still shows no FWVER field afterward.

Note: For manual testing, I removed /lib/firmware/hp/sihp1020.dl to prevent the udev script from running automatically. When I traced the udev script's execution (/lib/udev/hplj1020), it searches for a printer matching the correct USB ID without FWVER, then uses the same CUPS USB backend command shown above to load firmware.

Questions

  1. Where can I get a working firmware file for the HP LaserJet 1020? The quirinux mirror doesn't work, and the HP Windows driver firmware doesn't load via CUPS backend.

  2. How do I properly load firmware into this printer? Direct writes to /dev/usb/lp0 and CUPS backend both fail, despite the same HP firmware working fine on Windows.

How can I use RTX5090 on 22.04? https://askubuntu.com/questions/1543488/how-can-i-use-rtx5090-on-22-04

I tried to use the RTX 5090 on Ubuntu 22.04, but I ultimately failed. I installed the graphics card driver, but the nvidia-smi command did not work. Please tell me how to use the RTX 5090 on Ubuntu 22.04. If it is not possible, let me know which version of Ubuntu supports the RTX 5090. If no current version supports it, how long do I have to wait for support?

Wireless is working but the system says the device is not in use and does not work! https://askubuntu.com/questions/1425016/wireless-is-working-but-the-system-says-the-device-is-not-in-use-and-does-not-wo

I did a clean install of Ubuntu 22.04 and during the installation I connected my wireless card to my network. At the next reboot everything was OK and the card connected. Then I launched the search for additional third-party drivers for my Nvidia graphics card. To my surprise scrolling down I saw that my model of Realtek wireless card was recognized, but under it was written "the device is not working" and and "do not use the device" was selected, but everything worked great anyway.

I attached a screenshot of the Additional Drivers tab in my Software & Updates window.

enter image description here

Is it a bug or am I the one who does not understand the meaning? Finally however I chose to use the DKMS driver.

how to enable start/stop/restart for a newly added service in Ubuntu https://askubuntu.com/questions/1350666/how-to-enable-start-stop-restart-for-a-newly-added-service-in-ubuntu

I have created a service which does some database connection and does some query. I want to know if I want to enable "service xyzservice start" or "service xyzservice stop" or restart where Do i need to make this service entry in Ubuntu? what are the steps.

Ubuntu 20.04 is stuck at a black screen before login https://askubuntu.com/questions/1343877/ubuntu-20-04-is-stuck-at-a-black-screen-before-login

My computer is stuck at a black screen with cursor before logging in. After booting into Ubuntu 20.04 nothing is working, even the cursor is not moving. It's freezing. I also tried Ctrl+Alt+F4, but it's not opening the terminal. When I restart the system and in grub menu select Advanced options for Ubuntu and select Recovery mode, the recovery mode is not working either. It's stuck. Only the old recovery mode is working. How to fix this problem?

During the OS installation I think I have selected the option to install third-party drivers, firmware, codecs, etc., but I'm not sure.

Hardware specs:

  • Intel Core i7
  • Nvidia Gtx 1060
  • 16 GB RAM
  • 1TB NVMe SSD

enter image description here

enter image description here

Ubuntu 21.04 Identifies RTX 3080 as RTX 3070 https://askubuntu.com/questions/1341226/ubuntu-21-04-identifies-rtx-3080-as-rtx-3070

I have Windows 10 and Ubuntu 21.04 configured as a dual boot. I have reached here after facing so many problems with Ubuntu 20.04, after which I followed this question to setup my current machine that is running Ubuntu 21.04: NVIDIA RTX 3080 GPU not working with Ubuntu 20.04, Kernel 5.8.0-50-generic

The current problem I am facing is that Ubuntu detects this GPU as RTX 3070 while in reality it is RTX 3080. I will be using this laptop for machine learning with TensorFlow, cuDNN, and many other libraries that are known for their troubles with mismatching versions and unforgiving compatibility matrices.

Below are some information that might be relevant

Laptop: Asus ROG Zephyrus G15

Firmware Version GA503QS.405

Graphics card:

  • Nvidia Geforce RTX 3080 laptop GPU (confirmed through MyAsus tool, windows task manager, Nvidia control Panel, and BIOS)
  • AMD Radeon Graphics

I have the following disabled from the BIOS:

  • Secure boot
  • Fast Boot
  • Asus Erp (Power Management utility that turns off the discrete GPU)
  • Asus Armory Crate (Tool that switches between integrated GPU and the discrete GPU)

ubuntu-drivers devices output

$ sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd0000249Csv00001043sd00001622bc03sc00i00
vendor   : NVIDIA Corporation
model    : GA104M [GeForce RTX 3070 Mobile / Max-Q 8GB/16GB]
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-460 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

nvidia-smi output

$ nvidia-smi
Fri May 28 16:57:28 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce RTX 308...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   50C    P0    21W /  N/A |      5MiB /  7982MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1099      G   /usr/lib/xorg/Xorg                  4MiB |
+-----------------------------------------------------------------------------+

Additional Drivers:

Additional Drivers

lshw -C display output:

$ sudo lshw -C display
[sudo] password for ahmed: 
  *-display                 
       description: VGA compatible controller
       product: GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=nvidia latency=0 mode=2560x1440 visual=truecolor xres=2560 yres=1440
       resources: iomemory:f80-f7f iomemory:fc0-fbf irq:122 memory:fb000000-fbffffff memory:f800000000-fbffffffff memory:fc00000000-fc01ffffff ioport:e000(size=128) memory:fc000000-fc07ffff
  *-display
       description: VGA compatible controller
       product: Cezanne
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:07:00.0
       version: c4
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: driver=amdgpu latency=0
       resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:55 memory:fc10000000-fc1fffffff memory:fc20000000-fc201fffff ioport:c000(size=256) memory:fc500000-fc57ffff

lspci | grep -i vga output:

$ sudo lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c4)

Interestingly both show RTX 3080, I will go ahead and ignore this until a related problem appear and will update accordingly.

External monitor through thunderbolt eGPU is not recognized by Ubuntu https://askubuntu.com/questions/1329704/external-monitor-through-thunderbolt-egpu-is-not-recognized-by-ubuntu

I just bought a Razer Core X Chroma in combination with a Gigabyte RTX 3070. These are used in combination with a HP Zbook studio which supports thunderbolt 3. I use a fresh install of Ubuntu 20.04 LTS as my operating system.

To configure the eGPU I used this tutorial .

I also searched the internet for solutions which caused me to perform the following actions.

  • I set the ‘Thunderbolt Security Level’ to ‘PCIe and DisplayPort - No Security’ in the bios.
  • In the xorg.conf file I also added ‘Option “AllowExternalGpus” “True”’ to the devices sections of the Geforce RTX 3070.
  • I use lightdm as my display manager, instead of gdm3.
  • I updated the drivers to nvidia-driver-460.

Everything seems to work fine since the eGPU is recognized by nvidia-smi:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.39       Driver Version: 460.39       CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro M1000M        Off | 00000000:01:00.0  On |                  N/A |
| N/A   54C    P5    N/A /  N/A |    449MiB /  4043MiB |     22%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 3070     Off | 00000000:3D:00.0  On |                  N/A |
|  0%   42C    P8    20W / 270W |     45MiB /  7982MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1004      G   /usr/lib/xorg/Xorg                118MiB |
|    0   N/A  N/A      1530      G   /usr/bin/gnome-shell              144MiB |
|    0   N/A  N/A      2964      G   ...AAAAAAAA= --shared-files       180MiB |
|    1   N/A  N/A      1004      G   /usr/lib/xorg/Xorg                 43MiB |
+-----------------------------------------------------------------------------+

Also the external displays which are attached with HDMI to the eGPU are recognized by NVIDIA X Server Settings.

The problem is that the external displays are showing my cursor (as a weird cross), but are not recognized as displays in the Ubuntu settings and do not show any windows. Therefore I am not able to use the external monitors.

Built-in camera not working on Ubuntu 20.04.1 https://askubuntu.com/questions/1306562/built-in-camera-not-working-on-ubuntu-20-04-1

I have this consistent problem, since Ubuntu 16... The camera on my laptop is just not working.

I have this problem since 4 years, I tried every solution google has, and i check regularly for any new solutions. nothing works!!

I currently have a fresh and clean installation of Ubuntu 20.04.1 My Laptop is a Lenovo ideapad, the camera is Easycamera

  • cheese is saying "There was an error playing video from the webcam" -

    "Failed to allocate required memory.: gstv4l2src.c(660): gst_v4l2src_decide_allocation (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin20/GstV4l2Src:v4l2src3: Buffer pool activation failed"

  • vlc is saying "v4l2 demux error: cannot start streaming: Protocol error"

  • zoom just lags on a black screen.

I also see some blinks from the led next to the camera when i try to use it. but never an image. the camera is working and valid.

Some general outputs:

  • sudo lshw
  • lsmod | grep uvcvideo
  • v4l2-ctl --list-devices
  • ls -ltrh /dev/video*
  • dmesg | grep -i camera
  • dmesg | grep -i 1-5
  • sudo v4l2-ctl -d /dev/video1 --all
  • sudo v4l2-compliance -d /dev/video1
$ sudo lshw

*-usb:2
                   description: Video
                   product: EasyCamera
                   vendor: AzureWave
                   physical id: 5
                   bus info: usb@1:5
                   version: 16.04
                   serial: 0001
                   capabilities: usb-2.00
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
$ lsmod | grep uvcvideo
uvcvideo               98304  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
videodev              237568  4 videobuf2_v4l2,v4l2loopback_dc,uvcvideo,videobuf2_common
mc                     57344  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common

because my camera is not working i am using my phone camera through Droidcam...

$ v4l2-ctl --list-devices
Droidcam (platform:v4l2loopback_dc-000):
    /dev/video0

EasyCamera: EasyCamera (usb-0000:00:14.0-5):
    /dev/video1
    /dev/video2
ls -ltrh /dev/video*
crw-rw----+ 1 root video 81, 0 Jan  9 21:02 /dev/video0
crw-rw----+ 1 root video 81, 2 Jan  9 21:02 /dev/video2
crw-rw----+ 1 root video 81, 1 Jan  9 21:02 /dev/video1
When i start my computer this is the output
$ dmesg | grep -i camera
[    2.029718] usb 1-5: Product: EasyCamera
[    2.729222] uvcvideo: Found UVC 1.00 device EasyCamera (13d3:5673)
[    2.734513] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input10

and

$ dmesg | grep -i 1-5
[    1.839392] usb 1-5: new high-speed USB device number 4 using xhci_hcd
[    2.029707] usb 1-5: New USB device found, idVendor=13d3, idProduct=5673, bcdDevice=16.04
[    2.029717] usb 1-5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    2.029718] usb 1-5: Product: EasyCamera
[    2.029720] usb 1-5: Manufacturer: AzureWave
[    2.029721] usb 1-5: SerialNumber: 0001
[    2.734513] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input10
[  488.765312] usb 1-5: USB disconnect, device number 4
[  489.148174] usb 1-5: new high-speed USB device number 6 using xhci_hcd
[  489.342853] usb 1-5: New USB device found, idVendor=13d3, idProduct=5673, bcdDevice=16.04
[  489.342856] usb 1-5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[  489.342859] usb 1-5: Product: EasyCamera
[  489.342861] usb 1-5: Manufacturer: AzureWave
[  489.342863] usb 1-5: SerialNumber: 0001

but after i try to use my camera i get repeated outputs (maybe its a clue):

 dmesg | grep -i camera
[    2.029718] usb 1-5: Product: EasyCamera
[    2.729222] uvcvideo: Found UVC 1.00 device EasyCamera (13d3:5673)
[    2.734513] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input10
[  489.342859] usb 1-5: Product: EasyCamera
[  489.348052] uvcvideo: Found UVC 1.00 device EasyCamera (13d3:5673)
[  489.353594] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input20
[  526.011437] usb 1-5: Product: EasyCamera
[  526.018596] uvcvideo: Found UVC 1.00 device EasyCamera (13d3:5673)
[  526.024153] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input21
[  576.650603] usb 1-5: Product: EasyCamera
[  576.654826] uvcvideo: Found UVC 1.00 device EasyCamera (13d3:5673)
[  576.662541] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input22
[  582.143837] usb 1-5: Product: EasyCamera
[  582.148263] uvcvideo: Found UVC 1.00 device EasyCamera (13d3:5673)
[  582.154765] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input23
$ sudo v4l2-ctl -d /dev/video1 --all
Driver Info:
    Driver name      : uvcvideo
    Card type        : EasyCamera: EasyCamera
    Bus info         : usb-0000:00:14.0-5
    Driver version   : 5.8.18
    Capabilities     : 0x84a00001
        Video Capture
        Metadata Capture
        Streaming
        Extended Pix Format
        Device Capabilities
    Device Caps      : 0x04200001
        Video Capture
        Streaming
        Extended Pix Format
Media Driver Info:
    Driver name      : uvcvideo
    Model            : EasyCamera: EasyCamera
    Serial           : 0001
    Bus info         : usb-0000:00:14.0-5
    Media version    : 5.8.18
    Hardware revision: 0x00001604 (5636)
    Driver version   : 5.8.18
Interface Info:
    ID               : 0x03000002
    Type             : V4L Video
Entity Info:
    ID               : 0x00000001 (1)
    Name             : EasyCamera: EasyCamera
    Function         : V4L2 I/O
    Flags         : default
    Pad 0x01000007   : 0: Sink
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
    Width/Height      : 1280/720
    Pixel Format      : 'MJPG' (Motion-JPEG)
    Field             : None
    Bytes per Line    : 0
    Size Image        : 1843200
    Colorspace        : sRGB
    Transfer Function : Default (maps to sRGB)
    YCbCr/HSV Encoding: Default (maps to ITU-R 601)
    Quantization      : Default (maps to Full Range)
    Flags             : 
Crop Capability Video Capture:
    Bounds      : Left 0, Top 0, Width 1280, Height 720
    Default     : Left 0, Top 0, Width 1280, Height 720
    Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 1280, Height 720, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1280, Height 720, Flags: 
Streaming Parameters Video Capture:
    Capabilities     : timeperframe
    Frames per second: 30.000 (30/1)
    Read buffers     : 0
                     brightness 0x00980900 (int)    : min=0 max=100 step=1 default=50 value=50
                       contrast 0x00980901 (int)    : min=0 max=100 step=1 default=50 value=50
                     saturation 0x00980902 (int)    : min=0 max=100 step=1 default=50 value=50
                            hue 0x00980903 (int)    : min=0 max=100 step=1 default=50 value=50
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=100 step=1 default=50 value=50
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1
                0: Disabled
                1: 50 Hz
                2: 60 Hz
      white_balance_temperature 0x0098091a (int)    : min=2500 max=6500 step=10 default=4500 value=4500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=100 step=1 default=50 value=50
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=0 value=0
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
$ sudo v4l2-compliance -d /dev/video1 
v4l2-compliance SHA: not available, 64 bits

Compliance test for uvcvideo device /dev/video1:

Driver Info:
    Driver name      : uvcvideo
    Card type        : EasyCamera: EasyCamera
    Bus info         : usb-0000:00:14.0-5
    Driver version   : 5.8.18
    Capabilities     : 0x84a00001
        Video Capture
        Metadata Capture
        Streaming
        Extended Pix Format
        Device Capabilities
    Device Caps      : 0x04200001
        Video Capture
        Streaming
        Extended Pix Format
Media Driver Info:
    Driver name      : uvcvideo
    Model            : EasyCamera: EasyCamera
    Serial           : 0001
    Bus info         : usb-0000:00:14.0-5
    Media version    : 5.8.18
    Hardware revision: 0x00001604 (5636)
    Driver version   : 5.8.18
Interface Info:
    ID               : 0x03000002
    Type             : V4L Video
Entity Info:
    ID               : 0x00000001 (1)
    Name             : EasyCamera: EasyCamera
    Function         : V4L2 I/O
    Flags         : default
    Pad 0x01000007   : 0: Sink

Required ioctls:
    test MC information (see 'Media Driver Info' above): OK
    test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
    test second /dev/video1 open: OK
    test VIDIOC_QUERYCAP: OK
    test VIDIOC_G/S_PRIORITY: OK
    test for unlimited opens: OK

Debug ioctls:
    test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
    test VIDIOC_LOG_STATUS: OK (Not Supported)

Input ioctls:
    test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
    test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
    test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
    test VIDIOC_ENUMAUDIO: OK (Not Supported)
    test VIDIOC_G/S/ENUMINPUT: OK
    test VIDIOC_G/S_AUDIO: OK (Not Supported)
    Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
    test VIDIOC_G/S_MODULATOR: OK (Not Supported)
    test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
    test VIDIOC_ENUMAUDOUT: OK (Not Supported)
    test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
    test VIDIOC_G/S_AUDOUT: OK (Not Supported)
    Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
    test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
    test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
    test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
    test VIDIOC_G/S_EDID: OK (Not Supported)

Control ioctls (Input 0):
        fail: v4l2-test-controls.cpp(216): missing control class for class 00980000
        fail: v4l2-test-controls.cpp(253): missing control class for class 009a0000
    test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: FAIL
    test VIDIOC_QUERYCTRL: OK
        warn: v4l2-test-controls.cpp(442): s_ctrl returned EILSEQ
    test VIDIOC_G/S_CTRL: OK
        warn: v4l2-test-controls.cpp(691): s_ext_ctrls returned EILSEQ
        warn: v4l2-test-controls.cpp(715): g_ext_ctrls(0) invalid error_idx 0
        warn: v4l2-test-controls.cpp(766): s_ext_ctrls returned EILSEQ
        warn: v4l2-test-controls.cpp(782): error_idx should be equal to count
        warn: v4l2-test-controls.cpp(803): error_idx should be equal to count
        fail: v4l2-test-controls.cpp(808): doioctl(node, VIDIOC_G_EXT_CTRLS, &ctrls)
    test VIDIOC_G/S/TRY_EXT_CTRLS: FAIL
    test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
    test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
    Standard Controls: 11 Private Controls: 0

Format ioctls (Input 0):
    test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
        warn: v4l2-test-formats.cpp(1327): S_PARM is supported but doesn't report V4L2_CAP_TIMEPERFRAME
        fail: v4l2-test-formats.cpp(1229): node->has_frmintervals && !cap->capability
    test VIDIOC_G/S_PARM: FAIL
    test VIDIOC_G_FBUF: OK (Not Supported)
    test VIDIOC_G_FMT: OK
    test VIDIOC_TRY_FMT: OK
        warn: v4l2-test-formats.cpp(976): Could not set fmt2
    test VIDIOC_S_FMT: OK
    test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
    test Cropping: OK (Not Supported)
    test Composing: OK (Not Supported)
    test Scaling: OK (Not Supported)

Codec ioctls (Input 0):
    test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
    test VIDIOC_G_ENC_INDEX: OK (Not Supported)
    test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

Buffer ioctls (Input 0):
    test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
    test VIDIOC_EXPBUF: OK
        fail: v4l2-test-buffers.cpp(1833): ret != EINVAL && ret != EBADR && ret != ENOTTY
    test Requests: FAIL

Total for uvcvideo device /dev/video1: 45, Succeeded: 41, Failed: 4, Warnings: 8

I can provide more necessary info..

Thanks for any pointers or solutions.

Fullscreen games are showing the title bar https://askubuntu.com/questions/1298941/fullscreen-games-are-showing-the-title-bar

A few days ago, most full screen games launched via Steam began showing the title bar no matter what settings I have configured. I am not sure what would have changed to cause this to start happening. It seems that games running with Proton work as expected, but games with native Linux clients show the title bar.

Screenshot of example

I am running a 3 monitor set up (left=1920x1080, center=3840x2160, right=3840x2160) running with a GeForce RTX 2070 Super on the Nvidia v455 drivers.

:~$ xrander

Screen 0: minimum 8 x 8, current 9600 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+451 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1440x576      50.00  
   1440x480      59.94  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.93    59.94  
DP-2 connected primary 3840x2160+1920+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   2560x1440     59.95  
   1920x1080     60.00    59.94  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1152x864      59.96  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 3840x2160+5760+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   2560x1440     59.95  
   1920x1080     60.00    59.94  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1152x864      59.96  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-5 disconnected (normal left inverted right x axis y axis)
USB-C-0 disconnected (normal left inverted right x axis y axis)

As mentioned, a few days ago I was able to run games full screen as expected. Things I've tried:

  • Downgrading the nvidia drivers to version 450
  • Launching with the '-fullscreen' launch option
  • Setting nvidia_drm modeset=1
  • Forcing Composition Pipeline
  • Enabling 'auto-hide dock' as suggested by RingGamesCompany

I am out of ideas. If anyone with more experience than I has any ideas, or if there's any additional information I can supply, I'm happy to do so.

Brightness, screen resolution and graphics card issues with Ubuntu 18.04 https://askubuntu.com/questions/1291944/brightness-screen-resolution-and-graphics-card-issues-with-ubuntu-18-04

I'm new to Ubuntu 18.04 LTS. I found a lot of problem in it after installation. Not a major problem, but I wish to rectify them.

Brightness problem:
I tried to change the brightness using keyboard hotkeys and the slider in the top of the screen. Both are not working. I tried to change grub by GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" but it does worked for me

Screen Resolution:
In the settings it doesnt show any options. The only option it shows is 1024x786(4:3). I'm using a 15.6" Laptop. I'm attaching a screenshot for reference

screenshot

Graphics card:
I have an Nvidia GeForce Gtx 1650Ti dedicated graphics card. I also installed the latest 450 graphics driver.

Driver installed:

driver installed

Graphics details:

Graphics details

When I use gazebo I can feel it is very slow while using like adding new world, so I checked the system details it shows System Config.

System Config

I tried different solution provided in internet nothing worked.

I'm using an HP Pavilion gaming laptop 15-ec1050AX/

Please provide me a solution to resolve these issues you can reach me through my email bupeshkam@gmail.com .

ubuntu 20.04 desktop does not shut down https://askubuntu.com/questions/1288915/ubuntu-20-04-desktop-does-not-shut-down

I am running ubuntu 20.04 on an old HP desktop. it works really well except when I shut down (sudo poweroff), it is hung displaying an ubuntu logo. I tried to follow a few related threads but no luck.

I had run other flavors of linux on the same desktop in the past, for example proxmox and it used to shutdown properly.

Am I missing something?

References,

Ubuntu 18.04 stuck at shutdown ubuntu won't shutdown or freezes at splash screen

Can't suspend my computer with Ubuntu 18.04 https://askubuntu.com/questions/1189549/cant-suspend-my-computer-with-ubuntu-18-04

I upgraded my linux distribution recently from 16.04 LTS to 18.04 LTS and I can't suspend my computer anymore.

At first the button didn't even appear on the nav bar (Gnome related problem), so I installed the suspend button extension provided here: https://extensions.gnome.org/extension/826/suspend-button/ and now I can see the || (pause) button as desired. But this simply shut down my computer instead of suspending it.

I tried to manually close my laptop screen, but this also shut down my computer when it used to suspend it with Ubuntu 16.04.

I finally tried to deal with it with the terminal:

sudo pm-suspend # but shut down my computer as well   
sudo pm-suspend-hybrid # but just doesn't work (the screen turns black, but the computer keeps working, the fan being noisy)

As I resized my partitions while upgrading from 16 LTS to 18.04 LTS, I'm wondering if the problem could possibly come from there(Maybe I did something wrong?). Here is a screenshot of my hard drives configuration (In particular I don't understand why there is a star present in the Boot column in the sda1 row when my Ubuntu is installed on sda5.

This is quite annoying for me being forced to shutdown my computer every time I go for a break.

Boot/hard drive configuration:

jb@jbcomp:~$ sudo fdisk -l
[sudo] password for jb:
Disk /dev/sda: 256,2 GiB, 275064201216 bytes, 537234768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x089c1304

Device     Boot      Start       End   Sectors   Size Id Type
/dev/sda1  * 2048  15624191  15622144   7,5G 82 Linux swap / Solaris
/dev/sda2         15626238 537233407 521607170 248,7G  5 Extended
/dev/sda5         15626240 104869887  89243648  42,6G 83 Linux
/dev/sda6        104871936 537233407 432361472 206,2G 83 Linux


Disk /dev/sdb: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I checked the Tweaks option and "Suspend when laptop lid is closed" is on so the problem doesn't come from there.

enter image description here

I tried to switch back to unity as advised but the problem still persists. Suspend button simply shutdown the computer whether I'm using Gnome or Unity.

EDIT3: I noticed that the pm-suspend command generate a .crash file when executed (I guess this one is generated during the few seconds between the execution of the command and the shutdown of my computer) Here is the report on a drive .txt file (was not too sure how to share it with you as it is really long) https://drive.google.com/file/d/1mwWwlCmOMJ05Dw9aiWC-X5pZ0hWWy_Rf/view?usp=sharing

EDIT4: I'vs got some new stuff. I changed my GPU driver from a proprietary NVIDIA driver to X org X server (cf screenshot) and now suspend is working again. I'm not really sure if I will be able to use my GPU with this open source driver but at least I have identified a possible root cause of the problem. I tried sudo systemctl hibernate and it still doesn't work though but at least suspend is back to normal.

GPU driver changes

EDIT5: I tried all the nvidia drivers available on the GUI software&updates panel and one of them let me suspend my laptop without any trouble (the 390 one cf screenshot) enter image description here

What's up with the Nvidia driver? Why is hibernate still not working?

How do I keep the icon of a program on the taskbar even after opening it? https://askubuntu.com/questions/1138908/how-do-i-keep-the-icon-of-a-program-on-the-taskbar-even-after-opening-it

I reinstalled Kubuntu and during my previous installation it didn't give me any problems. Now, when I pin a program (say chromium) to the taskbar right next to the "start" button the pinned icon disappears once I click to open chromium. The thing is I don't want it to disappear because I would sometimes like to quickly open a new window by reclicking the pinned chromium icon on my taskbar but unfortunately it disappears when I first click to open it. It reappears again once I close chromium again. Thank you!

Reverting to nouveau in ubuntu 18.04 doesn't work as expected https://askubuntu.com/questions/1073569/reverting-to-nouveau-in-ubuntu-18-04-doesnt-work-as-expected

Since I had driver problems with nouveau on my Thinkpad (flickering external monitor on docking station) I switched to nvidia-390 and also to nvidia-396 both without success (didn't even recognize the external screen on docking station).

Now I want to switch back to nouveau since then at least the external monitor worked if I connect it via mini-dp.

However I cannot switch back anymore. I did the following steps:

  • sudo apt-get purge '*-nvidia-*'
  • removed /etc/modprobe.d/blacklist-nouveau.conf (which I created when installing nvidia)
  • sudo update-initramfs -u
  • sudo reinstall xserver-xorg-core libgl1-mesa-glx xserver-xorg-video-nouveau
  • There was no /etc/X11/xorg.conf to remove or to modify
  • reboot

However then lspci -nnk | grep -iA2 vga returns that

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel modules: nvidiafb, nouveau

I.e. additionally to nouveau there seems to be nvidiafb active. Then I tried to blacklist nvidiafb without success.

I also tried to disable framebuffer as described in the arch wiki also without success.

The problem is that this configuration doesn't recognize any external monitor even on mini-dp. I just realized that even VGA doesn't work.

Any idea of how I can make it work?

Are there any settings or files I should check to diagnose the cause of the problem?

rtcwake: write error https://askubuntu.com/questions/1026609/rtcwake-write-error

I'm trying to send my system to sleep using e.g.

rtcwake -v -m disk -s 60

and receive the following output

rtcwake: RTC wird als UTC interpretiert
UTC wird verwendet.
    delta   = 1
    tzone   = 0
    tzname  = UTC
    systime = 1524206927, (UTC) Fri Apr 20 06:48:47 2018
    rtctime = 1524206926, (UTC) Fri Apr 20 06:48:46 2018
Alarm 0, sys_time 1524206927, rtc_time 1524206926, Sekunden 60
rtcwake: wakeup from "disk" using /dev/rtc0 at Fri Apr 20 06:49:47 2018
suspend mode: disk; suspending system
rtcwake: write error

The system seems to start entering the suspend mode but returns back immediately. I'm running Ubuntu 16.04.4 LTS (GNU/Linux 4.13.0-38-generic x86_64). Are there any details, that would help to find the root cause of the problem (dmesg output, /var/log/syslog, ...)?

Thanks in advance,

Bernd

Can't boot after resizing/creating a partition https://askubuntu.com/questions/1007218/cant-boot-after-resizing-creating-a-partition

I resized a partition and created a new one, with gparted on a ubuntu installation cd, to host LFS. When i rebooted, the installation would stop in a purple screen and go no further. After looking for possible solutions I found a work-around that lets me boot to ubuntu. I open a shell in advanced options during boot mode, and write: "mount -o remount,rw /" This lets me get to ubuntu, but it is lost on reboot. I used boot-repair but the problem persists. Below is log from boot-repair: http://paste.ubuntu.com/p/rPTgGBCbYk/

I'm running ubuntu 16.04

Any help would be greatly appreciated

Screen tearing issue on Ubuntu 16.04 https://askubuntu.com/questions/928027/screen-tearing-issue-on-ubuntu-16-04

I have recently installed Ubuntu 16.04 on my Laptop (HP 15-AU171TX) using dual boot grub menu. The issue is I am experiencing screen tearing and everything moving too slow on the screen.

Issue

I believe the issue is that Ubuntu is not recognizing my Intel graphics card and due to this can not render stuff properly.

Some Details

Ubuntu details section is showing Graphics Gallium 0.4 on llvmpipe.

enter image description here

This is most probably because in the Additional Drivers section the wrong Nvidia driver is selected, but if I update or choose any other Nvidia driver, my Ubuntu gets stuck in a login loop after booting.

enter image description here

I have tried installing xorg-video-intel, but it didn't work.

sudo apt-get update
sudo apt-get install --reinstall xserver-xorg-video-intel xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg

I have tried installing mesa-utils, but didn't work

sudo apt-get update
sudo apt-get install mesa-utils

I have tried installing different versions of Nvidia drivers, but no gain. The login screen gets stuck in a login loop for most of them.

One Possible Solution

One suggestion that I haven't tried is upgrade kernel to 4.9. I am not sure it will work or not and the answer posted is neither accepted and doesn't have many upvotes.

How can I copy&paste from the host to a KVM guest? https://askubuntu.com/questions/858649/how-can-i-copypaste-from-the-host-to-a-kvm-guest

I have a QEMU/KVM virtual machine created with Virtual Machine Manager.

I would like to be able to copy text on the host and paste it into the guest, and the other way around too.

How can I share the clipboard between the host and the guest?

Ubuntu 14.10 freezes at boot after upgrading Intel graphics (xorg-xserver, etc.) https://askubuntu.com/questions/561049/ubuntu-14-10-freezes-at-boot-after-upgrading-intel-graphics-xorg-xserver-etc

For the last week I fully reinstalled Ubuntu about 4 times. Whatever I tried nothing worked: purge and reinstall ubuntu-desktop, nvidia-drivers, xorg-xserver and so on and so forth.

Messages at the moment when Ubuntu freezes (while booting):

[    4.427011] sd 6:0:0:0: [sdb] No Caching mode page found
[    4.427016] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   15.146149] [drm:ilk_display_irq_handler] *ERROR* Pipe A FIFO underrun
[   15.146838] [drm:cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A
[   15.146841] [drm:cpt_serr_int_handler] *ERROR* PCH transcoder A FIFO underrun
^[[B^[[A^[[B_

The last actions were to add ppa:xorg-edges and install the latest packages, but unfortunately it doesn't help. The result the same as before - black screen, however for now messages appear immediately after freezing.

I don't know how to solve it and the answer is proposed. I accepted it only because there are no workarounds.

Only Terminal windows appear on TightVNC https://askubuntu.com/questions/517564/only-terminal-windows-appear-on-tightvnc

I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. Here is the .vnc/xstartup:

            #!/bin/sh

            # Uncomment the following two lines for normal desktop:
             unset SESSION_MANAGER
            # exec  /etc/X11/xinit/xinitrc

            [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
            [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
            xsetroot -solid grey
            vncconfig -iconic &
            x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
            x-window-manager &
How to unlock file, locked by a process https://askubuntu.com/questions/458736/how-to-unlock-file-locked-by-a-process

The file is locked by a process, java in my case. I only want the lock to be released.

lsof | grep /home/user/workspace1

lsof

A temporary solution was to 'End Process' from 'System Monitor'. End Process But terminating java(Java Virtual Machine) would terminate all other programs using java. So how shall I release the lock held by any process. For the same purpose Windows has an application called 'Unlocker'.

Installing other fonts on wine https://askubuntu.com/questions/86335/installing-other-fonts-on-wine

Is there a way to install fonts on wine?

I'm looking to install fonts so i can use them to render text differently on various apps. Specifically myriad.