How can I boot only 1 gig of RAM? https://askubuntu.com/questions/1565454/how-can-i-boot-only-1-gig-of-ram

I'm trying to run a program from 2001 and they've used (according to some forum) an integer to express the amount of available RAM for the installer. An error message saying "not enough memory" interrupts as soon as you start.

I have a 2 gig module but I don't want to reconfigure physically if I can just change boot settings. Maybe there's a way to limit it at runtime even.

Snap version of Visual Studio Code looks blurry on Ubuntu 24.04.4 LTS https://askubuntu.com/questions/1565453/snap-version-of-visual-studio-code-looks-blurry-on-ubuntu-24-04-4-lts

The snap version of vscode looks extremely blurred as shown in this screenshot. I'm using a Wayland session with fractional scaling at 150% on Ubuntu 24.04.4 LTS.

I've tried to use the ozone-platform-hint command line option to see if there is any use but it threw the following output along with vscode opening with the blur still there:

$ code --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.

Visual Studio Code version:

$ code --version
1.114.0
e7fb5e96c0730b9deb70b33781f98e2f35975036
x64

Snap version:

$ snap --version
snap          2.74.1
snapd         2.74.1
series        16
ubuntu        24.04
kernel        6.17.0-20-generic
architecture  amd64
How to make a C++ program output audio in somewhat realtime with libao in Ubuntu? https://askubuntu.com/questions/1565451/how-to-make-a-c-program-output-audio-in-somewhat-realtime-with-libao-in-ubuntu

OK - so I'm an extremely experienced programmer mostly on the graphics side. I've been using Linux since it was called "UNIX" but getting a simple sound buffer to play to my speakers is driving me crazy.

  • Hey - just write the data to /dev/audio! (This was good - but is obsolete.)
  • Hey - just install ALSA and it'll be easy (This might have been good - but doesn't work for me.
  • Hey - you should be using PulseAudio (Still doesn't work).

I use an nVidia graphics card - and other software has no problem producing stereo through the speakers on my HP monitors. I have two computers - one rather old which is stuck on an older Ubuntu release:

  • Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-139-generic x86_64)

And another running a recent version

  • Ubuntu 25.10 (GNU/Linux 6.17.0-19-generic x86_64)

I've been reading mountains of awesome posts on the subject and NONE of them work.

I can generate audio by piping my buffer through SOX or aplay - so I know I have the right bit rates, sample size, buffer length, stereo interleave, etc.

But I want C++ code that does it with minimal intervention.

I'm currently trying to get 'libAO' to work - and although I've copy-pasted many code snippets - they all fail when I get to "device = ao_open_live ( driver, &format, NULL ) ;" - when I get an AO_EOPENDEVICE error - which seems to be a problem that it can't open /dev/dsp - which is reasonable because it doesn't exist.

My "apt install yaddayadda" efforts have not produced said device.

void sndImage::PlayLibAO () const
{
  int               driver ;
  ao_device        *device ;
  ao_sample_format  format ;
  char *matrix = strdup ( "L,R" ) ;
  int bufferSize = GetNumFragments() * 2 ;

  // Initialize libao

           ao_initialize () ;
  driver = ao_default_driver_id () ;
  memset ( &format, 0, sizeof(format) ) ;

  format.bits        = GetBitDepth         () ;
  format.channels    = 2 ;
  format.rate        = GetSamplesPerSecond () ;
  format.byte_format = AO_FMT_NATIVE ;
//format.matrix      = matrix ;

  errno = 0 ; // Just to be sure!

  device = ao_open_live ( driver, &format, NULL ) ;

  if ( device == 0 )     // YES IT IS!!
  {
    const char *message = NULL ;

    switch ( errno )
    {
      case AO_ENODRIVER   : message = "AO: No driver corresponds to driver_id." ; break ;
      case AO_ENOTLIVE    : message = "AO: This driver is not a live output device." ; break ;
      case AO_EBADOPTION  : message = "AO: A valid option key has an invalid value." ; break ;
      case AO_EOPENDEVICE : message = "AO: Cannot open the device "
                                      " (eg: /dev/dsp can't be opened for writing)." ; break ;
      case AO_EFAIL       : message = "AO: Unspecified cause of failure." ; break ;
      default             : message = "Unknown AO error." ; break ;
    }

    fprintf ( stderr, "ERROR: ALSA Audio device open failed : %s\n", message ) ;
    ao_shutdown () ;
    assert ( false ) ;
  }

So AO_EOPENDEVICE...because no /dev/dsp...maybe.

This is quietly driving me insane!

STP traffic without bridge enabled https://askubuntu.com/questions/1565450/stp-traffic-without-bridge-enabled

I have just installed Ubuntu 24.04.4 on a laptop and connected to a wireless network without a bridge enabled, but tcpdump shows STP traffic.

Results of tcpdump -vvv -p -n stp:

tcpdump: listening on wlo1, link-type EN10MB (Ethernet), snapshot length 262144 bytes
14:24:43.726931 STP 802.1d, Config, Flags [none], bridge-id 7f00.b0:3e:51:56:46:59.8001, length 35
    message-age 0.00s, max-age 20.00s, hello-time 1.00s, forwarding-delay 2.00s
    root-id 7000.b4:ba:9d:e7:a3:79, root-pathcost 2777
Ydotool installation failure? https://askubuntu.com/questions/1565449/ydotool-installation-failure

I attempted to following the answer in How can I install and use the latest ydotool (keyboard automation tool working on Wayland) in Ubuntu 22.04?

But got the error message :

ydotool: notice: ydotoold backend unavailable (may have latency+delay issues)

How do I solve this?

Bluetooth won't turn on when USB tethering is enabled https://askubuntu.com/questions/1565446/bluetooth-wont-turn-on-when-usb-tethering-is-enabled

I am using a Baseus USB Bluetooth Adapter for my pc, and it works fine. However, when I am simultaneously connected via USB to my phone for tethering, it no longer allows me to turn on Bluetooth.

When I unplug and plug the dongle, Bluetooth apparently gets turned on, but I get a bunch of notifications saying ''Connection failed: Activation of network connection failed" (and it does not work either).

How to install tp-link Bluetooth 5.4 nano USB adapter on Ubuntu 24.04? https://askubuntu.com/questions/1565445/how-to-install-tp-link-bluetooth-5-4-nano-usb-adapter-on-ubuntu-24-04

This adapter supports Bluetooth Low Energy (BLE). It comes with drivers and software for the Windoze environment. Ubuntu 24.04 recognizes the device but it is not functional out-of-the-box. It seems to require additional software or drivers...

New printer won't print multiple copies when requested [closed] https://askubuntu.com/questions/1565444/new-printer-wont-print-multiple-copies-when-requested

Ubuntu 25.04 Desktop PC Kyocera Ecosys MA2101cwfx

I recently replaced my Kyocera printer with the above. On the previous one multiple copies was no issue.

But new printer won't do multiples of a document. I have the latest printer software from Kyocera.

Is there a fix?

How to syncronize ub calendar with Google Calendar https://askubuntu.com/questions/1565443/how-to-syncronize-ub-calendar-with-google-calendar

Want to read data from another calendar (Google) into my ubt calendar.

Any experiences?

Regards Peter

Move filesystem from bare drive to partition https://askubuntu.com/questions/1565438/move-filesystem-from-bare-drive-to-partition

I'm doing some cleanup on my drives/partitions. I have a 1TB NVMe drive that I use for my /home filesystem, but I just realized that I somehow managed to create it on the "bare" drive without creating a partition table.

In other words, I created it at /dev/nvme0n1 instead of /dev/nvme0n1p1.

I know I can use dd or rsync to create an image or backup of the drive, then wipe it, create a partition table + primary partition, then copy it back, but I'm using 900+ GB so I wanted to avoid that if possible.

Is there any way to do this without actually having to move all the data twice? Somehow leave the data exactly where it is but convert it to a partition?

This is on Ubuntu 22.04 and the filesystem is btrfs, if that matters.

Gave up waiting for root file system device error after apt-get upgrade https://askubuntu.com/questions/1565436/gave-up-waiting-for-root-file-system-device-error-after-apt-get-upgrade

Edit: Gave up on this and reinstalled. Thanks for your help!

Updated my Unbuntu 24.03 (or .04 now possibly) installation this Thursday with apt-get update && apt-get upgrade. This morning I noticed my Docker daemon was no longer running and tried a system reboot to resolve this. This has resulted in my system now no longer fully booting, showing the following:

...
Gave up waiting for root file system device.  Common problems:
  - Boot args (cat /proce/cmdline)
    - Check rootdelay= (did the system wait long enough?)
  - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/mapper/ubuntu--vg-ubuntu--lv does not exist.  Dropping to a shell!


BusyBox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

Tried mounting my main partion /dev/nvme0n1p3 but that results in:

wrong fs type, bad option, bad superblock on /dev/nvme0n1p3, missing codepage or helper program, or other error.

A lot of older posts about this with a lot of different 'solutions'. Any known problem I should know about or fixall solution for this? Any help is appreciated, thanks!

Framework 13 suddenly always starts with read-only filesystem https://askubuntu.com/questions/1565434/framework-13-suddenly-always-starts-with-read-only-filesystem

I have a Framework 13 Laptop with Ubuntu 24.04.4 that I used daily for years without issue.

The Laptop has a NVMe drive and I set it up with a full encryption with LUKS and LVM, just using the default options for this from the Ubuntu 24.04 installation.

Some days ago I ran normal package updates from the GUI, then also a Firmware update, also from the GUI, which failed with a generic error. I can't remember which packages or firmware, unfortunately.

After rebooting, all the system services fail to start: see photo of failing services

I checked for secure boot in UEFI, turning it off or on makes no difference. Ditto Fastboot. There seems to be no RAID option on this Laptop.

I can start a terminal with CTRL+ALT+F3 and log in, and the filesystem is read-only.

I can remount it with: sudo mount -o remount,rw / and it works fine. I can then start sudo systemctl start gdm.service and snapd.service and my system works normally (in fact, typing from it now). I ran all package upgrades, and successfully updated firmware this time, but the issue persists.

After a lot of wrangling with an Ubuntu USB stick, I think I am sure the NVMe drive is not damaged, I got fsck to run on all partitions without error.

All the guides/AI slop online assumes the read-only filesystem means the disk is going bad somehow but I don't know what else to check.

Also, I think the fstab looks... Wrong. What is this Flashdisk?

nails:~ $ cat /etc/fstab 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# /boot was on /dev/nvme0n1p2 during installation
UUID=ade2b99c-e8b3-49ee-9f93-ea1949e8a345 /boot           ext4    defaults        0       2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=B0FB-94D1  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/vgubuntu-swap_1 none            swap    sw              0       0
/dev/disk/by-id/usb-ACTIONS_HS_USB_FlashDisk_CA4512482ADF0FEEEE /mnt/usb-ACTIONS_HS_USB_FlashDisk_CA4512482ADF0FEEEE auto nosuid,nodev,nofail,noauto,x-gvfs-show,user 0 0

Edit to add parts of journalctl -b0 where there are red error messages, but I can't really find a smoking gun where something obviously fails before there are errors about a read-only filesystem:


Apr 04 20:54:56 nails kernel: Module hid_sensor_hub is blacklisted
...
Apr 04 20:54:56 nails systemd-random-seed[794]: Failed to remove extended attribute, ignoring: Read-only file system
...
Apr 04 20:54:57 nails kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
Apr 04 20:54:57 nails kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: No USB PD charging ports found
Apr 04 20:54:57 nails kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: Unexpected number of charge port count
Apr 04 20:54:57 nails kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: Failing probe (err:0xffffffb9)
Apr 04 20:54:57 nails kernel: cros-usbpd-charger: probe of cros-usbpd-charger.2.auto failed with error -71
Apr 04 20:54:57 nails kernel: usbcore: registered new interface driver uvcvideo

...

Apr 04 20:54:57 nails kernel: audit: type=1400 audit(1775328897.554:12): apparmor="STATUS" operation="profile_load" profile="unconfined" name="D>
Apr 04 20:54:57 nails kernel: audit: type=1400 audit(1775328897.554:13): apparmor="STATUS" operation="profile_load" profile="unconfined" name="e>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp/snap-private-tmp): Read-only file system
Apr 04 20:54:57 nails systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
Apr 04 20:54:57 nails systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats.
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm(/tmp/.X1025-lock): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm(/tmp/.X1024-lock): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp/.ICE-unix): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp/.X11-unix): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: rm_rf(/tmp): Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: fchmod() of /var/log failed: Read-only file system
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Setting access ACL "u::rwx,g::r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal failed: Read-only f>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Cannot set file attributes for '/var/log/journal', value=0x00800000, mask=0x00800000, ignoring: Re>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Setting access ACL "u::rwx,g::r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal/7c921dd0094b445caed>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Cannot set file attributes for '/var/log/journal/7c921dd0094b445caeda08f2cf86fa86', value=0x008000>
Apr 04 20:54:57 nails systemd-tmpfiles[1240]: Setting access ACL "u::rw-,g::r-x,g:adm:r--,m::r--,o::---" on /var/log/journal/7c921dd0094b445caed>
Apr 04 20:54:57 nails systemd[1]: Finished systemd-tmpfiles-setup.service - Create Volatile Files and Directories.


Hardware acceleration does not work for Intel UHD Graphics 620 (Intel NUC 8) on Ubuntu 24 https://askubuntu.com/questions/1565425/hardware-acceleration-does-not-work-for-intel-uhd-graphics-620-intel-nuc-8-on

I'm using Ubuntu 24.04.4 (with Xfce) on the Intel NUC 8 (with UHD Graphics 620 integrated GPU).

My current problem is that all browsers (Chromium and Firefox) render websites very slowly (even local sites during development). The intel_gpu_top does not show blitter or video engine usage when opening a website in browser or video in VLC player.

Please help me find the cause of the problem.

UPD: journalctl has error - "kernel: i915 0000:00:02.0: [drm] ERROR Failed to probe lspcon"

UPD: chrome://media-internals/ shows error when video playback:

VaapiVideoDecoder: failed Initialize()ing the frame pool

UPD: chrome://gpu/ shows errors (after resetting the chromium flags to default, only the first error remained):

WARNING:sandbox/policy/linux/sandbox_linux.cc:405] : InitializeSandbox() called with multiple threads in process gpu-process.
ERROR:ui/gl/egl_util.cc:92] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
ERROR:ui/gl/egl_util.cc:92] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
ERROR:gpu/command_buffer/service/gl_utils.cc:387] : [.WebGL-0x201c07ec1800]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels

UPD: FIrefox uses GPU video engine when video playback (I just missed it).

UPD: Speedometer3.1 score in Chromium is 7.11, score with --disable-gpu flag is also 6.86. So hardware acceleration definitely doesn't work.

UPD: glmark2 Score: 5136

DETAILED INFO

htop and intel_gpu_top when idle:

htop and intel_gpu_top when idle

htop and intel_gpu_top when opening website in the Chromium browser:

htop and intel_gpu_top when opening website in the Chromium browser

htop and intel_gpu_top when opening .webm (or .mp4) video in the VLC player:

htop and intel_gpu_top when opening .webm video in the VLC player

uname -a:

Linux m 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/default/grub:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

inxi -G:

Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
  Display: x11 server: X.Org v: 21.1.11 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
    v: 25.2.8-0ubuntu0.24.04.1 renderer: Mesa Intel UHD Graphics 620 (WHL GT2)

vainfo:

libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.1.0 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

glxinfo -B:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 620 (WHL GT2) (0x3ea0)
    Version: 25.2.8
    Accelerated: yes
    Video memory: 31769MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.2.8-0ubuntu0.24.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

glxheads :0:

Name: :0
  Display:     0x5cf794bf0da0
  Window:      0x5c00002
  Context:     0x5cf794c891e0
  GL_VERSION:  4.6 (Compatibility Profile) Mesa 25.2.8-0ubuntu0.24.04.1
  GL_VENDOR:   Intel
  GL_RENDERER: Mesa Intel(R) UHD Graphics 620 (WHL GT2)

journalctl -b | grep -i i915:

kernel: i915 0000:00:02.0: [drm] Found coffeelake/ult (device ID 3ea0) integrated display version 9.00 stepping N/A
kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
kernel: i915 0000:00:02.0: [drm] Using Transparent Hugepages
kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
>>> kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
kernel: i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
kernel: fbcon: i915drmfb (fb0) is primary device
kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])

sudo dmesg | grep -i -e 'huc' -e 'guc' with enable_guc=3:

[   11.620108] Setting dangerous option enable_guc - tainting kernel
[   11.623029] i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - GuC submission is N/A
[   11.742182] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/kbl_guc_70.1.1.bin version 70.1.1
[   11.742190] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/kbl_huc_4.0.0.bin version 4.0.0
[   11.769005] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[   11.769014] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[   11.769017] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled

sudo dmesg | grep -i -e 'huc' -e 'guc' with enable_guc=2:

[   10.542016] Setting dangerous option enable_guc - tainting kernel
[   10.644744] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/kbl_guc_70.1.1.bin version 70.1.1
[   10.644753] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/kbl_huc_4.0.0.bin version 4.0.0
[   10.671981] i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
[   10.671989] i915 0000:00:02.0: [drm] GT0: GUC: submission disabled
[   10.671992] i915 0000:00:02.0: [drm] GT0: GUC: SLPC disabled

sudo dmesg | grep -i i915 without changing enable_guc:

[   23.239267] i915 0000:00:02.0: [drm] Found coffeelake/ult (device ID 3ea0) integrated display version 9.00 stepping N/A
[   23.241227] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   23.299824] i915 0000:00:02.0: vgaarb: deactivate vga console
[   23.301624] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   23.304362] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   23.306559] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[   23.357015] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[   23.625872] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[   23.627398] i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
[   23.627403] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
[   23.670628] fbcon: i915drmfb (fb0) is primary device
[   23.670635] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[   23.677392] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
Why am I constantly asked to be signed into my home wifi? [duplicate] https://askubuntu.com/questions/1565062/why-am-i-constantly-asked-to-be-signed-into-my-home-wifi

I started using Ubuntu on a Dell touchscreen Chromebook nearly for one month. I bought it off of ebay because the seller described it as a windows 11 Dell touchscreen laptop. The seller never mentioned it used to be a Chromebook. When I took it out of its shipping box, I found it was a Chromebook with Windows 11. It ran windows okay, but not great. So, I intended to restore it back to a Chromebook. I found on youtube a method to first install linux and then Chrome OS. After installing Ubuntu I liked it so much, I decided to keep it.

After one month Ubuntu now says I have to sign in to my home wifi, but it also says it's connected to that wifi and works like it is connected. It does also say it is due for a firmware update. Could that be it? No other device in the house has this wifi connectivity issue. So, what is going on and how can I fix it?

Can you install Ubuntu on a Snapdragon PC? https://askubuntu.com/questions/1533193/can-you-install-ubuntu-on-a-snapdragon-pc

Can you install Ubuntu on a Snapdragon PC?

Kernel Panic after update 18.04 to 20.04 https://askubuntu.com/questions/1401493/kernel-panic-after-update-18-04-to-20-04

I've come across this problem in quite a few topics, but unfortunately the proposed solution doesn't apply. I've flawlessly upgraded from 16.04 to 18.04, but 18.04 to 20.04 failed.

kernel panic - not syncing: VFS: Unable to mount root fs on unknown - block (0,0).

It is suggested to boot a recovery kernel via the Advanced menu, but this is not available for me. I only have one choice.

Here is the screen when I press 'e'.

Grub "e" result

Do you have any suggestions about how to proceed? I'm running this via Proxmox.

Cannot access windows fonts after installing them on Ubuntu WSL https://askubuntu.com/questions/1358270/cannot-access-windows-fonts-after-installing-them-on-ubuntu-wsl

I am trying to get Microsoft Windows' Copperplate Gothic font on my Ubuntu subsystem using WSL. I followed the instructions in this link and the installation seemed to go fine. However, when I run fc-list | grep "Copperplate" I get no results. When I run fc-list | grep "New Roman" I also get no results.

How can I access my newly installed windows fonts on my Ubuntu subsystem via the command line?

Ubuntu 20.04: kernel panic for clean installation https://askubuntu.com/questions/1238832/ubuntu-20-04-kernel-panic-for-clean-installation

I'm trying to do a clean installation in my laptop Lenovo Ideapad S410p with Nvidia, actually running Ubuntu 18.04 in a dual boot with official Windows 10 with no issues.

I just created a USB bootable and trierd to run it, and after the GRUB screen I got the attached error message. I tried to edit the Ubuntu line in that grub to avoid some issues with Nvidia, but nothing worked.

[    0.312562] Initramfs unpacking failed: Decoding failed
[    0.440658] Failed to execute /init (error -2)
[    0.440722] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    0.440784] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.4.0-26-generic #30-Ubuntu
[    0.440810] Hardware name: LENOVO 20296/Lenovo IdeaPad S410p, BIOS 89CN32WW 11/22/2013
[    0.440838] Call Trace:
[    0.440854]  dump_stack+0x6d/0x9a
[    0.440869]  ? rest_init+0x30/0xb0
[    0.440885]  panic+0x101/0x2c3
[    0.440899]  ? do_execve+0x25/0x30
[    0.440914]  ? rest_init+0xb0/0xb0
[    0.440928]  kernel_init+0xfb/0x100
[    0.440943]  ret_from_fork+0x35/0x40
[    0.440985] Kernel Offset: 0x21c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    0.441028] ---[ end Kernel panic - not syncing: No working init found.  
Try passing init= option to kernel. 
See Linux Documentation/admin-guide/init.rst for guidance.
_

Due to restrictions for Covid in my country I'm in quarantine and I can't get a clean DVD.

I tested the ISO in VirtualBox and installed Ubuntu 20.04 with no issues there, but my main concern is if I need to do a distribution upgrade, would I face the same issue with 20.04?

Can I use an Android phone as webcam for an Ubuntu device? https://askubuntu.com/questions/1235731/can-i-use-an-android-phone-as-webcam-for-an-ubuntu-device

I found out that my Android phone's cam has a higher quality than the one of my PC and I'm wondering if there is a way to use my phone as a webcam for the computer. Is that possible?

USB (preferred), Bluetooth and LAN connections are all suitable as any other solution that doesn't require any expense (otherwise I would just buy a webcam), but I would prefer to use only open source software if possible.

Kernel panic when installing Ubuntu on VirtualBox https://askubuntu.com/questions/1124063/kernel-panic-when-installing-ubuntu-on-virtualbox

I get this error when attempting to install the 32-bit ISO for Ubuntu 14.04.6.

[    1.043181]  [<c1002155>] do_one_initcall+0xc5/0x200
[    1.043227]  [<c1b82248>] ? pci_xen_swiotlb_init+0x2c/0x2c
[    1.043277]  [<c1b8f1a4>] ? apic_bsp_setup+0x90/0x9a
[    1.043323]  [<c1b8f22a>] ? APIC_init_uniprocessor+0x7c/0x85
[    1.043370]  [<c1b8cc74>] ? disable_smp+0x69/0x6b
[    1.043415]  [<c1b8cfc0>] ? native_smp_prepare_cpus+0x1af/0x317
[    1.043466]  [<c1b78d84>] kernel_init_freeable+0xa1/0x1e3
[    1.043512]  [<c17886d8>] ? __schedule+0x2c8/0x7d0
[    1.043558]  [<c1782530>] kernel_init+0x10/0xe0
[    1.043601]  [<c1098761>] ? schedule_tail+0x11/0x50
[    1.043645]  [<c178c3e0>] ret_from_kernel_thread+0x38/0x4c
[    1.043688]  [<c1782520>] ? rest_init+0x70/0x70
[    1.043746] Code: c6 c1 f6 c4 04 74 32 c7 45 f0 00 00 00 00 8d 4d f0 b8 02 00
00 00 c7 45 f4 00 00 00 00 c7 45 f8 00 00 00 00 c7 45 fc 00 00 00 00 <66> 0f 38
82 01 c9 c3 8d b4 26 00 00 00 00 9c 58 8d 74 26 00 89
[    1.044407] EIP: [<c105af7a>] native_flush_tlb_global+0x3a/0x80 SS:ESP 0068:f
5209e20
[    1.045641] ---[ end trace bd7961e39927d3ad ]---
[    1.048149] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
00000b
[    1.048149]
[    1.049524] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
code=0x0000000b
[    1.049524]
Ubuntu 16.04 boot gets stuck at a purple screen https://askubuntu.com/questions/1070165/ubuntu-16-04-boot-gets-stuck-at-a-purple-screen

I'm using Ubuntu 16.04. After booting it gets stuck at a purple screen. If booting in recovery mode I get these messages

VFS: Cannot open root device "mapper/ubuntu--vg-root" or unknown-block(0,0): error -6
Please append a correct "root+" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)
CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.13.0-45-generic #50~16.04.1-Ubuntu
Hardware name: Dell Inc. Inspiron 3521/0010T1, BIOS A14 07/31/2015
Call trace:
 dump_stack+0x63/0x8b
 panic+0xe4/0x24d
 mount_block_root+0x1fd/0x2ac
 mount_root+0x38/0x3a
 prepare_namespace+0x13f/0x194
 kernel_init_freeable+0x212/0x23b
 ? rest_init+0xc0/0xc0
 kernel_init+0xe/0x101
 ret_from_fork+0x35/0x40
Kernel Offset: 0x3d000000 from 0xffffffff81000000 (relocation range: 0xffffffff8000000-0xffffffbffffff)
--[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
How to update ruby version to 2.5.1? https://askubuntu.com/questions/1026835/how-to-update-ruby-version-to-2-5-1

When I tried opening metasploit by

msfconsole

It showed an error

rbenv: version `2.5.1' is not installed (set by /opt/metasploit-framework/.ruby-version)

I tried

rbenv install rbx-2.5.1

its showing

BUILD FAILED (Ubuntu 16.04 using ruby-build 20160602-19-g0c35180)

Inspect or clean up the working tree at /tmp/ruby-build.20180421085159.19307
Results logged to /tmp/ruby-build.20180421085159.19307.log

Last 10 log lines:
Updating files in vendor/cache
Bundle complete! 5 Gemfile dependencies, 11 gems now installed.
Bundled gems are installed into `./vendor/bundle`
Checking gcc: found
Checking g++: found
Checking bison:./configure:1430:in ``': No such file or directory - bison (Errno::ENOENT)
    from ./configure:1430:in `check_tool_version'
    from ./configure:722:in `check_tools'
    from ./configure:1815:in `run'
    from ./configure:1995:in `<main>'

What to do now?

Ubuntu install from USB fails to launch after GRUB https://askubuntu.com/questions/1003739/ubuntu-install-from-usb-fails-to-launch-after-grub

Hardware specs:

System Specs

I'm attempting to install Ubuntu on the above system. Every time the installer fails to launch with either a loop or a kernel panic.

Loop:

[ 1180.080074] Modules linked in: uas usb_storage hid_generic usbhid hid amdkfd amd_iommu_v2 amdgpu i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgbit fb_sys_fops mxm_wmi drm
[ 1180.080082] CPU: 7 PID: 263 Comm: systemd-udevd Tainted: G        D    L 4.13.0-21-generic #24-Ubuntu
[ 1180.080082] Hardware name: MSI MS-7A33/X370 GAMING PRO (MS-7A33), BIOS 4.50 09/20/2017
[ 1180.080083] task: ffff8eb77f1f3740 task.stack: ffffb92b82af4000
[ 1180.080084] RIP: 0010:native_queued_spin_lock_slowpath+0x139/0x1a0
[ 1180.080084] RSP: 0018:ffffb92b82af7cc0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffff10
[ 1180.080085] RAX: 0000000000140101 RBX: ffffb92b82af7d38 RCX: 0000000000000001
[ 1180.080086] RDX: 0000000000000101 RSI: 0000000000000001 RDI: ffff8eb78101ab60
[ 1180.080086] RBP: ffffb92b82af7cc0 R08: 0000000000010101 R09: 0000000000000000
[ 1180.080087] R10: ffff8eb77f70f3e8 R11: ffff8eb781b61510 R12: ffff8eb781b61500
[ 1180.080087] R13: ffffb92b82af7ce8 R14: ffffb92b82af7d38 R15: ffff8eb78101ab60
[ 1180.080088] FS:  00007f2f4008b8c0(0000) GS:ffff8eb79edc0000(0000) knlGS:0000000000000000
[ 1180.080088] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1180.080089] CR2: 00007f2f3eddb140 CR3: 000000043f218000 CR4: 00000000003406e0
[ 1180.080089] Call Trace:
[ 1180.080091]  _raw_spin_lock+0x21/0x30
[ 1180.080092]  flock_lock_inode+0x96/0x2d0
[ 1180.080094]  locks_remove_flock+0xe7/0xf0
[ 1180.080095]  locks_remove_file+0x5b/0x140
[ 1180.080096]  __fput+0xc0/0x220
[ 1180.080097]  ____fput+0xe/0x10
[ 1180.080098]  task_work_run+0x76/0x90
[ 1180.080099]  exit_to_usermode_loop+0xc4/0xd0
[ 1180.080100]  syscall_return_slowpath+0x59/0x60
[ 1180.080101]  entry_SYSCALL_64_fastpath+0xa7/0xa9
[ 1180.080102] RIP: 0033:0x7f2f3fc62db4
[ 1180.080102] RSP: 002b:00007ffe0297fd78 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 1180.080103] RAX: 0000000000000000 RBX: 000055d5661f6d08 RCX: 00007f2f3fc62db4
[ 1180.080103] RDX: 000055d566216440 RSI: 0000000000000000 RDI: 000000000000000d
[ 1180.080103] RBP: 000055d5661f6c30 R08: 00000000ffffffff R09: 000055d56621ce00
[ 1180.080104] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d5661f6d08
[ 1180.080104] R13: 00007ffe0297fde8 R14: 000055d5661dc4c0 R15: 000000000000000c
[ 1180.080105] Code: 39 c0 74 ea 4d 85 c9 c6 07 01 74 2d 41 c7 41 08 01 00 00 00 eb 96 83 fa 01 0f 84 f4 fe ff ff 8b 07 84 c0 74 08 f3 90 8b 07 84 c0 <75> f8 b8 01 00 00 00 66 89 07 5d c3
[ 1180.141562] Modules linked in: uas usb_storage hid_generic usbhid hid amdkfd amd_iommu_v2 amdgpu i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgbit fb_sys_fops mxm_wmi dr
[ 1180.142405] CPU: 5 PID: 262 Comm: systemd-udevd Tainted: G        D    L 4.13.0-21-generic #24-Ubuntu
[ 1180.143217] Hardware name: MSI MS-7A33/X370 GAMING PRO (MS-7A33), BIOS 4.50 09/20/2017
[ 1180.144033] task: ffff8eb77f1fc5c0 task.stack: ffffb92b82a14000
[ 1180.144868] RIP: 0010:native_queued_spin_lock_slowpath+0xee/0x1a0
[ 1180.145770] RSP: 0018:ffffb92b82a17cc0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffff10
[ 1180.146590] RAX: 0000000000000000 RBX: ffffb92b82a17d38 RCX: ffff8eb79ed5cd40
[ 1180.147431] RDX: 0000000000140101 RSI: 0000000000000101 RDI: ffff8eb78101ab60
[ 1180.148278] RBP: ffffb92b82a17cc0 R08: 0000000000010000 R09: 0000000000000000
[ 1180.149134] R10: ffff8eb77f70f3e8 R11: ffff8eb781b62710 R12: ffff8eb781b62700
[ 1180.150038] R13: ffffb92b82a17ce8 R14: ffffb92b82a17d38 R15: ffff8eb78101ab60
[ 1180.150854] FS:  00007f2f4008b8c0(0000) GS:ffff8eb79ed40000(0000) knlGS:0000000000000000
[ 1180.151675] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1180.152506] CR2: 00007f2f3eddb140 CR3: 000000043f1f4000 CR4: 00000000003406e0
[ 1180.153363] Call Trace:
[ 1180.154263]  _raw_spin_lock+0x21/0x30
[ 1180.155114]  flock_lock_inode+0x96/0x2d0
[ 1180.155949]  locks_remove_flock+0xe7/0xf0
[ 1180.156803]  locks_remove_file+0x5b/0x140
[ 1180.157725]  __fput+0xc0/0x220
[ 1180.158559]  ____fput+0xe/0x10
[ 1180.159389]  task_work_run+0x76/0x90
[ 1180.160222]  exit_to_usermode_loop+0xc4/0xd0
[ 1180.161088]  syscall_return_slowpath+0x59/0x60
[ 1180.162012]  entry_SYSCALL_64_fastpath+0xa7/0xa9
[ 1180.162849] RIP: 0033:0x7f2f3fc62db4
[ 1180.163683] RSP: 002b:00007ffe0297fd78 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 1180.164535] RAX: 0000000000000000 RBX: 000055d566208768 RCX: 00007f2f3fc62db4
[ 1180.165414] RDX: 000055d5661ff970 RSI: 0000000000000000 RDI: 000000000000000d
[ 1180.166321] RBP: 000055d566208690 R08: 00000000ffffffff R09: 000055d56625f300
[ 1180.167168] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d566208768
[ 1180.168011] R13: 00007ffe0297fde8 R14: 000055d566210140 R15: 000000000000000c
[ 1180.168857] Code: f3 90 8b 37 81 fe 00 01 00 00 74 14 f9 5f ff ff ff 44 89 c0 c1 e8 10 66 87 47 02 89 c2 c1 e2 10 85 d2 75 6a 45 31 c9 eb d2 f3 90 <8b> 37 66 85 d2 75 f7 be 01 00 00 0

Kernel panic:

[   11.480495] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x0001 address=0x00000000ffe02840 flags=0x0070]
[   11.480517] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x0001 address=0x00000000ffe028c0 flags=0x0070]
[   11.480539] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x0001 address=0x00000000ffe02940 flags=0x0070]
[   11.480583] AMD-Vi: Event logged [IO_PAGE_FAULT device=22:00.0 domain=0x0001 address=0x00000000ffe029c0 flags=0x0070]
[   11.606638] AMD-Vi: Completion-Wait loop timed out
[   11.606734] BUG: unable to handle kernel paging request at 00000002ba9cffdf
[   11.606762] IP: 0x2ba9cffdf
[   11.606773] PGD 0
[   11.606774] P4D 0
[   11.606781]
[   11.606795] Oops: 0010 [#1] SMP
[   11.606808] Modules linked in: hid_logitech_dj usbhid hid uas usb_storage amdkfd amd_iommu_v2 amdgpu(+) i2c_algo_bit mxm_wmi tt
generic
[   11.607503] CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.13.0-21-generic #24-Ubuntu
[   11.607863] Hardware name: MSI MS-7A33/X370 GAMING PRO (MS-7A33), BIOS 4.00 03/20/2017
[   11.608239] task: ffff981eccef5d00 task.stack: ffffa337018e8000
[   11.608614] RIP: 0010:0x2ba9cffdf
[   11.608991] RSP: 0018:ffffa337018ebde0 EFLAGS: 00010202
[   11.609377] RAX: 00000002ba9cffdf RBX: ffff981ecec1cf40 RCX: ffff981ec1a0bfb0
[   11.609776] RDX: a959d1a530274d93 RSI: ffffa337018ebe00 RDI: ffff981ecc4a4e40
[   11.610179] RBP: ffffa337018ebe50 R08: ffff981ec0d72830 R09: 0000000000000100
[   11.610591] R10: 00000000000019ac R11: 0000000000000000 R12: ffffffff a0aa5e40
[   11.611010] R13: ffff981ecec1cf78 R14: ffffa337018ebe00 R15: ffff981eccef5d00
[   11.611439] FS:  0000000000000000(0000) GS:ffff981edec00000(0000) knlGS:0000000000000000
[   11.611874] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   11.612317] CR2: 00000002ba9cffdf CR3: 0000000054209000 CR4: 00000000003406f0
[   11.612763] Call Trace:
[   11.613210]  ? rcu_process_callbacks+0x1b1/0x4b0
[   11.613660]  __do_softirq+0xde/0x2a5
[   11.614115]  run_ksoftirqd+0x29/0x60
[   11.614574]  smpboot_thread_fn+0xed/0x160
[   11.615035]  kthread+0x125/0x140
[   11.615496]  ? sort_range+0x30/0x30
[   11.615961]  ? kthread_create_on_node+0x70/0x70
[   11.616435]  ret_from_fork+0x25/0x30
[   11.616903] Code: Bad RIP value.
[   11.617368] RIP: 0x2ba9cffdf RSP: ffffa337018ebde0
[   11.617836] CR2: 00000002ba9cffdf
[   11.618304] ---[ end trace 15938570d647bd02 ]---
[   11.618777] Kernel panic - not syncing: Fatal exception in interrupt
[   11.619276] Kernel Offset: 0x1ec00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[   11.619781] ---[ end Kernel panic - not syncing: Fatal exception in interrupt

I've tried both Ubuntu server and Lubuntu several times and remade the install USB at least once for each. I upgraded the BIOS to 7A33v45 with no change. I've tried the USB in both front and back panel USB 2.0 and USB 3.0 ports. I've verified that the USB is UEFI and FAT32.

Windows 10 Home is currently working on this system. Do you have any thoughts on ways to get the installer to actually launch such as boot options?

Touchscreen is being recognized as a mouse https://askubuntu.com/questions/961341/touchscreen-is-being-recognized-as-a-mouse

I plugged in a 3M touchscreen to my Linux PC. It appears as it recognizes it as a mouse. Here's my xinput output:

xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=13   [slave  pointer  (2)]
⎜   ↳ 3M 3M USB Touchscreen - 36955             id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=10   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=11   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                            id=14   [slave  keyboard (3)

After # modprobe -r usbtouchscreen touching device stops working.

On Windows 7 it works after installing driver from this site so I also tried to install Linux driver from here (Linux, Single Touch, 64bit). I think installation process fails as it interrupts immediately after I accept the license (with 0 exit code).

I test my touchscreen with Qt FingerPaint example (also works on Windows, doesn't work on Ubuntu). Debugging shows that multitouch input generates mouse events.

I use Ubuntu 16.04 with kernel 4.10.0-35-generic and tried both Unity and Cinnamon environments. I need this working for programming purposes.

EDIT:

Some diagnostic tools output:

# lsinput
...some other devices...
/dev/input/event12
bustype : BUS_USB
vendor  : 0x596
product : 0x1
version : 1088
name    : "3M 3M USB Touchscreen - 36955"
phys    : "usb-0000:00:14.0-3/input0"
bits ev : EV_SYN EV_KEY EV_ABS


# mtdev-test /dev/input/event12
015ee1f66c7c 00 1 014a 1
015ee1f66c7c 00 3 0000 12183
015ee1f66c7c 00 3 0001 7962
015ee1f66c7c 00 0 0000 0
015ee1f66c80 00 3 0000 12193
... etc ...

EDIT:

$ xinput list-props 12
Device '3M 3M USB Touchscreen - 36955':
    Device Enabled (143):   1
    Coordinate Transformation Matrix (145): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (268): 0
    Device Accel Constant Deceleration (269):   1.000000
    Device Accel Adaptive Deceleration (270):   1.000000
    Device Accel Velocity Scaling (271):    10.000000
    Device Product ID (262):    1430, 1
    Device Node (263):  "/dev/input/event12"
    Evdev Axis Inversion (272): 0, 0
    Evdev Axis Calibration (273):   <no items>
    Evdev Axes Swap (274):  0
    Axis Labels (275):  "Abs X" (266), "Abs Y" (267)
    Button Labels (276):    "Button Unknown" (265), "Button Unknown" (265), "Button Unknown" (265), "Button Wheel Up" (149), "Button Wheel Down" (150)
    Evdev Scrolling Distance (277): 0, 0, 0
    Evdev Middle Button Emulation (278):    0
    Evdev Middle Button Timeout (279):  50
    Evdev Third Button Emulation (280): 0
    Evdev Third Button Emulation Timeout (281): 1000
    Evdev Third Button Emulation Button (282):  3
    Evdev Third Button Emulation Threshold (283):   20
    Evdev Wheel Emulation (284):    0
    Evdev Wheel Emulation Axes (285):   0, 0, 4, 5
    Evdev Wheel Emulation Inertia (286):    10
    Evdev Wheel Emulation Timeout (287):    200
    Evdev Wheel Emulation Button (288): 4
    Evdev Drag Lock Buttons (289):  0

And evtest:

sudo evtest /dev/input/event12
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x596 product 0x1 version 0x440
Input device name: "3M 3M USB Touchscreen - 36955"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value   6684
      Min        0
      Max    16384
    Event code 1 (ABS_Y)
      Value   6185
      Min        0
      Max    16384
Properties:
Testing ... (interrupt to exit)
Event: time 1507280785.112401, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1507280785.112401, type 3 (EV_ABS), code 0 (ABS_X), value 5971
Event: time 1507280785.112401, type 3 (EV_ABS), code 1 (ABS_Y), value 6240
Event: time 1507280785.112401, -------------- SYN_REPORT ------------
Event: time 1507280785.116364, type 3 (EV_ABS), code 0 (ABS_X), value 5953
Event: time 1507280785.116364, -------------- SYN_REPORT ------------
Event: time 1507280785.118359, type 3 (EV_ABS), code 0 (ABS_X), value 5968
Event: time 1507280785.118359, -------------- SYN_REPORT ------------
# ...........
Event: time 1507280785.156333, -------------- SYN_REPORT ------------
Event: time 1507280785.158356, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1507280785.158356, -------------- SYN_REPORT ------------
How do you switch from Wayland back to Xorg in Ubuntu 17.10? https://askubuntu.com/questions/961304/how-do-you-switch-from-wayland-back-to-xorg-in-ubuntu-17-10

Some of my applications don't work on Ubuntu 17.10 Wayland. How can I switch back to Xorg?

Geany default preferences https://askubuntu.com/questions/852577/geany-default-preferences

I am trying to get Geany working with Python 3.5 and have made several changes in the Preferences menu. For instance, I changed the Preferences>Tools>Terminal setting to xterm -e "/bin/sh %c" following the Geany manual.

Is there a way to return back to default configuration on Geany ? 

Installed Ubuntu and Windows 10, redundant entries in boot menu https://askubuntu.com/questions/679591/installed-ubuntu-and-windows-10-redundant-entries-in-boot-menu

I got a computer with Windows 10. After installing Ubuntu along Windows 10 and fixing the boot sector with boot-repair, I ended up with this for the 1st time:

enter image description here

It does work when I choose the first or second to last ones, but how to delete all those redundant items?

Xubuntu 14.04 is showing up as Ubuntu in GRUB https://askubuntu.com/questions/464589/xubuntu-14-04-is-showing-up-as-ubuntu-in-grub

I decided before I commit 100% to a distro that I would dual boot Ubuntu and Xubuntu and see after some time which feels better to me. After restarting the computer for the first time I saw this screen:

enter image description here

I was confused as I saw two options for Ubuntu. I know that Xubuntu is a derivative of Ubuntu, but why is it showing up as Ubuntu (and not Xubuntu) in GRUB?

Kernel panic - possibly due to IR receiver https://askubuntu.com/questions/377042/kernel-panic-possibly-due-to-ir-receiver

I use Ubuntu 13.10 (freshly installed as 13.04 and later upgraded) on my media center, an Asrock ION 3D. Usually when I boot the computer I get the result below. After rebooting one or several times, I get a successful boot.

Knowing very little about how stuff is working under the hood of Ubuntu, I guess the problem could be related to the build-in IR receiver:

RIP [<...>] ir_raw_event_store_with_filter...

I don't care about IR capabilities since I never use the remote. I can't see an option to disable it through BIOS.

Can I somehow remove the infrared component from Ubuntu, or is my problem related to something completely different?

[   12.278268]  [<ffffffff81069ec5>] ? run_timer_softirq+0x195/0x2a0
[   12.278336]  [<ffffffff81574870>] ? centrino_target+0x370/0x370
[   12.278403]  [<ffffffff810eaab4>] handle_irq_event_percpu+0x54/0x1f0
[   12.278469]  [<ffffffff81574870>] ? centrino_target+0x370/0x370
[   12.278535]  [<ffffffff810eac9e>] handle_irq_event+0x4e/0x80
[   12.278601]  [<ffffffff810ed567>] handle_edge_irq+0x77/0x110
[   12.278668]  [<ffffffff8101657e>] handle_irq+0x1e/0x30
[   12.278733]  [<ffffffff816d796a>] do_IRQ+0x5a/0xe0
[   12.278797]  [<ffffffff816cd96d>] common_interrupt+0x6d/0x6d
[   12.278859]  <EOI>
[   12.278901]  [<ffffffff815752bb>] ? cpuidle_wrap_enter+0x5b/0xa0
[   12.279056]  [<ffffffff81575310>] cpuidle_enter_tk+0x10/0x20
[   12.279056]  [<ffffffff81574f05>] cpuidle_idle_call+0xa5/0x260
[   12.279056]  [<ffffffff8101d61f>] cpu_idle+0xaf/0x120
[   12.279056]  [<ffffffff816b7103>] start_secondary+0x1e0/0x1e5
[   12.279056] Code: 00 00 00 c7 40 6c 00 00 00 00 eb a8 66 66 66 2e 0f 1f 84 00
00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 54 53 48 89 fb 48 83 ec 08 <48> 8b 87
00 03 00 00 48 85 c0 0f 84 c9 00 00 00 80 bf 14 03 00
[   12.279056] RIP  [<ffffffffa004c953>] ir_raw_event_store_with_filter+0x13/0x1
00 [rc_core]
[   12.279056]  RSP <ffff88007fd03d88>
[   12.279056] CR2: 0000000000000300
[   12.279056] ---[ end trace 99a56d6cfa9ee961 ]---
[   12.279056] Kernel panic - not syncing: Fatal exception in interrupt
_
How do I find out which version and derivative of Ubuntu is right for my hardware in terms of minimal system requirements? https://askubuntu.com/questions/206407/how-do-i-find-out-which-version-and-derivative-of-ubuntu-is-right-for-my-hardwar

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and flavour such as:

  • Xubuntu with a lighter desktop than the usual Gnome and Unity
  • Lubuntu with the even lighter LXDE desktop

Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?