You are not logged in.

#1 2024-04-28 21:16:54

Ride Garcher
Member
Registered: 2023-09-30
Posts: 44

[SOLVED]Resolution stuck at 1024x768 after install nvidia dkms

In the resolution settings, the resolution appears to be locked at 1024x768 and there is no possibility to change it.
All this after installing the nvidia opensource driver package DKMS.
I had had the same problem by installing the proprietary nvidia drivers and had tinkered in the Xorg settings causing the system to need to be reset via a snapshot, but now I find myself with the same problem.

The resolution appears to be locked from the start. Even after selecting the kernel from grub the wording appears to be larger. A sign that (I'm guessing) perhaps the problem may not be related to the graphics servers?
I am currently using KDE with Xorg. The monitor obviously supports fullhd 1080p. And in fact the resolution was at 1920x1080 before I installed the drivers.
The video card is an RTX2070

EDIT.........Okay I just discovered something curious. If I start Arch using the standard kernel I don't have the resolution problem.
It occurred to me to try because when I broke the system I wasn't allowed to log in using the zen or hardened kernel, but I could log in using the standard kernel. that's how I was able to use time machine to reset Arch with a snapshot.

Anyway, another curiosity is that still even using the standard karnel the boot command line (the ones before entering the login manager) come out at a lower resolution. But when you get to the login screen everything is okay and the resolution is as it should be.

Last edited by Ride Garcher (2024-04-29 22:20:36)


Jr. Web developer

Offline

#2 2024-04-29 10:47:39

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,825

Re: [SOLVED]Resolution stuck at 1024x768 after install nvidia dkms

Do you have nvidia_drm.modeset=1 in your kernel boot line ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-04-29 15:38:01

seth
Member
Registered: 2012-09-03
Posts: 57,455

Re: [SOLVED]Resolution stuck at 1024x768 after install nvidia dkms

If I start Arch using the standard kernel I don't have the resolution problem.

pacman -Qs kernel
dkms status

Offline

#4 2024-04-29 19:59:29

Ride Garcher
Member
Registered: 2023-09-30
Posts: 44

Re: [SOLVED]Resolution stuck at 1024x768 after install nvidia dkms

local/dkms 3.0.12-1
    Dynamic Kernel Modules System
local/fuse3 3.16.2-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.10-1
    Linux kernel packet control tool (using legacy interface)
local/kmod 32-1
    Linux kernel module management tools and library
local/lib32-libdrm 2.4.120-1
    Userspace interface to kernel DRM services (32-bit)
local/libdrm 2.4.120-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 46.0-1
    Kernel based performance profiler - capture library
local/linux 6.8.7.arch1-2
    The Linux kernel and modules
local/linux-api-headers 6.7-1
    Kernel headers sanitized for use in userspace
local/linux-hardened 6.8.8.hardened1-1
    The Security-Hardened Linux kernel and modules
local/linux-headers 6.8.7.arch1-2
    Headers and scripts for building modules for the Linux kernel
local/linux-zen 6.8.7.zen1-2
    The Linux ZEN kernel and modules
local/mtdev 1.1.6-2
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/nvidia-open-dkms 550.76-2
    NVIDIA open kernel modules
nvidia/550.76, 6.8.7-arch1-2, x86_64: installed

EDIT.
@Lone_Wolf i've just added it:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1"

Now the "cat /sys/module/nvidia_drm/parameters/modeset" returns "Y", but now if i try to start a session using Zen kernel it doesn't works. I have to reboot manualy and select the standard kernel

This means that we have not solved anything unfortunately. We are the same as before.

Last edited by Ride Garcher (2024-04-29 20:26:32)


Jr. Web developer

Offline

#5 2024-04-29 21:23:19

seth
Member
Registered: 2012-09-03
Posts: 57,455

Re: [SOLVED]Resolution stuck at 1024x768 after install nvidia dkms

You only have linux-headers 6.8.7.arch1-2 but lack those for zen and hardened kernel, as a result

nvidia/550.76, 6.8.7-arch1-2, x86_64: installed

only the module for that kernel is built.
Install the missing header packages and in doubt rebuild the dkms modules.

Offline

#6 2024-04-29 22:20:07

Ride Garcher
Member
Registered: 2023-09-30
Posts: 44

Re: [SOLVED]Resolution stuck at 1024x768 after install nvidia dkms

Everything works!
Thanks a lot guys!
I thought installations of such indispensable items were automatic.
I will read the documentation better next time. it is my fault probably


Jr. Web developer

Offline

Board footer

Powered by FluxBB