public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gdm-2.6.0.3, XOrg/Gnome problems with Xkb Options and Xorg/xfs problem
@ 2004-06-25 14:20 Kevin
  2004-06-25 14:57 ` Chris Gianelloni
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin @ 2004-06-25 14:20 UTC (permalink / raw
  To: gentoo-dev

Hi Folks-

Any particular reason why gdm-2.6.0.3 (latest) is not in portage?  I see 
that gnome 2.6 has been in portage for awhile now, and I have 2.6.1_rc1 
installed, but the latest gdm ebuild in portage is still 2.4.4.7-r1.

I just renamed my 2.4.4.7-r1 gdm ebuild in portage, put it in my overlay 
dir, renamed the selinux patch in files/ and wala, got a nice 2.6 gdm 
(which apparently has many new features over 2.4, though I haven't 
explored them at all yet).

While I'm asking about gdm, can anyone comment on these XOrg/Gnome 
problems I'm having (recently posted to gentoo-user but which elicited 
no replies)?

I recently upgraded from xfree-4.3.0-r5 to xorg-x11-6.7.0-r1 and am 
having some problems.  I've read the related posts in gentoo-user and 
gentoo-dev and in the forums, but don't see solutions to these issues 
being reported by anyone (though someone else in gentoo-user reported 
the same Xkb problem).

One of my problems is apparently with the XKB options in the DeviceInput 
section of xorg.conf, but it only seems to show up when starting gnome 
and then only when I login in to gdm as root.

I'm running this on an HP/compaq nx9010 laptop computer and I used the 
xorg.conf file found here 
http://www.freax.be/files/rh9_nx9010/fedora_-_xorg.conf as a base for 
my own.  I made some modifications to it based on the xorg docs I've 
read.

The hardware in this laptop is as follows:
P4 2.4GHz
512MB RAM
Bus1, Device5, Function0: ATI Radeon IGP 340M (rev 0)

I'm using the radeon driver that is included in the XOrg package because 
it's the only one that seems to give me a functional X display at all.  
I do have ati-drivers and ati-drivers-extra installed, but when I use 
the "fglrx" driver from ati-drivers in my xorg.conf file, X refuses to 
start at all.  The server reports no devices found so I guess the fglrx 
driver does not support the Radeon IGP 340M, but isn't that driver from 
ATI?  I tried the opengl-update ati command after putting fglrx in the 
Driver parameters of xorg.conf and before starting xdm (gdm), but no 
help there either.

The man 4 radeon page shows 2D-only support for this card/chip with this 
driver.  I'd like to have 3D support, but as I said, fglrx won't start 
up X.

Using the radeon driver, when I start X with XSESSION in make.conf set 
to Gnome (logging into gdm as root), I get a dialog that says:

===============
Error activating XKB configuration.
Probably internal X server problem.

X server version data:
Gentoo Linux (The X.Org Foundation 6.7.0, revision r1-1.1)
60700000

If you report this situation as a bug, please include:
-The result of xprop -root | grep XKB
-The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
===============

I've pasted the output of these commands here:

===============
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "", ""
===============

===============
 layouts = [us]
 model = pc105
 overrideSettings = false
 options = []
===============

I don't get this when I log in as a normal user.  Anyone know how to fix 
this or is it something I should even be concerned about (probably won't 
login to gdm as root very often---but are there other hidden 
consequences?)?

I don't get this when I login using kdm to start kde or when I use 
startx/.xinitrc to start enlightenment or fvwm or twm.  I'm using all 
of the latest packages (xorg-x11-6.7.0-r1, kde-3.2.3, gnome-2.6.1_rc1, 
fvwm-2.5.10-r5, enlightenment-0.16.7_pre4).

I've followed the guidance at 
http://freedesktop.org/~xorg/X11R6.7.0/doc/XKB-Config.html, but can't 
seem to resolve this problem with any clues there.  In fact, I think my 
xorg.conf file has the exact same options they describe using there 
(except pc105).

Below, I've included my xorg.conf file in case it helps someone figure 
out what's going on here.  I initially had "xfree" in the XkbRules 
Option parameter and that gave the same results.

===================

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"

        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        #InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "tcp/localhost:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
        Option      "XkbOptions" ""
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection


Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Generic Laptop Display Panel 1024x768"
        Option      "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
EndSection

Section "Device"
        Identifier   "First ATI Radeon Mobility IGP 345M"
        Driver       "radeon"
        VendorName   "ATI Radeon Mobility"
        BoardName    "Radeon Mobility IGP 345M"
        BusID        "PCI:1:5:0"
        Option       "AGPMode" "4"
        Screen       0
EndSection

Section "Device"
    Identifier      "Second ATI Radeon Mobility IGP 345M"
    Driver          "radeon"
    BusID           "PCI:1:5:0"
    VendorName      "ATI Radeon Mobility IGP 345M"
    BoardName       "Radeon Mobility IGP 345M"
    Screen          1
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "First ATI Radeon Mobility IGP 345M"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Second ATI Radeon Mobility IGP 345M"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection


Section "ServerFlags"
    Option "Xinerama" "true"
EndSection
===================

I'm also having difficulty getting X to work with the X Font Server 
using unix sockets (thus the tcp port mentioned above).  The xorg.conf 
man page states:

==================
FontPath "path"
sets the search path for fonts.  This path is a comma  separated
list  of  font  path elements which the Xorg server searches for
font databases.  Multiple FontPath entries may be specified, and
they  will  be concatenated to build up the fontpath used by the
server.  Font path elements may  be  either  absolute  directory
paths,  or  a  font  server identifier.  Font server identifiers
have the form:

    <trans>/<hostname>:<port-number>

where <trans> is the transport type to use  to  connect  to  the
font server (e.g., 1 for UNIX-domain sockets or tcp for a TCP/IP
connection), <hostname> is the hostname of the  machine  running
the  font  server, and <port-number> is the port number that the
font server is listening on (usually 7100).
==================

But I couldn't get X to start using either "1" or "unix" (older syntax?) 
in the place of <trans> above in any combination.  Does the hostname 
need to be present with unix sockets?  What about the port number?  I 
tried with and without hostname/port to no avail.

Can anyone point out any mistakes in my configs here?  Or perhaps offer 
suggestions on solutions?  I'd be glad to follow up with 
my /var/log/Xorg.0.log file with various parameters changed if it would 
help.

TIA.

-Kevin

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-25 21:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25 14:20 [gentoo-dev] gdm-2.6.0.3, XOrg/Gnome problems with Xkb Options and Xorg/xfs problem Kevin
2004-06-25 14:57 ` Chris Gianelloni
2004-06-25 16:29   ` [gentoo-dev] XOrg/Gnome problems with Xkb Options (was gdm-2.6.0.3, XOrg/Gnome...) Kevin
2004-06-25 18:06     ` Chris Gianelloni
2004-06-25 20:16       ` Donnie Berkholz
2004-06-25 21:23         ` [gentoo-dev] ati-drivers and Radeon IGP 340M (was: XOrg/Gnome...) Kevin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox