You are not logged in.

#1 2007-11-14 12:52:11

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

xorgcfg

Any reason why xorgcfg was removed from the latest xorg-server package (1.4-5)? IMO, best graphical tool for X configure (xorgcfg -textmode).


Markku

Offline

#2 2007-12-02 18:36:03

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: xorgcfg

I am still wondering why xorgcfg is not enabled.
http://bugs.archlinux.org/task/8743?pro … r2=&sort2=


Markku

Offline

#3 2007-12-02 20:50:46

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: xorgcfg

Have you tried xorgconfig? I've never used xorgcfg -textmode, but this sounds similar. I use X -configure to auto-gen a basic xorg.cong file, then tweak it by hand, I have needed xorgconfig as a backup on certain older systems.

Offline

#4 2007-12-02 20:59:35

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: xorgcfg

file a bug then.

the preferred way of generating an xorg config is now X -configure

Offline

#5 2007-12-03 10:34:43

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: xorgcfg

iphitus wrote:

file a bug then.

Already filed by  Romashka.

I cannot give any comments about "X -configure" when not yet found a machine where it works. Gives errors but doesn't generate any xorg.conf (or am I missing something).
xorgconfig I have never liked, its not self-explanatory.


Markku

Offline

#6 2007-12-03 14:34:27

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: xorgcfg

This may be old, but what about "hwd -x" ?


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#7 2007-12-03 16:38:39

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

Re: xorgcfg

(Telling rasat about "hwd -x", lol.)

X -configure gives a minimal xorg.conf.new in the current directory (yes, that won't work if you just run startx afterwards), auto-probes the available drivers and chooses the best one (except for fglrx/nvidia of course), plus it adds all supported driver options as comments.

Last edited by byte (2007-12-03 16:39:48)


1000

Offline

#8 2007-12-03 19:41:36

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: xorgcfg

byte wrote:

(Telling rasat about "hwd -x", lol.)
X -configure gives a minimal xorg.conf.new in the current director.....

Hwd -x, byte made me to laugh, lol.... will answer later.

As I said, with "X -configure" I am not able to generate a xorg.conf.new. Four machines I tried use ati (fglrx) and nvidia.


Markku

Offline

#9 2007-12-04 07:32:57

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: xorgcfg

rasat wrote:
iphitus wrote:

file a bug then.

Already filed by  Romashka.

I cannot give any comments about "X -configure" when not yet found a machine where it works. Gives errors but doesn't generate any xorg.conf (or am I missing something).
xorgconfig I have never liked, its not self-explanatory.

file a bug on X -configure then? If you already have X running, use X -configure :1. For me it put the config in my root home, /root/xorg.conf.new.  X -configure will not use nvidia/fglrx... so those various computers would need to have "nv" or the respective ATi drivers installed.

Ideal would be X -configure + hwd putting nvidia/ati in

Last edited by iphitus (2007-12-04 07:34:34)

Offline

#10 2007-12-05 14:02:31

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: xorgcfg

Crooksey wrote:

what about "hwd -x" ?

There was a similar question earlier, my reply: "Hwd's script in creating xorg.conf is a copy of Knoppix live cd, designed to work for all vga cards. Does well, thanks to ddcxinfo-arch by z4ziggy (developer of lshwd)."

The main difference between "xorgconfig" and "xorgcfg -textmode", the former only generates new xorg.conf... no editing. Xorgcfg work like an editor, select the device and respective feature or driver.

iphitus wrote:

Ideal would be X -configure + hwd

I managed to find one old nvdia. card. X -configure works fine, very clean job. I also found an other option, to copy all the sections from /var/log/Xorg.0.log which seems to work fine if xorg.conf doesn't exist. Requires the respective driver (xf86-video-<diriver-name>).

Yes, its a good idea to include several options in generating the xorg.conf, to get one of them to work with any vga card. Hwd-x + lshwd did rarely disappoint anyone. Now with pciutils and xorgtable (maybe also X -configure) has to get the same level of performance. Let see if possible.

Last edited by rasat (2007-12-05 17:46:26)


Markku

Offline

#11 2007-12-05 17:48:00

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: xorgcfg

From a test on two machines, ati and nv, the below xorg.conf works well. I assume it does fine in other machines by including the respective driver, and be used as base for further configure. Copied from /var/log/Xorg.0.log with grep after running twm (startx) without /etc/X11/xorg.conf. The nv default was edited.

grep -w -A 0 -B 15 EndSection /var/log/Xorg.0.log | grep -w -A 30 Section > xorg.conf

Xorg.0.log > xorg.conf

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

    Section "Files"
    EndSection

    Section "Monitor"
        Identifier    "Builtin Default Monitor"
    EndSection

    Section "Device"
        Identifier    "Builtin Default nv Device 0"
        Driver    "nv"
    EndSection
    Section "Screen"
        Identifier    "Builtin Default nv Screen 0"
        Device    "Builtin Default nv Device 0"
        Monitor    "Builtin Default Monitor"
    EndSection

    Section "Device"
        Identifier    "Builtin Default ati Device 0"
        Driver    "ati"
    EndSection
    Section "Screen"
        Identifier    "Builtin Default ati Screen 0"
        Device    "Builtin Default ati Device 0"
        Monitor    "Builtin Default Monitor"
    EndSection

    Section "Device"
        Identifier    "Builtin Default fbdev Device 0"
        Driver    "fbdev"
    EndSection
    Section "Screen"
        Identifier    "Builtin Default fbdev Screen 0"
        Device    "Builtin Default fbdev Device 0"
        Monitor    "Builtin Default Monitor"
    EndSection

    Section "Device"
        Identifier    "Builtin Default vesa Device 0"
        Driver    "vesa"
    EndSection
    Section "Screen"
        Identifier    "Builtin Default vesa Screen 0"
        Device    "Builtin Default vesa Device 0"
        Monitor    "Builtin Default Monitor"
    EndSection

    Section "Device"
        Identifier    "Builtin Default vga Device 0"
        Driver    "vga"
    EndSection
    Section "Screen"
        Identifier    "Builtin Default vga Screen 0"
        Device    "Builtin Default vga Device 0"
        Monitor    "Builtin Default Monitor"
    EndSection

    Section "ServerLayout"
        Identifier    "Builtin Default Layout"
        Screen    "Builtin Default nv Screen 0"
        Screen    "Builtin Default ati Screen 0"
        Screen    "Builtin Default fbdev Screen 0"
        Screen    "Builtin Default vesa Screen 0"
        Screen    "Builtin Default vga Screen 0"
    EndSection

I am now using the above xorg.conf in my machine with fewchanges. I run "aticonfig --initial --input=/etc/X11/xorg.conf" to get fglrx and then added fonts in "Section Files". The screen resolution is default (1920x1200).

For local keboard add this:

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "dell101"
    Option        "XkbLayout" "us" (your local keymap)
EndSection

In Section "ServerLayout" add:
    InputDevice    "Keyboard0" "CoreKeyboard"

For "hwd -x" I think I know what to do.


Markku

Offline

Board footer

Powered by FluxBB