Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328001 - xorg-config.xml needs update for kms and xrandr 1.2
Summary: xorg-config.xml needs update for kms and xrandr 1.2
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/xorg-con...
Whiteboard:
Keywords:
: 332121 (view as bug list)
Depends on:
Blocks: 275338
  Show dependency tree
 
Reported: 2010-07-12 21:20 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2010-10-12 23:13 UTC (History)
3 users (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 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-12 21:20:39 UTC
Since the advent of xrandr 1.2, the configuration method for monitors in xorg.conf has changed. Furthermore, kernel modesetting requires that the kernel is properly configured (unsuprisingly).

I propose to create an updated kernel and xorg.conf section, drafts will appear at http://dev.gentoo.org/~chithanh/doc/en/ soon.
Comment 1 nm (RETIRED) gentoo-dev 2010-07-12 22:37:52 UTC
I'm already on the docs-team alias; no need to CC me, especially since I'm still on devaway for a bit longer.
Comment 2 nm (RETIRED) gentoo-dev 2010-07-13 01:16:01 UTC
Patches are more useful than linking to a complete guide. Also, be sure to stabilize all drivers and kernel versions that need/use KMS, as we track the stable ebuilds in our documentation.

Also, mentioning linux-firmware probably isn't the best idea, since it's far older than even radeon-ucode. And it'll pull in a bunch of cruft that users who just want working graphics don't need.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-13 07:40:00 UTC
It is my understanding that the firmware-linux package is intended to eventually replace most of the individual firmware packages.

I will also provide diffs.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-19 20:02:17 UTC
Please review: http://dev.gentoo.org/~chithanh/doc/en/xorg-config-20100719.xml
diff to xorg-config.xml: http://dev.gentoo.org/~chithanh/doc/en/xorg-config-20100719.xml.diff

Summary of changes:
- All information about configuring proprietary drivers is delegated to the nVidia guide and ATI FAQ
- Moved the make.conf configuration above kernel configuration for consistency with the handbook
- Add a section about kernel modesetting
- Update the section about xorg.conf for xrandr 1.2
Comment 5 nm (RETIRED) gentoo-dev 2010-07-19 22:47:19 UTC
(In reply to comment #4)
I'll be putting most of the sections back where they go; the order is more logical as it is. With the addition of the KMS stuff, of course.

However, as I said in comment #2, we still need the drivers stabilized, and the linux-firmware issue sorted out. Until that's done, I can't do much for the new recommendations.
Comment 6 nm (RETIRED) gentoo-dev 2010-07-19 22:49:31 UTC
Oops, forgot to take this one at the same time. Sorry for the extra noise. :)
Comment 7 nm (RETIRED) gentoo-dev 2010-07-19 22:58:18 UTC
(In reply to comment #5)
> (In reply to comment #4)
> I'll be putting most of the sections back where they go; the order is more
> logical as it is. With the addition of the KMS stuff, of course.
> 
> However, as I said in comment #2, we still need the drivers stabilized, and the
> linux-firmware issue sorted out. Until that's done, I can't do much for the new
> recommendations.

Eh, seems it has been stabilized, but hasn't hit my mirrors for syncing yet. Also, I got the okay to skip linux-firmware for now and just use radeon-ucode.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-31 23:22:56 UTC
xorg-server 1.7.7-r1, which contains a patch to use nouveau by default, goes stable now in bug 330593. So we can get rid of the nvidia example xorg.conf (listing 3.3).
Comment 9 nm (RETIRED) gentoo-dev 2010-08-29 03:28:49 UTC
*** Bug 332121 has been marked as a duplicate of this bug. ***
Comment 10 nm (RETIRED) gentoo-dev 2010-08-29 03:42:58 UTC
Okay, I rewrote the guide for KMS, open-source drivers, and whatnot.

chithanh, I didn't use your patches or code, but I did review them to get a rough idea of how rendered version would read. I do appreciate your knowledge and the fact that you took the time to write the patches in the first place! Since you know the subject matter, I'll probably ask you for a few pointers when it comes time to update the guide for the HAL -> udev migration.
Comment 11 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-09-30 06:59:52 UTC
Please also consider transferring the section about monitor layout (listing 4.2) to xorg-config.xml. In the past weeks I have encountered several users in IRC and the forums which have used obscure guides still describing the old method.
Comment 12 nm (RETIRED) gentoo-dev 2010-10-12 23:13:42 UTC
(In reply to comment #11)

Alright, I added some info on multiple monitors. Fixed; closing.