Driver copyright issue on screen display resolution!

RedHat Enterprise Linux 5.9

The ‘system’->‘administration’->‘display’->‘display settings’ listed ALL resolutions that the video card and monitor support.

The ‘system’->‘preferences’->‘screen resolution’ only listed PART of them without the high resolution listed.

This link explained it and provided the solution for changing the display resolutions:

It needs “driver” to replace “vesa”

Found driver from NVIDIA by running the utility called NVchooser.sh obtained from there. It suggested the right drivers: NVIDIA_kernel-1.0-4191.src.rpm and NVIDIA_GLX-1.0-4191.i386.rpm

However, when “rpmbuild --rebuild NVIDIA_kernel-1.0-4191.src.rpm” it complains:
“Legacy syntax is unsupported: copyright”
“Line 15: Unknown tag: Copyright: NVIDIA Corp. 2000”

Please help to get around with the copyright issue!

What?!

Where did you find these ancient drivers?

Look here for proper drivers for your hardware.

You will need to edit the nvidia spec file

Edit from

#
# Spec file for NVIDIA kernel module.
#
# $Header: //sw/main/drivers/resman/NVIDIA_kernel.spec#22 $
#
%define RELEASE 4191
%define CUSTOM_RELEASE 4191
%define rel	%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define ver     1.0

Summary: NVIDIA kernel module for NVIDIA Architecture support.
Name: 		NVIDIA_kernel
Version: 	%ver
Release: 	%rel
Copyright: 	NVIDIA Corp. 2000
Group: 		User Interface/X Hardware Support
Source: 	ftp://ftp1.detonator.nvidia.com/pub/drivers/english/XFree86_40/NVIDIA_kernel-%{ver}-%{RELEASE}.tar.gz
URL: 		http://www.nvidia.com
Vendor: 	NVIDIA Corp.
BuildRoot: 	%{_tmppath}/%{name}-%{PACKAGE_VERSION}
Packager: 	Buildmeister
Requires:	kernel >= 2.2.0
Requires:	rpm >= 3.0.4

change it to

#
# Spec file for NVIDIA kernel module.
#
# $Header: //sw/main/drivers/resman/NVIDIA_kernel.spec#22 $
#
%define RELEASE 4191
%define CUSTOM_RELEASE 4191
%define rel	%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define ver     1.0

Summary: NVIDIA kernel module for NVIDIA Architecture support.
Name: 		NVIDIA_kernel
Version: 	%ver
Release: 	%rel
License:        Redistributable, no modification permitted
Group: 		User Interface/X Hardware Support
Source: 	ftp://ftp1.detonator.nvidia.com/pub/drivers/english/XFree86_40/NVIDIA_kernel-%{ver}-%{RELEASE}.tar.gz
URL: 		http://www.nvidia.com
Vendor: 	NVIDIA Corp.
BuildRoot: 	%{_tmppath}/%{name}-%{PACKAGE_VERSION}
Packager: 	Buildmeister
Requires:	kernel >= 2.2.0
Requires:	rpm >= 3.0.4

As Birdie said the driver version is very old and the rpmbuild error is due to changes to rpm itself (copyright tag has been obsolete for many years).

Try using the elrepo for nvidia.

http://elrepo.org/tiki/tiki-index.php

birdie is right, you shouldn’t be using 4191. Please see the sticky post with the title Current graphics driver releases for information on which driver you need.