You are not logged in.

#1 2009-04-19 10:38:29

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

[solved] fresh installation + xorg 1.6.1 => cannot configure x server

Hello,

I installed Arch Linux on my Dell Latitude D400 laptop, installed xorg, xf86-video-intel driver and hwd. Then I tried to make xorg.conf file.
First, following wiki, I tried

Xorg -configure

Generated xorg.conf.new:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "record"
    Load  "dbe"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card1"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:0:2:1"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

I tested it and just got black screen and dead keyboard (couldn't even turn capslock LED on/off).
Then tried another ways mentioned in wiki, but hwd did not find Xserver installed and there was neither xorgcfg nor xorgconfig scripts in my /usr/bin.
I also tried to start x without any xorg.conf, but it generated black and white stripes on the screen and dead keyboard.
Any idea what to do?

Last edited by rzodkiewka (2009-04-20 08:36:48)

Offline

#2 2009-04-19 12:09:42

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

Update: I found more problems with xorg 1.6.1 configuration in 'Desktop Environments' forum. May I ask moderator to move my thread there?
I added hal to daemons in /etc/rc.conf, so when start x without xorg.conf my mouse and keyboard work, but still have only black and white stripes on the screen. Starting with autogenerated xorg.conf makes the same result, black screen, dead keyboard.

Offline

#3 2009-04-19 12:29:42

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

What are your computer specs about the screen?


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#4 2009-04-19 14:23:50

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

Dell Latitude D400 laptop built-in display.
Related piece of lspci output:

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

Offline

#5 2009-04-19 14:35:33

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

rzodkiewka , try to use intel-legacy driver (xf86-video-intel-legacy). This had been discussed in the forum and also in the xorg announcement.

Offline

#6 2009-04-19 15:08:30

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

Thanks, it was it.

Offline

#7 2009-04-19 21:22:11

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

Well, i thought it was solved.
I log in to fluxbox, installed better fonts, lcd filter (following http://wiki.archlinux.org/index.php/Fon … er_enabled). Setting polish keyboard layout without xorg.conf was a bit tricky, but I found similar problem in http://bbs.archlinux.org/viewtopic.php?id=70197, so made /etc/hal/fdi/policy/10-keymap.fdi as following:

<?xml version="1.0" encoding="ISO-8859-1"?> 
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

    
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">pl</merge>
      <merge key="input.xkb.variant" type="string" />qwerty</merge>

    </match>
  </device>
</deviceinfo>

and added

setxkbmap -layout pl &

to my .xinitrc and it worked.

The problem started when I tried to setup wireless. First tried ndiswrapper with generic driver, it used to work on this laptop, but not this time. Moreover, adding ndiswrapper to /etc/rc.conf daemons caused x errors - instead of fluxbox I got striped screen and dead keyboard again. Removed ndiswrapper and all worked fine.
Then installed b43-wfcutter and no longer could log in to fluxbox, just got black screen and, yeah, dead keyboard. Removed b43 with pacman, but it didn't help any more.
What is interesting, during all these experiments, when start x as root (with no .xinitrc at all), xterm appears and works normally.

Last edited by rzodkiewka (2009-04-19 21:24:13)

Offline

#8 2009-04-19 21:54:14

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

Okay, got x server working again when commented out sxkbmap in .xinitrc...
Its really weird!
And I need to set polish keyboard up somehow...

Offline

#9 2009-04-19 22:29:36

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

Does entering the following into a terminal switch your layout?

setxkbmap pl

Something to note, in your /etc/hal/fdi/policy/10-keymap.fdi you have  '/' after "string" in the variant line, which shouldn't be there.

Offline

#10 2009-04-20 07:15:28

rzodkiewka
Member
Registered: 2009-04-19
Posts: 41

Re: [solved] fresh installation + xorg 1.6.1 => cannot configure x server

rusty99 wrote:

Does entering the following into a terminal switch your layout?

setxkbmap pl

Yes, and it doesn't destroy x session when added to .xinitrc.

Something to note, in your /etc/hal/fdi/policy/10-keymap.fdi you have  '/' after "string" in the variant line, which shouldn't be there.

Thanks smile

Offline

Board footer

Powered by FluxBB