Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Xorg questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 1:59 pm    Post subject: [solved] Xorg questions Reply with quote

Hello Gentoo fans!

I'm just at installing Gentoo on my macbook, now at the point for the x server and I have a few questions on the output of startx:

Somewhere I get the line

Code:
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found


What does it mean? Do I have to put two device sections in my xorg.conf? One for PCI:0:2:1 and one for PCI:0:2:0? Is it somehow related to dual screen stuff?
Here's my entry for the graphics card:
Code:

Section "Device"
        Identifier      "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
        Driver          "intel"
        BusID           "PCI:0:2:0"
EndSection


Next issue...I get three similar lines like the following:
Code:

expected keysym, got XF86KbdLightOnOff: line 70 of pc


What do they tell me? After the 3 "keysym" lines the following note occurs:

Code:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server


Further I get the following and have no clue what it means:
Code:

xinit:  No such file or directory (errno 2):  Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


And in the end I get:
Code:

(EE) intel(0): I830 Vblank Pipe Setup Failed 0
.FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.


Anyone got an idea about all this?
It's not that my X isn't working, seems to run well, but I just want to know whats going on...its a matter of understanding.

greetings,

bienchen


Last edited by bienchen on Fri May 30, 2008 7:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213

PostPosted: Fri May 23, 2008 2:31 pm    Post subject: Reply with quote

can we see your whole xorg.conf?

cheers
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 2:54 pm    Post subject: Reply with quote

of course:

Code:

Section "Files"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "us"
   Option      "XkbVariant"   "mac"
   Option      "XkbOptions"   "lv3:ralt_switch"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "ZAxisMapping"      "4 5"
   Option      "Emulate3Buttons"   "true"
EndSection

Section "InputDevice"
        # updated 2007-12-07
        # use command "synclient -m 1" to see raw output
        # common stuff
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
       
        # not using edge scrolling
        Option          "HorizEdgeScroll"       "0"
        Option          "VertEdgeScroll"        "0"
       
        # use two finger scrolling
        Option          "VertTwoFingerScroll"   "1"
        Option          "HorizTwoFingerScroll"  "1" # set to 0 if you don't want horizontal scrolling
       
        # scroll speed, lower is faster
        Option          "HorizScrollDelta"      "10"
        Option          "VertScrollDelta"       "10"

        # minimum pressure motion factor
        Option          "PressureMotionMinZ"    "10"

        # touch and untouch thresholds, higher numbers if you like to push hard
        Option          "FingerLow"             "10"
        Option          "FingerHigh"            "20" # change to 30 or 40 if you like

        # borders based on output from synclient
        Option          "LeftEdge"              "20"
        Option          "RightEdge"             "1200"
        Option          "TopEdge"               "20"
        Option          "BottomEdge"            "370"

        # speeds, smaller number for a slower mouse
        Option          "MinSpeed"              "0.8" # 0.5 is very slow, 1.5 is very fast
        Option          "MaxSpeed"              "1.2" # up to 1.5 works ok
        Option          "AccelFactor"           "0.10"

        # tap times, change to suit your tapping habits
        Option          "MaxTapMove"            "100"
        Option          "MaxTapTime"            "100"
        Option          "MaxDoubleTapTime"      "200"
       
        # don't change these or two finger tap stops working
        Option          "TapButton2"            "3"
        Option          "TapButton3"            "2"

        # must be commented out or normal tapping wont work
        #Option         "TapButton1"            "0"

        # needed for disabled while typing fix 
        Option          "SHMConfig"             "on"
EndSection

Section "Device"
   Identifier   "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
   Driver      "intel"
   BusID      "PCI:0:2:0"
   # Beryl/ Compiz
   #Option          "DRI" "true"
   #Option          "XAANoOffscreenPixmaps" "true"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Modes      "1280x800"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"

   InputDevice   "Synaptics Touchpad"
EndSection


It's just a mixture of the conf from the gentoo macbook wiki and an ubuntu system.

greetings,

bienchen
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213

PostPosted: Fri May 23, 2008 4:03 pm    Post subject: Reply with quote

ok, as far as i can tell, it's good... anywho...

Quote:
xinit: No such file or directory (errno 2): Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


is dbus running?

the xkeyboard stuff, i wouldn't know about... it might be because you're using the mac xkbvariant... (but you might need that) either way, it's not a fatal error.

the fontpath stuff i've seen before too but never found it to be bothersome... again, not fatal.

as for the busid stuff... i'd check with "lspci" to make sure you're using the right id.

i hope this clears up a little bit... :lol:

cheers
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 4:33 pm    Post subject: Reply with quote

Hm, how do I check if dbus is running?
Is there a way to solve the fontpaht issue?

greetings,

bienchen
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213

PostPosted: Fri May 23, 2008 5:19 pm    Post subject: Reply with quote

bienchen wrote:
Hm, how do I check if dbus is running?


/etc/init.d/dbus status ?

cheers
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 7:04 pm    Post subject: Reply with quote

with dbus running (was indeed down) I get:

Code:
xinit:  Resource temporarily unavailable (errno 11):  Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: The name org.freedesktop.ConsoleKit was not provided by any .service files


A snip from `lspci`:
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)


Do we need something else from `lspci`?

greetings,

bienchen
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213

PostPosted: Fri May 23, 2008 7:13 pm    Post subject: Reply with quote

i would try 0:2:1, but 0:2:0 is probably the right one...

as for those other xinit errors, i googled for consolekit and came up with sys-auth/consolekit... got that installed? it's probably optional though. I see the dbus error went away... that's good. :)

the fontpath stuff you can ignore too, it's probably checking for fonts that aren't there... no biggie.

Quote:
(EE) intel(0): I830 Vblank Pipe Setup Failed 0


i don't know what causes that either.

cheers
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 8:08 pm    Post subject: Reply with quote

consolekit is already installed...
and if I use 0:2:1 I get a "no screen found" error. So it's 0:2:2...I guess it is related to dual screen mode.
The "(EE) intel(0): I830 Vblank Pipe Setup Failed 0" messages are probably from the driver itself?

greetings,

bienchen
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 8:16 pm    Post subject: Reply with quote

As a great philosophist once said:

Hit me baby, one more time...it might help

Thou, consolekit is installed but I remerged it and...there was a note after emerging telling me to "restart" the service...funny thing to restart something you don't have started anyway...same problem as dbus.

That is: One problem less.

So only the keyboard issue and the and the 0:2:1 thingi to go...probably the keyboard issue should go to the "gentoo on a macbook" thread.

greetings,

bienchen
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213

PostPosted: Fri May 23, 2008 8:35 pm    Post subject: Reply with quote

Quote:
The "(EE) intel(0): I830 Vblank Pipe Setup Failed 0" messages are probably from the driver itself?


yeah, but they don't seem to be fatal, so you can probably overlook them... you should see what non-fatal errors fglrx throws me... :lol:
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 23, 2008 8:40 pm    Post subject: Reply with quote

Yep, I don't care about them intel driver errors.

So, I go and try to solve the keyboard issue elsewhere and if I manage to do so, I come back, edit this thread and put it on [solved], right?

greetings,

bienchen
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Wed May 28, 2008 8:49 pm    Post subject: Reply with quote

I found something for the
Code:
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

"Problem" on http://wiki.x.org/wiki/FAQWarningMessages

I use this as a resolution to the problem, leaves me with the keyboard ;-)

greetings,

bienchen
Back to top
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4060

PostPosted: Thu May 29, 2008 1:36 pm    Post subject: Reply with quote

The 'XKEYBOARD keymap compiler' has to be ignored for now.
the other one goes away with recent enough x11-libs/libX11:
it stops when /usr/share/X11/XKeysymDB has that keysym defined.
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Fri May 30, 2008 7:32 pm    Post subject: Reply with quote

Queer...shortly after you writing about a new libx11 a new one was available and now that issue is solved :D

greetings,

bienchen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum