Re: Wrong screen resolution (1024x768) after upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On 31 Oct 2022, at 09:06, Frédéric <ufospoke@xxxxxxxxx> wrote:
> 
> Hi,
> 
> I'm using F36 on a 10 year old laptop running an nividia GPU (GeForce
> GT 560M). I'm using the nvidia drivers from rpmfusion (390xx).
> 
> Yesterday, I ran dnf upgrade and got the new 6.0.5 kernel. I lost the
> native screen resolution (1920x1080) and have a 1024x768 instead.

Did you try rebooting and using the previous kernel?

> 
> I then removed the nvidia driver with dnf but it did not improve.

It's not that simple as the rpmfusion drivers install source code that is built
by akmod. akmod makes more RPMs that are have the binary .ko files in them
that is installed on first boot with the new kernel.

I found that to wipe the nvidia driver and then reinstall it takes a number of steps.
This is from memory, so check they make sense on your system.

I have all these RPMs installed to support my RX3060:

$ rpm -qa | grep nvidia
xorg-x11-drv-nvidia-cuda-libs-520.56.06-1.fc36.x86_64
nvidia-gpu-firmware-20221012-141.fc36.noarch
nvidia-persistenced-520.56.06-1.fc36.x86_64
xorg-x11-drv-nvidia-kmodsrc-520.56.06-1.fc36.x86_64
xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.i686
xorg-x11-drv-nvidia-libs-520.56.06-1.fc36.x86_64
akmod-nvidia-520.56.06-1.fc36.x86_64
nvidia-settings-520.56.06-1.fc36.x86_64
xorg-x11-drv-nvidia-520.56.06-1.fc36.x86_64
xorg-x11-drv-nvidia-power-520.56.06-1.fc36.x86_64
xorg-x11-drv-nvidia-cuda-libs-520.56.06-1.fc36.i686
xorg-x11-drv-nvidia-cuda-520.56.06-1.fc36.x86_64
kmod-nvidia-5.19.16-200.fc36.x86_64-520.56.06-1.fc36.x86_64
kmod-nvidia-5.19.14-200.fc36.x86_64-520.56.06-1.fc36.x86_64

And

$ rpm -qa |grep akmod
akmods-0.5.7-8.fc36.noarch
akmod-nvidia-520.56.06-1.fc36.x86_64

I removed all of them when I get into any issues.

I also rm -rf /var/cache/akmods to remove any of the built intermediates.

Then I installed fresh.
Make sure that any akmods services have completed.
Then reboot and wait for any akmods builds to finish and install the new nvidia drivers.
This can take a while - ssh in from another system if you are curious what is going on.

Barry

> 
> 
> Maybe what is provided below may help. In particular, it seems that
> nouveau is blacklisted but nvidia is not installed anymore...
> 
> Thanks for your help,
> 
> F
> 
> $ lspci |grep "VGA"
> 01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce
> GT 560M] (rev a1)
> 
> $ cat /proc/cmdline
> BOOT_IMAGE=(hd0,msdos1)/vmlinuz-6.0.5-200.fc36.x86_64
> root=UUID=4aab7630-84b2-4eae-9c5e-804ff8657b7f ro rhgb quiet
> 
> $ cat /etc/sysconfig/grub
> GRUB_TIMEOUT=5
> GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
> GRUB_DEFAULT=saved
> GRUB_DISABLE_SUBMENU=true
> GRUB_TERMINAL_OUTPUT="console"
> GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau
> modprobe.blacklist=nouveau nvidia-drm.modeset=1"
> GRUB_DISABLE_RECOVERY="true"
> 
> 
> 
> GRUB_ENABLE_BLSCFG=true
> 
> $ journalctl -b 0
> 
> oct. 31 09:28:49 vouise kernel: video: probe of PNP0A08:00 failed with error -22
> oct. 31 09:28:49 vouise kernel: ACPI: video: [Firmware Bug]:
> ACPI(MXM3) defines _DOD but not _DOS
> oct. 31 09:28:49 vouise kernel: ACPI: video: Video Device [MXM3]
> (multi-head: yes  rom: no  post: no)
> oct. 31 09:28:49 vouise kernel: acpi device:1a: registered as cooling_device8
> oct. 31 09:28:49 vouise kernel: input: Video Bus as
> /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:18/LNXVIDEO:00/input/input18
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux