[SOLVED]NVidia GeForce RTX 3050 not supported in Mageia 8

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby isadora » Apr 23rd, '22, 08:31

banjo wrote:ASUS Dual GeForce RTX 3050 8GB GDDR6 PCI Express 4.0 Video Card DUAL-RTX3050-O8G

For my learning-curve; ASUS=NVIDIA?
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby sturmvogel » Apr 23rd, '22, 10:16

Asus is the manufacturer. RTX 3050 is the Nvidia chipset used. You also get graphic cards from other manufacturers with the same chipset, like MSI Rtx 3050 gaming x or Gainward GeForce RTX 3050 Ghost. Differences are speed, stepping, frequency, graphic ports, cooling,....
sturmvogel
 
Posts: 741
Joined: Jul 30th, '12, 00:39

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby isadora » Apr 23rd, '22, 11:42

Thank you, very informative.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby banjo » Apr 23rd, '22, 15:42

I am assuming that, since the system installed the 470 driver without complaining about building the kernel interface, dkms and the required kernel source files are already installed to allow the 510 to find it and build the interface. I will check for it to make sure that I didn't uninstall it when I uninstalled the nvidia 470 driver.

FWIW, I did file a backport request for the 510 driver. I don't know how long that might take, so I will probably try to install the 510 myself. It is kind of fun messing around in the system down at that level.... and I don't really have anything to lose at this point.

There is that old Unix aphorism, "As ye fool around, so shall ye learn".
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby banjo » Apr 24th, '22, 14:23

I downloaded the Nvidia 510.60.02 driver and installed it on the system manually, and the graphics card now works. This confirms that the RTX 3050 chipset works with the 510 driver.

There was only one error posted during the installation, but then the installation finished anyway and the card works. Right after it asked me if I wanted to register with DKMS, it posted this error.

Nvidia510InstallerErrorMessage.jpg
Nvidia510InstallerErrorMessage.jpg (540.31 KiB) Viewed 7037 times


The text in the image is:

Code: Select all
WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have
         pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.


I do not understand what those packages are, and when I clicked on OK (the only option) I expected it to bail out. But it finished the installation and the card works. If the error caused the DKMS registration to fail, then the driver might fail after the next kernel update. Any ideas about what to do?

In case anyone is watching this and is curious about the steps I took to install this, I am providing a brief summary here.

These directions were found at the link provided by sturnvogel
http://us.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/README/index.html

I thought that a brief overview would be helpful for someone who has not done this before.

The basic steps are

    Disable the nouveau driver
    Run the Nvidia installer

It is also necessary to update the /etc/X11/xorg.conf file using nvidia-xconfig, but that call was conveniently made by the installer, so I did not have to do the final step myself.

To disable the nouveau driver, I logged in as root and blacklisted nouveau. I did that by creating the file /etc/modprobe.d/disable-nouveau.conf and added two lines to it:

Code: Select all
blacklist nouveau
options nouveau modeset=0


I then added nokmsboot back into the kernel arguments by editing /etc/default/grub and adding nokmsboot to the argument list.

Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet noiswmd nokmsboot resume=UUID=c8f01bd7-adca-4d51-8dd5-24ba473e34b8 audit=0 vga=788"
GRUB_DEFAULT=saved
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_RECOVERY=false
GRUB_DISABLE_SUBMENU=n
GRUB_DISTRIBUTOR=Mageia
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=auto
GRUB_SAVEDEFAULT=true
GRUB_TERMINAL_OUTPUT=gfxterm
GRUB_TIMEOUT=10


Don't forget to run update-grub after making the change so that the changes actually make it into /boot/grub2/grub.cfg

Finally, I edited /etc/X11/xorg.conf and replaced the driver "nouveau" in device1 with "vesa". The purpose of that is to keep the X server from loading nouveau and messing up the installation. It turns out that this was not necessary because the installer ran nvidia-xconfig anyway, and that replaced "vesa" with "nvidia".

Code: Select all
   ...
Section "Device"
    Identifier "device1"
    BoardName
    Driver "vesa"
    Option "DPMS"
EndSection
   ...


The Nvidia instructions said that I should reboot after disabling nouveau to make sure that I ran the installer with the new kernel switches in place and the nouveau driver not loaded. The installation might have problems if nouveau is loaded.

I rebooted in single user mode to make sure that no graphics modules would be loaded.

The installer is a self-extracting shell file.

After rebooting I ran the installer.

Code: Select all
sh NVIDIA-Linux-x86_64-510.60.02.run


There were only a half dozen steps to the Nvidia installer, and other than the error message the questions were fairly obvious.

If anyone has any further information about the errors posted and their impact that would be helpful.

Also, if a kernel update does cause the driver to fail because DKMS is messed up, how would I manually compile the kernel interface?

Thanks to all for the patience and information while I did this.

P.S. One problem with doing this manual installation is that I will not be getting any updates from Nvidia to the 510 driver. I have bypassed the repositories that update the driver package. If the 510 driver is, in fact, backported to Mag8 I might try to switch over to the official installation, but that will be another type of adventure.
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby sturmvogel » Apr 24th, '22, 15:12

This message means that you didn't have following packages installed:
Code: Select all
lib64glvnd-devel
lib64pkgconf-devel
pkg-config / pkgconf-pkg-config (this one should be installed as it is a system library)


You can install them an try to rerun the Nvidia installer.
sturmvogel
 
Posts: 741
Joined: Jul 30th, '12, 00:39

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby banjo » Apr 24th, '22, 15:39

OK. I installed the other two packages. I will reboot single user and see what the installer does.

Fingers crossed that I don't mess up my now working system.

Edit: I ran the installer again and it finished with no errors..... and it is still working.... :D
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby sturmvogel » Apr 24th, '22, 16:53

Great to hear :D
As you may have already seen in the bugreport, Thomas Backlund our kernel maintainer, will take care about the backport.
sturmvogel
 
Posts: 741
Joined: Jul 30th, '12, 00:39

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby rolf » Apr 24th, '22, 17:37

banjo wrote:OK. I installed the other two packages. I will reboot single user and see what the installer does.

Fingers crossed that I don't mess up my now working system.

Edit: I ran the installer again and it finished with no errors..... and it is still working.... :D


Well done!
rolf
 
Posts: 131
Joined: Mar 25th, '11, 02:58

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby banjo » Apr 24th, '22, 17:59

Once the backport is done, I think it might be worthwhile to switch over to the repository version of the driver so I can get the benefit of automatic updates etc.

I am guessing that I could do that by

1. log in as single user and uninstall the 510 driver I just installed.
2. run drakx11 and select the "Geforce 635 series and later".
3. reboot

Does that sound like a plan that would work?
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby rolf » Apr 24th, '22, 18:16

It being years since I used nVidia graphics, I wouldn't be a good source for guidance. It seems like running the install script, again, with the --help switch might reveal an uninstall option and that nvidia provides Linux documentation at their website. Also, I think having dkms already installed is a good idea. You've already shown a knack for recovering, so good luck!
rolf
 
Posts: 131
Joined: Mar 25th, '11, 02:58

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby sturmvogel » Apr 24th, '22, 18:25

The uninstall option is also described at the Nvidia help (very end of the page):
http://us.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/README/installdriver.html
sturmvogel
 
Posts: 741
Joined: Jul 30th, '12, 00:39

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby morgano » Apr 24th, '22, 21:26

At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1492
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: NVidia GeForce RTX 3050 not fully supported in Mageia 8

Postby doktor5000 » Apr 24th, '22, 21:35

banjo wrote:To disable the nouveau driver, I logged in as root and blacklisted nouveau. I did that by creating the file /etc/modprobe.d/disable-nouveau.conf and added two lines to it:

Code: Select all
blacklist nouveau
options nouveau modeset=0



FWIW, that's not necessary, the nvidia installer will do that by itself if it detects another driver already loaded.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby banjo » Apr 29th, '22, 20:11

Update: Urpmi just updated the kernel with the most recent update. Dkms rebuilt the Nvidia driver interface and all is working. One of my worries was that the magic wouldn't work. But it did. So we are good to go with the Nvidia driver.

One bothersome thing is that uninstalling the previous 470 driver seems to have orphaned a whole bunch of packages.

Code: Select all
The following packages:
  a2ps-4.14-22.mga8.x86_64
  avahi-0.8-6.2.mga8.x86_64
  bc-1.07.1-5.mga8.x86_64
  c2050-0.4-17.mga8.x86_64
  c2070-0.99-17.mga8.x86_64
  cjet-0.8.9-17.mga8.x86_64
  colord-1.4.5-1.mga8.x86_64
  cups-2.3.3op2-1.mga8.x86_64
  cups-common-2.3.3op2-1.mga8.x86_64
  cups-drivers-2008-16.mga8.noarch
  cups-drivers-capt-0.1-18.mga8.x86_64
  cups-drivers-foo2kyo-0.1.0a-17.mga8.x86_64
  cups-drivers-foo2zjs-0.0-1.20121012.12.mga8.x86_64
  cups-drivers-lbp660-0.3.1-13.mga8.x86_64
  cups-drivers-lxx74-0.8.4.2-17.mga8.x86_64
  cups-drivers-lz11-1.2-16.mga8.x86_64
  cups-drivers-m2300w-0.51-17.mga8.x86_64
  cups-drivers-magicolor2430dl-1.6.1-23.mga8.x86_64
  cups-drivers-magicolor5430dl-1.8.1-23.mga8.x86_64
  cups-drivers-magicolor5440dl-1.2.1-23.mga8.x86_64
  cups-drivers-pegg-0.23-17.mga8.x86_64
  cups-drivers-ptouch-1.5.1-1.mga8.x86_64
  cups-drivers-splix-2.0.1-0.20130826svn315.12.mga8.x86_64
  cups-filesystem-2.3.3op2-1.mga8.noarch
  cups-filters-1.28.7-1.mga8.x86_64
  dkms-2.0.19-41.mga8.noarch
  dkms-minimal-2.0.19-41.mga8.noarch
  drv_z42-0.4.3-20.mga8.x86_64
  egl-wayland-json-1.1.5-3.mga8.noarch
  epsoneplijs-0.4.1-13.mga8.x86_64
  foomatic-db-4.0-3.20201115.1.mga8.noarch
  foomatic-db-engine-4.0.13-1.20201115.1.mga8.x86_64
  gocr-0.52-2.mga8.x86_64
  groff-perl-1.22.4-2.mga8.x86_64
  gutenprint-common-5.3.4-2.1.mga8.x86_64
  gutenprint-cups-5.3.4-2.1.mga8.x86_64
  gutenprint-escputil-5.3.4-2.1.mga8.x86_64
  hplip-3.21.12-3.mga8.x86_64
  hplip-gui-3.21.12-3.mga8.x86_64
  hplip-hpijs-3.21.12-3.mga8.x86_64
  hplip-hpijs-ppds-3.21.12-3.mga8.x86_64
  imagemagick-7.0.10.62-1.mga8.x86_64
  jpeg-progs-2.0.6-1.mga8.x86_64
  kernel-desktop-5.10.16-1.mga8-1-1.mga8.x86_64
  kernel-desktop-devel-5.10.16-1.mga8-1-1.mga8.x86_64
  kernel-desktop-devel-5.15.32-1.mga8-1-1.mga8.x86_64
  kernel-desktop-devel-5.15.35-2.mga8-1-1.mga8.x86_64
  kernel-desktop-devel-latest-5.15.35-2.mga8.x86_64
  lexmark2070-0.6-19.mga8.x86_64
  lexmark7000linux-990516-18.mga8.x86_64
  lib64audit-devel-3.0-1.mga8.x86_64
  lib64avahi-core7-0.8-6.2.mga8.x86_64
  lib64brotli-devel-1.0.9-2.mga8.x86_64
  lib64cap-ng-devel-0.8.2-1.mga8.x86_64
  lib64cups-filters1-1.28.7-1.mga8.x86_64
  lib64curl-devel-7.74.0-1.4.mga8.x86_64
  lib64dns1113-9.11.27-1.1.mga8.x86_64
  lib64elfutils-devel-0.182-1.mga8.x86_64
  lib64gnet2.0_0-2.0.8-19.mga8.x86_64
  lib64gpsd27-3.21-2.mga8.x86_64
  lib64groupsock24-2020.12.23-1.mga8.x86_64
  lib64gsnmp0-0.3.0-12.mga8.x86_64
  lib64gutenprint9-5.3.4-2.1.mga8.x86_64
  lib64idn2-devel-2.3.0-4.mga8.x86_64
  lib64imagequant0-2.13.1-1.mga8.x86_64
  lib64ldap2.4_2-devel-2.4.57-1.1.mga8.x86_64
  lib64livemedia87-2020.12.23-1.mga8.x86_64
  lib64magick++-7Q16HDRI_4-7.0.10.57-1.mga8.x86_64
  lib64magick-7Q16HDRI_8-7.0.10.57-1.mga8.x86_64
  lib64ncurses-devel-6.2-20201205.1.mga8.x86_64
  lib64netpbm11-10.87.01-3.mga8.x86_64
  lib64nghttp2-devel-1.42.0-1.mga8.x86_64
  lib64ntfs-3g88-2017.3.23-10.mga8.x86_64
  lib64pam-devel-1.3.1-7.mga8.x86_64
  lib64poppler-cpp0-20.12.1-1.mga8.x86_64
  lib64psl-devel-0.21.1-1.mga8.x86_64
  lib64qpdf28-10.1.0-1.mga8.x86_64
  lib64qrcodegencpp1-1.6.0-1.mga8.x86_64
  lib64sane-hpaio1-3.21.12-3.mga8.x86_64
  lib64sasl2-devel-2.1.27-3.1.mga8.x86_64
  lib64ssh-devel-0.9.6-1.mga8.x86_64
  lib64turbojpeg0-2.0.6-1.mga8.x86_64
  lib64unistring-devel-0.9.10-4.mga8.x86_64
  lib64xm4-2.3.8-2.mga8.x86_64
  lib64xp6-1.0.3-4.mga8.x86_64
  lm1100-1.0.2a-22.mga8.x86_64
  lxcontrol-1.3-25.mga8.noarch
  min12xxw-0.0.9-19.mga8.x86_64
  ml85p-0.2.0-15.mga8.x86_64
  motif-2.3.8-2.mga8.x86_64
  mpage-2.5.7-3.mga8.x86_64
  mscompress-0.4-7.mga8.x86_64
  mtink-1.0.16-22.mga8.x86_64
  net-snmp-mibs-5.9-1.mga8.x86_64
  netcat-traditional-1.10-42.mga8.x86_64
  netpbm-10.87.01-3.mga8.x86_64
  oki4linux-2.1gst-19.mga8.x86_64
  paper-2.3-1.mga8.x86_64
  pbm2l2030-1.4-18.mga8.x86_64
  pbm2lwxl-0-17.mga8.x86_64
  pbmtozjs-0-19.mga8.x86_64
  pentaxpj-1.0.0-17.mga8.x86_64
  perl-IPC-Run3-0.48.0-7.mga8.noarch
  pnm2ppa-1.13-10.mga8.x86_64
  poppler-20.12.1-1.mga8.x86_64
  poster-0-0.20060221.14.mga8.x86_64
  postscript-ppds-2006-16.mga8.noarch
  ppmtocpva-1.0-20.mga8.x86_64
  ppmtomd-1.6-7.mga8.x86_64
  printer-filters-2008-16.mga8.noarch
  printer-testpages-2006-14.mga8.noarch
  printer-tools-2008-15.mga8.x86_64
  printer-utils-2008-16.mga8.noarch
  psutils-2.04-1.mga8.noarch
  publicsuffix-list-20201130-1.mga8.noarch
  python3-pillow-8.1.2-1.1.mga8.x86_64
  python3-reportlab-3.6.2-1.mga8.x86_64
  rootcerts-java-20220324.00-1.mga8.noarch
  scli-0.4.0-13.mga8.x86_64
  stylewriter-0.9.9.1-0.git20170426.3.mga8.x86_64
  task-printing-2018-6.mga8.x86_64
  task-printing-canon-2018-6.mga8.x86_64
  task-printing-epson-2018-6.mga8.x86_64
  task-printing-hp-2018-6.mga8.x86_64
  task-printing-lexmark-2018-6.mga8.x86_64
  task-printing-misc-2018-6.mga8.x86_64
  task-printing-okidata-2018-6.mga8.x86_64
  task-printing-server-2018-6.mga8.x86_64
  transfig-3.2.8b-1.mga8.x86_64
  vaapi-driver-vdpau-0.7.4-9.mga8.x86_64
  x125-0.2.3-15.mga8.x86_64
  xinetd-2.3.15.4-3.mga8.x86_64
  xsane-0.999-14.mga8.x86_64
  z42tool-0.4.3-20.mga8.x86_64
are now orphaned, if you wish to remove them, you can use "urpme --auto-orphans"


I am pretty sure that I don't want to remove those packages. It looks like doing that would wreck the installation.

Is there any easy way to remove the orphaned flag so I don't have to see this warning at every update?
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby sturmvogel » Apr 29th, '22, 20:19

You can mark them as un-orphaned:
https://wiki.mageia.org/en/Removing_packages#Mark_all_orphans_as_un-orphaned

But i would still recommend to remove some of the packages by hand (via MCC or urpme) to clean up your system. As example the old kernels like the 5.10.16 and not needed task-printing packages (for printers which you don't use)..
sturmvogel
 
Posts: 741
Joined: Jul 30th, '12, 00:39

Re: [SOLVED]NVidia GeForce RTX 3050 not supported in Mageia

Postby banjo » Apr 29th, '22, 22:17

Thanks for the link. I will give that a try.
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 476
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Previous

Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest

cron