BIG MISTAKE PF MINE: purchase a kind of gamer’s laptop.
Paying for long for the consequences,… Something crazy.
-
Laptop doesn’t hibernate: qell it does, but it gets frozen, and there is no way to awake it, but restart the computer.
-
No way to detect a second monitor/screen and use both, nor share the image in two screens. So because of that I can’t use this laptop at the classroom with my students, becuase it can’t project images using projector.
-
Cinnamon’s Applet which normally allowdetecting and sharing 2 creens: defunct.
System information:
System: Kernel: 5.4.0-72-lowlatency x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.8.6 wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa
base: Ubuntu 20.04 focal
Machine: Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec1xxx v: N/A
serial: Chassis: type: 10 serial:
Mobo: HP model: 87B1 v: 31.17 serial: UEFI: AMI v: F.02 date: 05/14/2020
Battery: ID-1: BAT0 charge: 45.8 Wh condition: 45.8/45.8 Wh (100%) volts: 12.9/11.6
model: Hewlett-Packard Primary serial: status: Full
CPU: Topology: 6-Core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen rev: 1 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 71864
Speed: 2815 MHz min/max: 1400/3000 MHz Core speeds (MHz): 1: 2322 2: 2028 3: 3978
4: 3980 5: 3222 6: 3196 7: 3137 8: 3142 9: 3979 10: 3980 11: 3700 12: 3632
Graphics: Device-1: NVIDIA vendor: Hewlett-Packard driver: N/A bus ID: 01:00.0 chip ID: 10de:1f99
Device-2: AMD Renoir vendor: Hewlett-Packard driver: N/A bus ID: 05:00.0
chip ID: 1002:1636
Display: x11 server: X.Org 1.20.9 driver: ati,fbdev unloaded: modesetting,radeon,vesa
alternate: nvidia resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 compat-v: 3.1
direct render: Yes
Audio: Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:10fa
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard
driver: N/A bus ID: 05:00.5 chip ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 05:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.4.0-72-lowlatency
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus ID: 02:00.0
chip ID: 10ec:8168
IF: eno1 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtw_pci v: N/A port: d000 bus ID: 03:00.0
chip ID: 10ec:c822
IF: wlo1 state: down mac:
USB: Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002
Device-1: 1-4:2 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb rev: 1.0
chip ID: 0bda:b00c
Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003
Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 chip ID: 1d6b:0002
Device-2: 3-1:2 info: HP Optical Mouse [672662-001] type: Mouse
driver: hid-generic,usbhid rev: 2.0 chip ID: 03f0:094a
Device-3: 3-3:3 info: DJKCVA1BIDT5CG HP TrueVision HD Camera type: Video
driver: uvcvideo rev: 2.0 chip ID: 30c9:0013
Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 chip ID: 1d6b:0003
Sensors: System Temperatures: cpu: 70.5 C mobo: N/A
Fan Speeds (RPM): N/A
MY TESTS
lshw -numeric -C display
WARNING: you should run this program as super-user.
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation [10DE:1F99]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller cap_list
configuration: latency=0
resources: memory:fb000000-fbffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-display UNCLAIMED
description: VGA compatible controller
product: Renoir [1002:1636]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
physical id: 0
bus info: pci@0000:05:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list
configuration: latency=0
resources: memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:c000(size=256) memory:fc500000-fc57ffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd00001F99sv0000103Csd000087B1bc03sc00i00
vendor : NVIDIA Corporation
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-460-server - distro non-free
driver : nvidia-driver-450 - distro non-free
driver : nvidia-driver-460 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
lspci -vnn | grep VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1f99] (rev a1) (prog-if 00 [VGA controller])
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c7) (prog-if 00 [VGA controller])
$ lspci -k | grep -EA3 ‘VGA|3D|Display’
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f99 (rev a1)
DeviceName: NVIDIA Graphics Device
Subsystem: Hewlett-Packard Company Device 87b1
Kernel modules: nvidiafb, nouveau
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)
DeviceName: Onboard IGD
Subsystem: Hewlett-Packard Company Renoir
Kernel modules: amdgpu
nvidia-detector
nvidia-driver-460
nvidia-settings --version
nvidia-settings: version 460.39
The NVIDIA X Server Settings tool.
dmesg | grep -in nvidia
1139:[ 4.771007] audit: type=1400 audit(1621181989.269:5): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe” pid=825 comm=“apparmor_parser”
1140:[ 4.771012] audit: type=1400 audit(1621181989.269:6): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“nvidia_modprobe//kmod” pid=825 comm=“apparmor_parser”
1145:[ 4.838053] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input18
1146:[ 4.838098] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input19
1147:[ 4.838131] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input20
1148:[ 4.838170] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input21
lsmod | grep nvidia
No nvidia module loaded in memory (Why?)
lspci | grep -in nvidia
22:01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f99 (rev a1)
23:01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
sudo nvidia-xconfig -t
[sudo] contrasenya per a kimint:
Using X configuration file: “/etc/X11/xorg.conf”.
ServerLayout "Layout0"
|
|--> Screen "Screen0"
| |
| |--> Monitor "Monitor0"
| | |
| | |--> VendorName "Unknown"
| | |--> ModelName "Unknown"
| | |--> HorizSync
| | |--> VertRefresh
| | |--> Option "DPMS"
| |
| |--> Device "Device0"
| | |--> Driver "nvidia"
| | |--> VendorName "NVIDIA Corporation"
| |
| |--> DefaultColorDepth 24
|
|--> InputDevice "Keyboard0"
| |
| |--> Driver "kbd"
| |--> Option "CoreKeyboard"
|
|--> InputDevice "Mouse0"
| |
| |--> Driver "mouse"
| |--> Option "Protocol" "auto"
| |--> Option "Device" "/dev/psaux"
| |--> Option "Emulate3Buttons" "no"
| |--> Option "ZAxisMapping" "4 5"
| |--> Option "CorePointer"
|
sudo modprobe nvidia
modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.4.0-72-lowlatency
ystemctl is-active nvidia
inactive
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
udo systemctl enable nvidia
Failed to enable unit: Unit file nvidia.service does not exist.
dpkg -l | grep -in nvidia
1254:ii libnvidia-cfg1-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
1255:ii libnvidia-common-460 460.73.01-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
1256:ii libnvidia-compute-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
1257:ii libnvidia-compute-460:i386 460.73.01-0ubuntu0.20.04.1 i386 NVIDIA libcompute package
1258:ii libnvidia-decode-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
1259:ii libnvidia-decode-460:i386 460.73.01-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries
1260:ii libnvidia-encode-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
1261:ii libnvidia-encode-460:i386 460.73.01-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library
1262:ii libnvidia-extra-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
1263:ii libnvidia-fbc1-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
1264:ii libnvidia-fbc1-460:i386 460.73.01-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
1265:ii libnvidia-gl-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
1266:ii libnvidia-gl-460:i386 460.73.01-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
1267:ii libnvidia-ifr1-460:amd64 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
1268:ii libnvidia-ifr1-460:i386 460.73.01-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
1748:ii linux-modules-nvidia-460-5.4.0-73-lowlatency 5.4.0-73.82+1 amd64 Linux kernel nvidia modules for version 5.4.0-73
1749:ii linux-objects-nvidia-460-5.4.0-73-lowlatency 5.4.0-73.82+1 amd64 Linux kernel nvidia modules for version 5.4.0-73 (objects)
1750:ii linux-signatures-nvidia-5.4.0-73-lowlatency 5.4.0-73.82+1 amd64 Linux kernel signatures for nvidia modules for version 5.4.0-73-lowlatency
1878:ii nvidia-compute-utils-460 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
1879:ii nvidia-dkms-460 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
1880:ii nvidia-driver-460 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
1881:ii nvidia-kernel-common-460 460.73.01-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
1882:ii nvidia-kernel-source-460 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
1883:ii nvidia-modprobe 460.32.03-0ubuntu20.04.1 amd64 utility to load NVIDIA kernel modules and create device nodes
1884:ii nvidia-prime 0.8.16~0.20.04.1 all Tools to enable NVIDIA’s Prime
1885:ii nvidia-prime-applet 1.2.6 all An applet for NVIDIA Prime
1886:ii nvidia-settings 460.39-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver
1887:ii nvidia-utils-460 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
2115:ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
2266:ii xserver-xorg-video-nvidia-460 460.73.01-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver
rep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
/etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb
/lib/modprobe.d/nvidia-kms.conf:# This file was generated by nvidia-prime
/lib/modprobe.d/nvidia-kms.conf:options nvidia-drm modeset=1
/lib/modprobe.d/nvidia-runtimepm.conf:options nvidia “NVreg_DynamicPowerManagement=0x02”
cat /lib/modprobe.d/nvidia-graphics-drivers.conf
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
sudo prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Done