Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read
this
tk33
Level 1
Posts: 6 Joined: Thu Apr 16, 2020 10:38 am
Post
by tk33 » Sat Sep 05, 2020 6:19 am
I am experiencing a slight screen tearing with nvidia graphics. This does not occur with intel graphics. It is especially visible when scrolling through Firefox. I have tried changing some settings from NVIDIA settings, with no luck.
inxi -Fxxxrz:
Code: Select all
System:
Kernel: 5.4.0-45-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 dm: LightDM 1.30.0
Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine:
Type: Laptop System: HP product: HP Pavilion Notebook 15-bc5xxx v: N/A
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: HP model: 8640 v: 52.08 serial: <filter> UEFI: AMI v: F.13
date: 07/14/2020
Battery:
ID-1: BAT0 charge: 27.1 Wh condition: 55.7/55.7 Wh (100%) volts: 15.5/15.4
model: HP Primary type: Li-ion serial: <filter> status: Unknown
CPU:
Topology: Quad Core model: Intel Core i5-9300H bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 38400
Speed: 800 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:
Device-1: Intel UHD Graphics 630 vendor: Hewlett-Packard driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q]
vendor: Hewlett-Packard driver: nvidia v: 440.100 bus ID: 01:00.0
chip ID: 10de:1c91
Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100
direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a348
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9
Sound Server: ALSA v: k5.4.0-45-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 02:00.0
chip ID: 10ec:8168
IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Hewlett-Packard driver: rtw_pci v: N/A port: 3000 bus ID: 03:00.0
chip ID: 10ec:b822
IF: wlo1 state: down mac: <filter>
Drives:
Local Storage: total: 1.03 TiB used: 83.73 GiB (8.0%)
ID-1: /dev/sda vendor: Samsung model: MZNLN128HAHQ-000H1 size: 119.24 GiB
speed: 6.0 Gb/s serial: <filter> rev: 4H3Q scheme: GPT
ID-2: /dev/sdb vendor: Western Digital model: WD10SPZX-60Z10T0
size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter>
rev: 1A04 scheme: GPT
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: 6060 bus ID: 00:17.0 chip ID: 8086.282a rev: 10
Partition:
ID-1: / size: 41.27 GiB used: 12.64 GiB (30.6%) fs: ext4 dev: /dev/sda6
ID-2: /home size: 97.93 GiB used: 71.01 GiB (72.5%) fs: ext4
dev: /dev/sdb2
ID-3: swap-1 size: 1.91 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5
Sensors:
System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 42 C
Fan Speeds (RPM): N/A
Info:
Processes: 339 Uptime: 5m Memory: 15.45 GiB used: 3.13 GiB (20.3%)
Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash
v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
Last edited by
tk33 on Sun Sep 06, 2020 1:46 pm, edited 2 times in total.
SMG
Level 9
Posts: 2956 Joined: Sun Jul 26, 2020 6:15 pm
Location: USA
Post
by SMG » Sat Sep 05, 2020 10:00 am
Is Driver Manager showing you the option of the Nvidia-450 driver yet? There is a 450 driver available from Nvidia for your video card. I do not know if that will clear up the issues for you or if changing hardware acceleration options in Firefox might be an alternate solution.
LM20.1 Cinnamon
tk33
Level 1
Posts: 6 Joined: Thu Apr 16, 2020 10:38 am
Post
by tk33 » Sat Sep 05, 2020 10:25 am
There is not an option for the Nvidia-450 driver in the driver manager. I installed the 450 through a ppa, but the tearing remained. I also tried turning off hardware acceleration in Firefox, but still no luck.
roblm
Level 13
Posts: 4722 Joined: Sun Feb 24, 2013 2:41 pm
Post
by roblm » Sun Sep 06, 2020 8:54 am
Use this command to open the nvidia-kms.conf file: xed admin:///lib/modprobe.d/nvidia-kms.conf
The value of this line should be 1, not 0: options nvidia-kms modeset=1
If you need to change the value, then update the initial ramdisk when done and reboot:
sudo update-initramfs -u
tk33
Level 1
Posts: 6 Joined: Thu Apr 16, 2020 10:38 am
Post
by tk33 » Sun Sep 06, 2020 1:46 pm
It worked! Even though the line i changed was
. I guess it's the same. Thanks a lot!
roblm
Level 13
Posts: 4722 Joined: Sun Feb 24, 2013 2:41 pm
Post
by roblm » Mon Sep 07, 2020 8:01 am
tk33 wrote:
It worked! Even though the line i changed was
.
I made an error. It should be
nvidia-drm , not
nvidia-kms
dylans2
Level 1
Posts: 19 Joined: Fri Dec 25, 2020 5:00 am
Post
by dylans2 » Sat Dec 26, 2020 10:28 pm
roblm wrote: ↑ Mon Sep 07, 2020 8:01 am
tk33 wrote:
It worked! Even though the line i changed was
.
I made an error. It should be
nvidia-drm , not
nvidia-kms
I would really like to try this solution, but I do not have the NVIDIA-kms.conf or any variant of that file. The only file that is present that is relavent is nvidia-graphics-drivers.conf. I was wondering if you had any solution for this, thank you.
Code: Select all
System: Kernel: 5.8.0-33-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3
dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Laptop System: Dell product: Precision 5540 v: N/A serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: Dell model: 07C17G v: A00 serial: <filter> UEFI: Dell v: 1.7.0 date: 05/11/2020
Battery: ID-1: BAT0 charge: 74.6 Wh condition: 74.6/97.0 Wh (77%) volts: 12.6/11.4 model: SMP DELL GPM0365
type: Li-ion serial: <filter> status: Full
Device-1: hid-dc:2c:26:df:a4:bf-battery model: Keychron K2 serial: N/A charge: N/A status: Discharging
Device-2: hidpp_battery_0 model: Logitech M720 Triathlon Multi-Device Mouse serial: <filter>
charge: 100% (should be ignored) rechargeable: yes status: Discharging
CPU: Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A
L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399
Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
8: 800 9: 800 10: 800 11: 800 12: 801
Graphics: Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA TU117GLM [Quadro T1000 Mobile] vendor: Dell driver: nvidia v: 455.38 bus ID: 01:00.0
chip ID: 10de:1fb9
Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa
resolution: 2560x1440~60Hz, 1920x1080~75Hz
OpenGL: renderer: Quadro T1000/PCIe/SSE2 v: 4.6.0 NVIDIA 455.38 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3
chip ID: 8086:a348
Device-2: M-Audio type: USB driver: snd-usb-audio bus ID: 1-5.1:7 chip ID: 0763:400c
Sound Server: ALSA v: k5.8.0-33-generic
Network: Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: 3000 bus ID: 3b:00.0 chip ID: 8086:2526
IF: wlp59s0 state: up mac: <filter>
Drives: Local Storage: total: 476.94 GiB used: 24.44 GiB (5.1%)
ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG60ZNV512G NVMe 512GB size: 476.94 GiB speed: 31.6 Gb/s
lanes: 4 serial: <filter> rev: 10604105 scheme: GPT
Partition: ID-1: / size: 148.47 GiB used: 24.37 GiB (16.4%) fs: ext4 dev: /dev/nvme0n1p5
Sensors: System Temperatures: cpu: 56.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2403 fan-2: 2377
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://mirrors.evowise.com/linuxmint/packages ulyana main upstream import backport
2: deb http://mirror.lstn.net/ubuntu focal main restricted universe multiverse
3: deb http://mirror.lstn.net/ubuntu focal-updates main restricted universe multiverse
4: deb http://mirror.lstn.net/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Info: Processes: 323 Uptime: 3m Memory: 15.25 GiB used: 1.55 GiB (10.1%) Init: systemd v: 245 runlevel: 5
Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
roblm
Level 13
Posts: 4722 Joined: Sun Feb 24, 2013 2:41 pm
Post
by roblm » Sun Dec 27, 2020 8:33 am
dylans2,
Add the kernel parameter
nvidia-drm.modeset=1 to the grub file.
Use this command to open the file for editing:
xed admin:///etc/default/grub
Change this line;
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To this:
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"
Then update grub and reboot:
sudo update-grub