You are not logged in.

#1 2007-01-11 18:26:39

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

KDE runs ok without xorg.conf, won't run with xorg.conf

Hello everyone.

I'm writing this post from KDE on my newly installed Arch 64 system. But things aren't working the way they should. My LCD monitor has a native resolution of 1600x1200@60Hz, but KDE defaults to 1280x1024 and doesn't list 1600x1200 in its available screen resolutions.

When I went to add a 'modes' line in xorg.conf, I realized it wasn't there! A 'find' and a manual lookup of all the places suggested in 'man xorg.conf' shows that I don't have an xorg.conf file on my machine (and no XF86Config either).

If I run xorgconfig or its automated equivalent (I forget the name) and generate an xorg.conf file, nothing works: when launching KDE or plain X, my monitor displays '(!) out of range' (At least it's better than a completely blank screen...)

I really don't understand what's going on here. How does KDE run without an xorg.conf file?


Here are the details on my machine:

Graphics 'card': Intel GMA X3000 integrated
Monitor: Viewsonic vp2030b
CPU: Intel Core 2 Duo E6600

Here's what I've done from the start:

1. Downloaded Arch64 0.8  alpha iso on 2006-12-20
2. Installed base packages only.
3.

pacman -Sy
pacman -S kde
pacman -S xorg font-bh-ttf xterm sudo

4.At this point I tried

/etc/rc.d/kdm start

and got a 'out of range' message from my monitor. I realized it would be a good idea to install display drivers
5.

pacman -S xf86-video-i810
/etc/rc.d/kdm start

6.KDE shows up, but won't let me set my monitor to the desired resolution, as described above.

Does anyone have any idea as to what's going on?

Offline

#2 2007-01-11 18:32:40

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

Xorg is getting better and better at autodetection and -configuration, that's why. But you'll probably want to install the correct drivers for your card (pacman -Ss xf86-video-i), run X -configure, and tweak it a bit more.


1000

Offline

#3 2007-01-12 00:25:21

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

I've got the correct drivers (or so says Intel http://www.intellinuxgraphics.org/documentation.html).

However I have no idea where to start configuring. Does anyone understand the log files from X? It seems I always get the same errors no matter what I do with the conf file.

Offline

#4 2007-01-12 00:33:44

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

Could you please post your /etc/X11/xorg.conf?

peets wrote:

Does anyone understand the log files from X? It seems I always get the same errors no matter what I do with the conf file.

And post the errors, too. We cannot help without information.

Offline

#5 2007-01-12 01:10:00

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

Here is my xorg.conf file, generated by X -configure:

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

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "xtrap"
    Load  "glx"
    Load  "record"
    Load  "dbe"
    Load  "dri"
    Load  "type1"
    Load  "freetype"
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"
    #DisplaySize      410   310    # mm
    Identifier   "Monitor0"
    VendorName   "VSC"
    ModelName    "VP2030 SERIES"
 ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync    30.0 - 92.0
    VertRefresh  50.0 - 75.0
    Option        "DPMS"
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      "i810"
    VendorName  "Intel Corporation"
    BoardName   "Unknown Board"
    BusID       "PCI:0:2:0"
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

The log from X is a bit long to post, and it doesn't contain any errors. It's as if X thinks it's doing ok, but tries to display a screen that my monitor can't handle.

If I return to tty (Ctrl+Alt+F1) while X is trying to run, I can see a line that says

(1920x1440,Monitor0) mode clock 234MHz exceeds DDC maximum 170MHz

That's pretty much all the info I have.

-ppp

Offline

#6 2007-01-12 02:47:52

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

Your Monitor cannot stand more than 170MHz. The chosen resolution is too high.

Try adding a line

Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"

below each "Depth" entry in the Screen section.

Are you sure about the HorizSync and VertSync values? Did you enter them?[/code]

Offline

#7 2007-01-12 03:02:25

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

The sync values were auto-detected, but come within the limits given by the vendor (HF 24-92 kHz, VF 50-85 kHz).

As for the 'Modes' line, I've tried it before and it caused an error in X. I'll go ahead and try it again just to see what error message I get.

...

Nothing changes. I can tell which video modes are not used from reading X's log file, but it seems to think that many are valid (including some that have a resolution to high for my monitor).

However -this might be interesting- the log file tells me my monitor is a CRT. It's really an LCD. And I don't know what all these refresh frequencies and the like have to do with an LCD monitor. This just seems to be getting worse.

...

I plugged in an old CRT monitor and ran

 X -configure 

KDE now loads wihtout any problems (with the CRT monitor). However, if I run

X

I get a few errors: it tells me that module 'vga' and 'fbdev' do not exist.
Could this be an xorg installation problem?

Offline

#8 2007-01-12 04:22:41

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

Could you post the whole /var/log/Xorg.0.log file to pastebin.archlinux.org and provide for the url?

Offline

#9 2007-01-12 05:17:45

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

OK, the log that is generated when I start KDE with no xorg.conf file is at http://pastebin.archlinux.org/821.
The log file that is generated when I start KDE with the above xorg.conf file is at http://pastebin.archlinux.org/822.

I made a mistake with my last post. KDE did not really work properly with the xorg.conf file and the CRT monitor. It set the resolution to 1600x1200 by default, yet the monitor supports only up to 1024x768. However that was easy to change. Other than that it seemed fine (did good compared to X).

Oh, and thanks for your time mutlu_inek.

Offline

#10 2007-01-12 05:37:09

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

Your are right, the screen does not display 1600x1200. But 1280x1024 should work. The only reason that xorg does not use any of the settings is that it loads a standard xorg.conf (because it does not find any in /etc/X11) and there the horizontal and vertical sync and refresh rates are out of your screen's range:

(II) I810(0): Using detected DDC timings
(II) I810(0):   HorizSync 30-92
(II) I810(0):   VertRefresh 50-75
(WW) I810(0): config file hsync range 28-33kHz not within DDC hsync range 30-92kHz
(WW) I810(0): config file vrefresh range 43-72Hz not within DDC vrefresh range 50-75Hz

This will not be a problem any longer if you copy the xorg.conf to /etc/X11.

Reduce the "modes" lines accordingly:

Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"

Offline

#11 2007-01-12 05:47:01

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: KDE runs ok without xorg.conf, won't run with xorg.conf

You're right, now KDE launches properly with the xorg.conf file.

But I was able to get this far without xorg.conf. What I want is a 1600x1200 resolution.

Here's the X log file now: http://pastebin.archlinux.org/823. I'll go look at it myself.

Offline

Board footer

Powered by FluxBB