| Summary: | USE=hal x11-base/xorg-server - Xorg autoconfiguration fails with x11-drivers/nvidia-drivers | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Carter Young <ecyoung> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | pva |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 302537 | ||
| Bug Blocks: | |||
| Attachments: | Copy of the X.org log file that errors out with USE Flag hal enabled | ||
|
Description
Carter Young
2010-01-27 22:11:37 UTC
Please attach a relevant Xorg.?.log Created attachment 217791 [details]
Copy of the X.org log file that errors out with USE Flag hal enabled
Please tell me if I'm missing a piece to the HAL configuration after you read through.
I followed the XOrg Config HOWTO on the Gentoo Docs page to a tee, but please tell me if I've missed anything after looking at the log file. I followed the XOrg Config HOWTO on the Gentoo Docs page to a tee, but please tell me if I've missed anything after looking at the log file. I copied files into /etc/hal/fdi also, so I'm baffled as to why HAL reports no devices after the built in configuration. 5. As a side note, when hal is enabled, with /etc/X11/xorg.conf the value of
XSESSION is ignored and when startx is called the session defaults to TWM and
echo "${XSESSION}" returns a blank line
Sorry, but I don't get this. Please, read http://www.gentoo.org/doc/en/xorg-config.xml section "Using startx". You are supposed to set XSESSION somewhere.
I added Gnome to /etc/env.d/90xsession with echo XSESSION="Gnome" > /etc/env.d/90xsession, but that does no good when HAL refuses to startx properly. See the attached log. Without an xorg.conf I get the crash. With HAL and an xorg.conf, I get TWM even though Gnome is set in /etc/env.d/90xsession This should not happen, as X should be able to start. Could you try following patch: http://cgit.freedesktop.org/xorg/xserver/commit/?id=aef6b904ebf0d7de6259058606c7c04ea177bda3 I am currently away from my Gentoo box looking for jobs in the Windows World. I should be back on Friday, and I'll let you know the results then. X doesn't use HAL for video cards. Only input drivers are concerned. Since nvidia-drivers is a binary driver, you need to specify it in your xorg.conf for it get loaded and used. Please use nvidia-settings to configure your X. Thanks Rémi btw, if there will be any new revision of 1.6.5 I suggest to take patch in comment #7. Some description of what is fixed is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508476#24 For what it worth, I'd better go with 1.7.4 stabilization. (In reply to comment #9) > X doesn't use HAL for video cards. Only input drivers are concerned. > Since nvidia-drivers is a binary driver, you need to specify it in your > xorg.conf for it get loaded and used. Please use nvidia-settings to configure > your X. > Thanks I have no problem doing what you propose, but we are back to the circular documentation bug I reported earlier. See Description. As the XOrg doc states, it is preferred to run X without /etc/X11/xorg.conf. Something like a note or warning needs to be added to the documentation that those of us using the binary drivers cannot use XOrg "out of the box" without adding a vanilla configuration file with only certain sections added. |