GPU hang on Intel Alder Lake Xe (i915) with Chrome and VMware 3D accelerated under Ubuntu 24.04.4 https://askubuntu.com/questions/1564036/gpu-hang-on-intel-alder-lake-xe-i915-with-chrome-and-vmware-3d-accelerated-und

Hï,

I encountered GPU hang issues on Ubuntu 24.04.4 with an Intel Alder Lake Iris Xe (GT2) GPU. This affects both Chrome (GPU compositing) and VMware Workstation (3D accelerated graphics), and may impact other applications that use hardware graphics acceleration. Cela m'est arrivé après une mise à jour de mon PC ce matin, et quel mauvaise surprise d'être tombé pile au moment ou ubuntu 24.04.4...

At first, I thought this was related to a kernel update, but it wasn’t, since I kept the same kernel. My reasoning led me to believe it was likely related to a graphics driver… I’m far from an expert in this area, but I’ve summarized some information here that I hope will help others who might be in the same situation.

System and GPU info

uname -a
# Linux computer 6.11.0-29-generic

lspci -k | grep -A 3 VGA
# 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] (rev 0c)
#     Subsystem: Dell Alder Lake-UP3 GT2 [Iris Xe Graphics]
#     Kernel driver in use: i915
#     Kernel modules: i915, xe
  • Driver: i915 (manages Xe internally)
  • Xe is the GPU architecture, not a separate driver.

Debug flow

sudo dmesg | grep -i i915

Key excerpts for Chrome:

i915 0000:00:02.0: [drm] Found ALDERLAKE_P display version 13.00
i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.36.0
i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[drm] GPU HANG: ecode 12:1:e75ffefe, in chrome [PID]
[drm] chrome[PID] context reset due to GPU hang
[drm] GPU HANG: ecode 12:1:e75ffefe, in main-mks [PID]
[drm] main-mks[PID] context reset due to GPU hang

These GPU HANG messages correspond to i915 context resets.

  • The kernel in use (6.11.0-29-generic) had been stable for several months and was not updated during my recent apt upgrade. In fact .. GPU hangs appeared after a recent the upgrade and reboot process.
  • This suggests the issue is not kernel-related, but likely related to i915/Mesa handling of Xe GPU features.

Remediation (workarounds)

Chrome:

VMware Workstation:

VMware Workstation unrecoverable error: (svga)
ISBRendererComm: Lost connection to mksSandbox (PID)
A log file is available in "/home/$HOME/vmware/<vm>.log".
You can request support using VMware support tools.

I’m not sure who to contact to get this fixed in i915 upstream, but feel free to forward this report to the relevant developers or community.

Problems with importing Firewall CA Certificate https://askubuntu.com/questions/1564035/problems-with-importing-firewall-ca-certificate

We have Sophos Firewall and need to import its CA certificate into the system’s Trusted CA store as websites give an "Untrusted Certificate Error" upon connecting to the VPN. The websites load normally after importing the same certificate in Windows machines.

Troubleshooting done so far:

  1. Copied the SSL_CA.crt file to the /usr/local/share/ca-certificates/ directory and running sudo update-ca-certificates, the output shows “1 added”

  2. Verified that the:

    • Certificate is present in: /usr/local/share/ca-certificates/

    • Certificate is a CA:

      • openssl x509 -in /usr/local/share/ca-certificates/SSL_CA.crt -text -noout --> CA:TRUE
    • Issuer is correct:

      echo | openssl s_client -connect github.com:443 -servername github.com 2>/dev/null | openssl x509 -noout -issuer
      
  3. Running quick diagnostic test using curl gave an error:

    $ curl https://google.com
    curl: (60) SSL certificate problem: self-signed certificate in certificate chain. More details here: https://curl.se/docs/sslcerts.html. 
    curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it.
    To learn more about this situation and how to fix it, please visit the web page mentioned above.
    
  4. We do not wish to bypass certificate validation, as this is not recommended:

    git config --global http.sslVerify false
    

The Workaround is to import the certificate in browser's Trusted Certificate and websites load correctly

But we face an untrusted server error in GitHub shiftkey:

GitHub Desktop cannot verify the identity of api.github.com. The certificate (*.github.com) is invalid or untrusted. This may indicate attackers are trying to steal your data.

What could be the root cause and the proper fix in this case? Because I believe the certificate is not being recognized/trusted by the system.

pulseaudio/pavucontrol on chromebook bookworm 12 for audacity [closed] https://askubuntu.com/questions/1564034/pulseaudio-pavucontrol-on-chromebook-bookworm-12-for-audacity

relative newb here on all issues linux. heres the problem; i used to use virtual cable in conjunction with audacity on windows; direct sound recording...worked a treat. im trying to set up similar on a lenovo chromebook (bookworm 12) and have had no luck pairing up pulse audio pavucontrol to do the same. i have downloaded pavu many times, via 'tarballs' and also flatpak, but it never goes to the app drawer, never an icon; its on the system but not accessible. can anyone with interminable patience suggest a few things i can try (long shot i know, but what the hell; good samaritans do exist...ya just gotta find 'em). many thanks to anyone who replies

Remote Desktop won't connect when Ubuntu PC is not connected to a screen https://askubuntu.com/questions/1564033/remote-desktop-wont-connect-when-ubuntu-pc-is-not-connected-to-a-screen

I use three PCs:

  1. A desktop PC running Ubuntu 25.10, using Wayland.

  2. A laptop running Ubuntu 24.04.

  3. A laptop running Windows 11.

I want to use Remote Desktop to connect to the PC 1 (the desktop running Ubuntu 25.10).

I use this KVM switch to switch my 24-inch screen between the three computers.

What I want to do is to have my big monitor screen attach to one of the laptops (PCs 2 or 3), and then connect from there to PC 1 using Remote Desktop.

My problem is that I can't connect using Remote Desktop to PC 1 unless the big monitor is connected to it. When I set the KVM switch to one of the laptops, there is no screen connected to the desktop (PC 1) and it doesn't allow RDP connections when that happens. It disconnects me as soon as I enter my credentials. Or if I'm using an existing RDP connection to the PC while it's displaying on the screen, it disconnects as soon as I switch my screen to another computer. Is there a setting to allow RDP connections without the screen attached?

Access Issues to Documents on Cryptomator Vault - Ubuntu 24.04 https://askubuntu.com/questions/1564029/access-issues-to-documents-on-cryptomator-vault-ubuntu-24-04

I'm using Ubuntu 24.04 and I'm encrypting all my documents via Cryptomator to upload them to a cloud service. The HDD is formated in NTFS.

The problem is that when I try to access those documents in the mounted unit or vault, I can't open either Word or Excel files, or even listen to audio documents. For example, VLC gives me the following error: "VLC is unable to open the MRL" and LibreOffice Calc shows me this error when I try to open documents: "Acces to "XXX" was denied". I've checked the permissions and they look good, actually I can modify .txt files with the Ubuntu text editor and it gives no error.

This is a problem since I cannot open my documents directly on the vault so they are are not synchronized automatically after modifying them. I have to open them in the Desktop (for instance), modify them, and then copy and paste them to the crypto vault.

Thank you in advance.

NVIDIA 590 driver breaks "Desktop sharing" https://askubuntu.com/questions/1564027/nvidia-590-driver-breaks-desktop-sharing

NVIDIA 590 drivers causes core-dump segfault at libwayland-client.so.0.22.0 when attempting to enable Ubuntu Gnome "Desktop Sharing" feature.

Ubuntu 24.04.3 LTS Glitchy Desktop Nvidia GeForce GTX 750 https://askubuntu.com/questions/1564026/ubuntu-24-04-3-lts-glitchy-desktop-nvidia-geforce-gtx-750

This is my first post and I am in need of help. I have recently dual-booted my PC with Windows 10 on one hard drive and Ubuntu on another. I managed to get Ubuntu running well, then I hopped back over to the Windows drive to check some things, then when I came back to the Ubuntu drive, the desktop was all glitchy. It was glitchy when I first tried to install Ubuntu, but fixed it, although I don't remember how. I can get Ubuntu to work in safe graphics mode (using the "nomodeset" in the GRUB boot menu), however even after trying multiple times to get the nvidia graphics drivers cleared and reinstalled, it still looks glitchy when I reboot. The glitchiness makes the desktop have a white background and the icons in the side bar all wonky. I know it is possible to get it working like it should, but how?

GParted is corrupting my live USB Ubuntu 24.04/Windows 11 dual boot https://askubuntu.com/questions/1563995/gparted-is-corrupting-my-live-usb-ubuntu-24-04-windows-11-dual-boot

I am currently running a dual boot Ubuntu 24.04 and Windows 11 setup via a live USB 3.1 drive. This setup works fine and has no issues. I had asked earlier on the best way to clone/ back up my set up and got helpful answers on ways to do it.

The GParted copy and paste method, and a Clonezilla method that involved restoring GRUB. The GParted method resulted in my new clone of Ubuntu booting fine, but Windows 11 would give me a PC needs to be repaired error and would boot loop if I tried any repair options, even with a live installation of Windows 11.

Next I tried doing a part-part clone of each partition of Windows, followed by the Vfat partition to see if this would fix it, and had no luck. Later I tried a basic disk-disk clone via Clonezilla and now Windows and Ubuntu boot fine. This surprised me as the user from this post mentioned this didn't work for them and they had to jump through hoops as well as reconfigure grub each time they did it. I did make sure to boot into a live installation of Ubuntu and removed my HDD from my computer to use GParted.

How can I use GParted so that it does not ruin my dual boot USB?

I have followed the posted method very closely, and I do not believe this to be a result of misreading instructions. I'd prefer this method, so that I can back up a single partition as opposed to cloning my entire hard drive each time a major update gets released.

Thunderbird snap v.140.7.1esr-1 fails to open attachments https://askubuntu.com/questions/1563930/thunderbird-snap-v-140-7-1esr-1-fails-to-open-attachments

On Ubuntu 24.04, thunderbird snap ver. 140.7.1esr-1 rev. 976, it is impossible to open any attachments. After reverting to the previous revision available (rev. 959) of the same version, this problem is solved.

When attempting to open a PDF attachment by clicking on it, no action occurs.

When attempting to open other attachment types, such as a TXT file, a pop-up window appears offering the option Open with: System Handler (default). The OK button is grayed out, and selecting Other… in the dropdown menu results in the appearance of a Select Application window with the message No application found for "plain text document" files.

No related errors are logged within the Error Console or in /var/log/syslog. The issue persists even when running Thunderbird in Safe Mode.

As nobody reported such an important issue yet, I guess it is related to the specific configuration of my computer. How to trace this issue?

[Edit] I was able to reproduce this issue on a fresh Ubuntu 24.04.4 installation with this Thunderbird version. I've filled a bug report: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2141754

Ubuntu Budgie, OpenRazer, and Secure Boot https://askubuntu.com/questions/1563684/ubuntu-budgie-openrazer-and-secure-boot

I recently cleared my laptop of Windows and installed Ubuntu Budgie 24.04.3 LTS. It is a 2018 Razer Blade 15 Adv. I have two problems.

  1. I installed OpenRazer, which also includes enrolling a MOK. It seems to randomly forget the MOK. It cannot load OpenRazer until I re-enroll the MOK again. Is there something that would remove the MOK automatically?

  2. Sometimes the system will lock up tight and I have to force reboot. The special key (PrtSc) to talk directly to the kernel doesn't work to reboot. I have to force power off. The special key works when not frozen. Also with this comes the MOK being removed from the boot and OpenRazer not loading. Where would I look to figure out what is causing these lock ups? I have checked the logs, but nothing jumps out.

No audio from video output from Nvidia 5090 https://askubuntu.com/questions/1552998/no-audio-from-video-output-from-nvidia-5090

I have the option to select HDMI / DisplayPort - HDA NVidia as a sound output device, but I'm not getting any sound. Using headphones works as expected.

Running Ubuntu 24.04.2, kernel version 6.14.6-061406-generic

output from nvidia-smi

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.64.03              Driver Version: 575.64.03      CUDA Version: 12.9     |
|-----------------------------------------+------------------------+----------------------+
| 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  NVIDIA GeForce RTX 5090        Off |   00000000:01:00.0  On |                  N/A |
| 30%   36C    P0             66W /  575W |    1383MiB /  32607MiB |      2%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A           11825      G   /usr/lib/xorg/Xorg                      628MiB |
|    0   N/A  N/A           12139      G   /usr/bin/gnome-shell                    373MiB |
|    0   N/A  N/A           12991      G   ...ersion=20250715-180037.629000        319MiB |
+-----------------------------------------------------------------------------------------+

Drivers were installed through the GUI, I have the following options (I've tried several at this point with no success)

Additional Drivers:

Screenshot of available NVIDIA drivers via GUI

how can I use Ubuntu 24.04 remote login for hyper-v enhanced session? https://askubuntu.com/questions/1515632/how-can-i-use-ubuntu-24-04-remote-login-for-hyper-v-enhanced-session

Trying to use Ubuntu 24.04 built-in remote login. It works :-) I can RDP to a Hyper-V based Ubuntu 24.04 guest machine from its Windows 11 host. However, when trying to connect from Windows Hyper-V Manager - I don't get an enhanced session. Seems like I need a vsocket connection vs. regular tcp connection used by RDP. Any way to change that? Do I have to install XRDP support even though Ubuntu 24.04 has native remote login support? (Enhanced session works for me on an Ubuntu 22.04 with XRDP installed on that very same Hyper-V.)

Nvidia X Server Display Configuration Prime Display https://askubuntu.com/questions/1513643/nvidia-x-server-display-configuration-prime-display

I'm using Ubuntu 24.04 with dual monitor. In the Nvidia X Server Display Configuration menu, I'm seeing a "Prime Display" as third monitor and I cannot disable or delete it. Also, when I drag my mouse to most right, pointer is not stopping on the right edge and it's acting like I have a third monitor. Could you please tell me how can I get rid of it?

PRIME Display:

Prime Display

GRUB removed after windows update https://askubuntu.com/questions/1509431/grub-removed-after-windows-update

I have a dual boot dell XPS laptop with windows and Ubuntu 22. After the latest windows update GRUB is no longer in the boot options of the BIOS. I have also tried inserting a live USB of Ubuntu 22 and running boot-repair to no avail. Here is the log link: https://paste.ubuntu.com/p/fnGZXVXfyJ/

Any help is appreciated.

Grub doesn't detect Windows 10 and os-prober shows no output (tried existing solutions) https://askubuntu.com/questions/1471899/grub-doesnt-detect-windows-10-and-os-prober-shows-no-output-tried-existing-sol

I'm facing an issue with Grub not detecting my Windows 10 installation. I have come across a similar question on this forum, but unfortunately, the suggested solutions haven't worked for me.

When I run sudo fdisk -l, the following output is displayed:

/dev/nvme0n1p1           2048    1187839   1185792   579M  7 HPFS/NTFS/exFAT
/dev/nvme0n1p2        1187840  832756596 831568757 396.5G  7 HPFS/NTFS/exFAT
/dev/nvme0n1p3      999071744 1000210431   1138688   556M 27 Hidden NTFS WinRE
/dev/nvme0n1p4      832757758  999071743 166313986  79.3G  5 Extended
/dev/nvme0n1p5 *    832757760  833808383   1050624   513M ef EFI (FAT-12/16/32)
/dev/nvme0n1p6      833810432  999071743 165261312  78.8G 83 Linux

I have already tried the following steps, as recommended in a similar question:

  • Reinstalling os-prober.
  • Updating Grub.
  • Disabling Secure Boot.

However, despite these attempts, Windows 10 is still not showing up in the Grub menu during boot.

I would greatly appreciate any further assistance or alternative solutions to resolve this issue.

Activate/recognize Thunderbolt devices on Ubuntu 22.04 https://askubuntu.com/questions/1405208/activate-recognize-thunderbolt-devices-on-ubuntu-22-04

I am having issues with Ubuntu 22.04 recognizing the thunderbolt devices I plug on the computer, which is on an MSI Z590 motherboard. The boltctl list command comes out as empty, no output. The lspci -v command hangs forever, not completing at all.

EDIT:

We've plugged Akitio Duo eGPU encasings with 2x4GB Nvidia GPUs into it. These are fine with other similar computers with Ubuntu 21.04, but it's the first time we try on this MSI Z590 with Ubuntu 22.04.

Any ideas?

How would I know if I'm using PulseAudio, ALSA, or Jack? https://askubuntu.com/questions/1292895/how-would-i-know-if-im-using-pulseaudio-alsa-or-jack

Ubuntu 20.04.1 (upgraded from Ubuntu 16.04 -> 18.04 -> 20.04 if that matters)...

I have just done default install plus gnome-session-flashback and other non-audio related packages (Gimp, Blender, etc). Aside from Yoshimi soft synthesizer, I have not intentionally played with or installed any additional audio [things], whatever PulseAudio, ALSA, Jack are.

How would I know if I'm using PulseAudio, ALSA, or Jack? For example dmesg output mentions none of the three, where else do I check?

(needed to move along this question along, as per a follow-up question in the comments)

Unable to install NVIDIA driver on laptop Lenovo Legion Y530 with a GTX 1060 6GB [duplicate] https://askubuntu.com/questions/1283502/unable-to-install-nvidia-driver-on-laptop-lenovo-legion-y530-with-a-gtx-1060-6gb

I tried to install NVIDIA driver with software and update application, adding a PPA and install the package nvidia-driver-xxx , using the installer from NVIDIA, but all of these solutions don't work. I tried 390, 435 and 450 versions and I have the same problem.

When I use the software and update application, it give me this error:

Error screenshot

When I try to use sudo apt install nvidia-driver-xxx (I tried with every version the command ubuntu-drivers devices gave me,) it says this:

Setting up libnvidia-fbc1-390:i386 (390.138-0ubuntu0.20.04.1) ...
Setting up nvidia-compute-utils-390 (390.138-0ubuntu0.20.04.1) ...
Warning! Impossible to access the home directory that you indicated (
/nonexistent) : No such file or directory.
Adding system user "nvidia-persistenced" (UID 122) ...
Adding new group "nvidia-persistenced" (GID 127) ...
Adding new user "nvidia-persistenced" (UID 122) with group
membership "nvidia-persistenced" ...
The home directory "/nonexistent" was not created.
Setting up libnvidia-cfg1-390:amd64 (390.138-0ubuntu0.20.04.1) ...
Setting up nvidia-dkms-390 (390.138-0ubuntu0.20.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another 
process: Resource temporarily unavailable
dpkg: error processing package nvidia-dkms-390 (--configure) :
installed nvidia-dkms-390 package post-installation script subprocess returned
error exit status 1
Setting up libnvidia-decode-390:amd64 (390.138-0ubuntu0.20.04.1) ...
Setting up libnvidia-decode-390:i386 (390.138-0ubuntu0.20.04.1) ...
Setting up libnvidia-gl-390:amd64 (390.138-0ubuntu0.20.04.1) ...
Setting up libnvidia-gl-390:i386 (390.138-0ubuntu0.20.04.1) ...
Setting up libnvidia-encode-390:amd64 (390.138-0ubuntu0.20.04.1) ...
Setting up libnvidia-encode-390:i386 (390.138-0ubuntu0.20.04.1) ...
dpkg: dependency problems prevent configuration of nvidia-driver-3
90 :
nvidia-driver-390 depends on nvidia-dkms-390 (<= 390.138-1) ; however :
Package nvidia-dkms-390 is not yet configured.
nvidia-driver-390 depends on nvidia-dkms-390 (>= 390.138) ; however :
Package nvidia-dkms-390 is not yet configured.

dpkg: error processing package nvidia-driver-390 (--configure) :
dependency problems - leaving unconfigured
Setting up libnvidia-ifr1-390:amd64 (390.138-0ubuntu0.20.04.1) ...
No « apport » report was created because the error message indicates an error
consecutive to a previous failure.
Setting up libnvidia-ifr1-390:i386 (390.13
8-0ubuntu0.20.04.1) ...
Setting up xserver-xorg-video-nvidia-390 (390.138-0ubuntu0.20.04.1) ...
Processing deferred actions (« triggers ») for libc-bin (2.31-0ubuntu9.1)
...
Processing deferred actions (« triggers ») for man-db (2.9.1-1) ...
Processing deferred actions (« triggers ») for initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-48-generic
I: The initramfs will attempt to resume from /dev/nvme0n1p7
I: (UUID=b35250f3-99c6-424d-8beb-d0e5b1444250)
I: Set the RESUME variable to override this.
Errors were encountered during execution :
nvidia-dkms-390
nvidia-driver-390
E: Sub-process /usr/bin/dpkg returned an error code (1)
luke@Luke-Lenovo-Legion-Y530-15ICH-1060:~$

When I try the nvidia installer (when I run it in console mode), it says:

Unable to load the 'nvidia-drm' kernel module

I try to install a prior version of the Nvidia driver 440 because I used a laptop and since driver 440, my second screen is not detected. I have a Lenovo Legion Y530 with a GTX 1060 6GB using Ubuntu 20.04 with Windows in a dual boot.

When i try sudo ubuntu-drivers autoinstall, it gave me the same error as the second screenshot.

Windows SMB shares no longer accessible in Ubuntu 19.04 https://askubuntu.com/questions/1179846/windows-smb-shares-no-longer-accessible-in-ubuntu-19-04

Upon returning from a recent trip, my Ubuntu 19.04 autofs no longer mounts the cifs Windows 10 shares. When I click the Windows 10 machine in Nautilus under Other Locations, I get the error, Unable to access location, Failed to retrieve share list from server, Network dropped connection on reset. Does this have to do with SMB v1 and some Windows update? On my android phone, the file manager could also no longer connect to the Windows 10 machine, but after I installed an SMB v2 add-on, the phone can now connect to it. In my Ubuntu smb.conf file, I added min protocol = SMB2, but that did not fix it. Is there a way to get my autofs to mount the cifs shares again? I prefer to not go the fstab route, rather I want to keep using autofs if possible.

Fans are being turned on frequently in Ubuntu 18.04 https://askubuntu.com/questions/1179387/fans-are-being-turned-on-frequently-in-ubuntu-18-04

I am using Ubuntu 18.04 with Nvidia GTx 1080Ti GPU. I am concerned because recently the fan inside my Dell Precision 7920 is being turned on frequently, even when I am running one or two tabs in Google Chrome or running some simple apps.

Though I am not running any models in GPU, but nvidia-smi gives me only 2-3% of GPU usage, and there is nothing significant I can find in the System Monitor.

System Monitor:

see the system monitor info here

Nvidia graphics driver is installed but the graphics card is not used https://askubuntu.com/questions/922961/nvidia-graphics-driver-is-installed-but-the-graphics-card-is-not-used

It seems like my Ubuntu 16.10 has successfully installed the Nvidia proprietary driver as shown in the below image.

driver installed

...however it seems like the system is not using the graphics card.

enter image description here

I am not sure what should I do from here. I followed almost every step required to use the graphics driver, but it is still not using it.

enter image description here

There should be some way to configure to use graphic card on nvidia-x server settings, but it is not showing up on my machine.

Also, the output of glxinfo clearly shows that my system is not utilizing the nvidia graphic card.

jaebum@jaebum-laptop:~$ glxinfo | grep renderer
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 

(* My system is a laptop so I am pretty sure I didn't make mistake like My drivers recognize my graphics card, but nvidia settings do not )

Results of lspci -k | grep -EA3 'VGA|3D|Display':

jaebum@jaebum-laptop:~$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    DeviceName:  Onboard IGD
    Subsystem: Micro-Star International Co., Ltd. [MSI] HD Graphics 530
    Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GM107M [GeForce GTX 960M]
    Kernel modules: nvidiafb, nouveau, nvidia_375_drm, nvidia_375
02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)

Output of dkms status:

root@jaebum-laptop:/usr/lib/x86_64-linux-gnu# dkms status
bbswitch, 0.8, 4.4.0-79-generic, x86_64: installed
bbswitch, 0.8, 4.8.0-54-generic, x86_64: installed
Nvidia driver installed but not working https://askubuntu.com/questions/910713/nvidia-driver-installed-but-not-working

I was installing cuda-8.0 for my project and followed this link, which asked me to download Nvidia Driver using .run file:
http://queirozf.com/entries/installing-cuda-tk-and-tensorflow-on-a-clean-ubuntu-16-04-install
along with which I blacklisted Nouveau Driver.
The installation was done by executing sudo service lightdm stop and then running the .run file.
Initially I faced some difficulties like login loop and black screen, but later solved them.
Now, when i try to execute commands like:
command: lspci -vnn | grep -i VGA -A 12 , gives output:

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02) (prog-if 00 [VGA controller])
    DeviceName:  Onboard IGD
    Subsystem: Dell Device [1028:0782]
    Flags: bus master, fast devsel, latency 0, IRQ 280
    Memory at d4000000 (64-bit, non-prefetchable) [size=16M]
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

command: glxinfo | grep OpenGL | grep renderer, gives the output:

OpenGL renderer string: Mesa DRI Intel(R) Kabylake GT2  

command: sudo lshw -c video, gives the output:

  *-display               
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:280 memory:d4000000-d4ffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
  *-display
       description: 3D controller
       product: GM108M [GeForce 940MX]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:d3000000-d307ffff

command: lsmod | grep nv, gives the output:

nvidia_uvm            647168  0
nvidia_drm             49152  0
nvidia_modeset        790528  1 nvidia_drm
nvidia              12144640  2 nvidia_modeset,nvidia_uvm
drm_kms_helper        167936  2 i915,nvidia_drm
drm                   368640  6 i915,nvidia_drm,drm_kms_helper

I think, the Nvidia driver is installed, but still not activated as the kernel driver.
Can someone help me figuring out the problem and how to solve it?
Please ask if any other info is needed.
BTW, driver version is NVIDIA-Linux-x86_64-375.39 on Ubuntu 16.04

Distorted window:

screenshot of distorted window

Error in LibreOffice Base Access2Base Module Application https://askubuntu.com/questions/896487/error-in-libreoffice-base-access2base-module-application

Today I've upgraded LibreOffice to 5.3.1.2 but now I have Macro's that produce an error.

I have done some programming in Base with Access2Base but now the database connection gives an error in Sub DBOpen as it does not recognize 'ThisDataBaseDocument' any more.

When I try to execute the Access2Base module 'Application' in the editor screen it gives the following error:

BASIC syntax error. Expected: )

and it stops in Function HtmlEncode, where indeed the ) is missing in line:

sOutput = sOutput & Utils._UTF8Encode(Mid(pvString, l, 1).
On startup/shutdown lists of messages are shown on screen, Ubuntu 16.04 https://askubuntu.com/questions/833696/on-startup-shutdown-lists-of-messages-are-shown-on-screen-ubuntu-16-04

A list of messages are shown in a black screen on startup/shutdown of Ubuntu 16.04.

[ 13.454231] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.454841] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.456055] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.457280] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.457666] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.458478] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.458904] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.459326] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.459771] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.460540] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[ 13.460929] systemd-journald[267]: Successfully sent stream file descriptor to service manager.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Reached target Local File Systems (Pre).
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target Local File Systems.
         Starting Run snappy firstboot setup...
         Starting Clean up any mess left by Odns-up...
         Starting LSB: AppArmor initialization...
         Starting Set console font and keymap...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Clean up any mess left by Odns-up.
         Starting Nameserver information manager...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Nameserver information manager.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Set console font and keymap.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...

How can I disable these messages from being displayed on startup/shutdown of the system?

Can't install Nvidia drivers on a 2 card laptop for Xubuntu 14.04 https://askubuntu.com/questions/616602/cant-install-nvidia-drivers-on-a-2-card-laptop-for-xubuntu-14-04

I just installed Xubuntu 14.04 on an Asus gl771j laptop. It comes with an integrated Intel graphics processor and an Nvidia 860m graphics card. When I open the Additional Drivers settings window, I get No additional drivers available.

enter image description here

I got as far as getting this information, but that's it.

Results of sudo lshw -c video:

  *-display UNCLAIMED     
       description: 3D controller
       product: GM107M [GeForce GTX 860M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:53 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)</pre>

How can I install the Nvidia drivers?

Install Ubuntu on USB stick - "error loading operating system" https://askubuntu.com/questions/489368/install-ubuntu-on-usb-stick-error-loading-operating-system

I want to install Ubuntu 14.04 on USB stick, then install some drivers and programs on it and use it when I need.

I have one USB stick with Ubuntu 14.04 that I have used to install the OS on other PCs. The second USB stick is USB 3.0. I have both of them plugged in my PC and boot from the first one.

During the installation I have formatted the USB 3.0 drive to Ext4 and install the OS on it. It took a long time (about 4 hours). Unfortunately, after restarting the PC and trying to boot from the USB 3.0 I am getting the following error:

error loading operating system

Also, I have Windows 8, Ubuntu 14.05 and Ubuntu 13.10 on my PC. I have restarted again hoping that he Ubuntu installed on the USB 3.0 will be found, but it had not been.

Could you tell what I am doing wrong?

The USB 3.0 is 8 GB.

Ubuntu 14.04 DVD drive won't work https://askubuntu.com/questions/459105/ubuntu-14-04-dvd-drive-wont-work

I just got a new DVD drive that I know works because it live boots another distribution. When I put a dvd into the drive it repeatedly tries and fails to spin up, and Ubuntu doesn't recognize that there is a dvd in the drive.

Here is the lshw output with:

No dvd in the drive:

*-cdrom
         description: DVD reader
         product: CDW/DVD TS-L462C
         vendor: TSSTcorp
         physical id: 0.0.0
         bus info: scsi@0:0.0.0
         logical name: /dev/cdrom
         logical name: /dev/sr0
         version: TO10
         capabilities: removable audio cd-r cd-rw dvd
         configuration: ansiversion=5 status=nodisc

With a dvd in the drive:

*-cdrom
         description: DVD reader
         product: CDW/DVD TS-L462C
         vendor: TSSTcorp
         physical id: 0.0.0
         bus info: scsi@0:0.0.0
         logical name: /dev/cdrom
         logical name: /dev/sr0
         version: TO10
         capabilities: removable audio cd-r cd-rw dvd
         configuration: ansiversion=5 status=nodisc

What should I do to get it running correctly?

How to install TP-Link MA180 on Ubuntu https://askubuntu.com/questions/268264/how-to-install-tp-link-ma180-on-ubuntu

I just bought the TP-Link MA180 3G Modem, and I tried to install it in Ubuntu 12.10. The problem is that the Network Manager does not detect it. I saw on the web that usb-modeswith is supposed to handle it, but I don't know how to configure it.

How to send terminal command to a TTY terminal https://askubuntu.com/questions/194293/how-to-send-terminal-command-to-a-tty-terminal

I am looking for a way to send an executed command to a TTY terminal. For example, let us say that I open the gnome-terminal and on the window I type sudo aptitude update && sudo aptitude upgrade.

How can I send this to a TTY terminal instead of working with it in the TTY7 GUI environment?

How can I configure Ubuntu/GNOME to accommodate my keyboard/mouse habits from Windows? https://askubuntu.com/questions/11893/how-can-i-configure-ubuntu-gnome-to-accommodate-my-keyboard-mouse-habits-from-wi

I've primarily used Windows, but recently switched to Ubuntu/GNOME at work.

In my Windows setup, the context menu is triggered on the release of the right mouse button; in my Ubuntu/GNOME setup, it's triggered on the press. This is causing me pain because apparently I've developed a habit in Windows of right-clicking a bit early, i.e. while still moving the cursor. This has no undesirable side effect in Windows, but in my Ubuntu/GNOME setup, the click immediately brings up the context menu, and the residual movement can sometimes highlight a menu item, and the button release will then act on that selection.

In other words, in Ubuntu/GNOME, whereas my intention is just to bring the context menu, I instead accidentally selected some menu item (usually the top most) and execute it. How can I prevent this from happening? Can I make Ubuntu/GNOME bring the context menu on release of right mouse button, the way I'm used to in Windows?


Another habit I've picked up is that I use Alt-F,S to save documents. Now, some editors (e.g. Eclipse) are "smart" in that it knows if a file doesn't need saving, and will disable the Save menu item in that case. Regardless, Alt-F S would "work" in that it's a no-op (just like Ctrl-S would be). That is, even though Save is disabled, hitting S would still close the File menu, it just wouldn't save the document.

However, in Ubuntu/GNOME, when the Save menu item is disabled in Eclipse, Alt-F,S would get "stuck" on the File menu. Since Save is disabled, S would just not do anything, and the File menu stays open.

I know I can just try to switch to Ctrl-S instead, but can I just configure Ubuntu/GNOME to let me try Alt-F,S even if that particular menu item is disabled? (just ignore the action, just like Windows does).


By the way, I'm open to using another window manager if necessary.