Hi, I apologize in advance, English is not my native language.
The problem is this, a few days ago I installed Fedora 38 for the first time, previously I used Ubuntu. After installing the drivers on my rtx2060 video card, my screen flashes randomly and behaves incorrectly, also in the settings in the “display” tab, I have an unknown second monitor, but this was fixed with:
Every time I start the system, I receive a notification from abrt with the following content:
An error has occurred in the kernel, your kernel contains non-free components (flags:POE). Explanation:
P - The proprietary module has been loaded.
The O-Out-of-tree module has been loaded.
The E - Unsigned module is loaded.
Developers cannot diagnose reports in such kernels.Damaged modules: nvidia_drv,nvidia_modeset,nvidia_wdm,nvidia.
installed the driver using the command:
sudo dnf install nvidia-driver
Then I waited about 15 minutes before rebooting
modinfo -F version nvidia
530.41.03
$ nvidia-smi
Mon May 1 08:36:13 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 |
|-----------------------------------------+----------------------+----------------------+
| 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 2060 Off| 00000000:01:00.0 On | N/A |
| 38% 32C P8 9W / 160W| 184MiB / 6144MiB | 1% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 2070 G /usr/bin/gnome-shell 128MiB |
| 0 N/A N/A 2762 G /usr/libexec/xdg-desktop-portal-gnome 5MiB |
| 0 N/A N/A 3197 G /usr/bin/Xwayland 2MiB |
| 0 N/A N/A 3532 G /usr/bin/gnome-control-center 17MiB |
| 0 N/A N/A 4427 G telegram-desktop 2MiB |
+---------------------------------------------------------------------------------------+
Switching to xorg solved the problem, but I’m not sure for sure, sometimes errors still appear, but at the same time nvidia x server seems to have full settings
Apparently you installed the driver from the fedora-cuda repo.
That is not the recommended source (which is rpmfusion) and the only assist I can provide is to guide you through uninstalling that then installing from rpmfusion. The drivers from the rpmfusion repo have seemed to work properly for all.
The problem may be the formation of the command line for booting.
Try rebooting and at the grub menu (May need to hold the shift key while booting to see the menu) press the e key for editing.
Insert the following into the line that begins with ‘linux’ nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init
then use ctrl + X to continue booting and see if that solves the crash notifications.
If it does then that can be made permanent with editing /etc/default/grub and adding the same entries into the line beginning with ‘GRUB_CMDLINE_LINUX’ then running sudo grub2-mkconfig -o /boot/grub2/grub.cfg. The next boot will include those options in the kernel command line.
Hey i have the same graphics card as you on fedora 38…tried everything…and still flickers…i think that it has something with G-sync if your monitor supports it…and 530 drivers are not suporting it…wait for 535 nvidia drivers when they add it into a repo and try those drivers…i am waiting for them too, nothing else can solve the problem…535 drivers came out 3 days ago…and i saw in the fix list mentioning wayland fix and g-sync fix with ton of other fixes…wait and see…
The same problem. I tried installing the drivers in different ways, there is no such problem only if you install manually through the downloaded .run file from the official Nvidia website. But then 2 other problems appear, OpenGL starts to give errors and the monitor color profile does not work, over time the problem is apparently not fixed, although judging by the number of discussions it is not the rarest, and no one has found a solution. Unpleasant.
First the correct grub option are since 500 serie : nouveau.modeset=0 rd.driver.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet
Yours have really to much.
You can change it in /etc/default/grub, then : grub2-mkconfig -o /boot/grub2/grub.conf
This was the first point.
Second point. Since i’m surfing into the Fedora forum I saw many issues with Nvidia’s rpmfusion packages. I really suspect an issue from packagers team.
Nvidia was changing a bunch of things those last past time and maybe packagers haven’t update packages to those changes. Happens, not really their fault.
That’s my thoughts, didn’t means I’m right.
I have used most all the driver and now the actual 550.54.14, I didn’t met any issue with a RTX2060 except with the 6.7.3 kernel, that wont compile the driver. The 6.7.4 and else did without issue.
I didn’t used rpmfusion but my own developped tool, that why my suspicion goes to rpmfusion packages instead of the driver or the kernel.