Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462656 - x11-base/xorg-server should automatically load nvidia graphics driver
Summary: x11-base/xorg-server should automatically load nvidia graphics driver
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-03-22 06:58 UTC by sg313
Modified: 2013-05-05 07:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sg313 2013-03-22 06:58:44 UTC
Other distros patch xorg to autoload nvidia driver if card is present. This allows using an nvidia card without an xorg.conf. I suggest applying the patch to gentoo's xorg-server as well

Reproducible: Always




The patch from arch 

https://projects.archlinux.org/svntogit/packages.git/plain/trunk/autoconfig-nvidia.patch?h=packages/xorg-server

applies cleanly.

Ebuild for xorg-server-1.13.1 must be modified as follows:
--- /usr/portage/x11-base/xorg-server/xorg-server-1.13.1.ebuild	2013-01-21 03:01:33.000000000 +0100
+++ /usr/local/portage/x11-base/xorg-server/xorg-server-1.13.1.ebuild	2013-03-22 07:40:10.106479549 +0100
@@ -112,6 +112,7 @@
 	"${UPSTREAMED_PATCHES[@]}"
 	"${FILESDIR}"/${PN}-1.12-disable-acpi.patch
 	"${FILESDIR}"/${PN}-1.13-ia64-asm.patch
+	"${FILESDIR}"/${PN}-autoconfig-nvidia.patch
 )
 
 pkg_pretend() {
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-23 02:51:25 UTC
> Other distros patch
I won't comment on patch policies of Arch or other distros. x11 team is not keen on maintaining patches to our packages indefinitely, but we will consider backporting the patch after it has been merged upstream.

Note that a similar change was already rejected by upstream a while ago: http://lists.freedesktop.org/archives/xorg/2008-July/037098.html
Comment 2 sg313 2013-05-05 07:52:51 UTC
I see, thanks for your time.