Bug 266682 - x11/nvidia-driver-340: driver ABI does not support latest xorg server
Summary: x11/nvidia-driver-340: driver ABI does not support latest xorg server
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-28 16:06 UTC by Marty Stanquist
Modified: 2024-02-17 02:24 UTC (History)
7 users (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marty Stanquist 2022-09-28 16:06:28 UTC
Port x11/nvidia-driver-340

FreeBSD 13.1-RELEASE-p2
xorg-7.7_3
xorg-server-21.1.4_1,1
open-motif-2.3.8_2
nvidia-driver-340-340.108_3
PNY GeForce GT 210, 610, 710

The nvidia driver 340 no longer loads at system startup with recent software changes with log files indicting that it needs to be updated to the most recent xorg server ABI. The following message is listed at startup:

file /var/log/Xorg.0.log

WARNING
This server has a video driver ABI version of 25.2 that this driver does not officially support. Please check http://www.nvidia.com/ for driver updates or downgrade to an X server with a supported driver ABI.

I am seeing this error on multiple 64-bit machines and graphics cards.
Comment 1 Florian Walpen 2022-10-06 22:27:40 UTC
For the records, I successfully use the workaround proposed in the error logs, which is to set the "-ignoreABI" flag when starting Xorg server.

As a permanent solution, add the following lines to /usr/local/etc/X11/xorg.conf.d/nvidia.conf (or whatever xorg.conf is used):

Section “ServerFlags”
Option “IgnoreABI” “true”
EndSection

Found the config workaround here:
https://forum.manjaro.org/t/falied-to-start-light-display-manager-nvidia-340xx-drivers-related/91574
Comment 2 Mike Karels freebsd_committer freebsd_triage 2022-10-12 19:34:41 UTC
(In reply to Florian Walpen from comment #1)
Thanks for the IgnoreABI hint!  I wasted about half a day trying to work around this before checking for a bug.

It would be very useful if the server upgrade offered a warning or hint about this problem.  I attempted to upgrade to a newer Nvidia driver, but it was too new for my card, so I tried to downgrade other components.  Too painful.
Comment 3 lu9dce 2023-01-31 23:07:59 UTC
(In reply to Florian Walpen from comment #1)

/usr/local/etc/X11/xorg.conf.d/nvidia.conf

Section "ServerFlags"
Option "IgnoreABI" "1"
EndSection


this is how it works perfect

if this is going to be like that

It should be included in a comment after the installation

or make it autogenerate only one

/usr/local/etc/X11/xorg.conf.d/nvidia.conf

with these parameters


tks !!!