You are not logged in.

#1 2011-06-02 10:30:43

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

[SOLVED] Need help with setting up X

Hello guys am new to the forum and this is my first post here. I am in need of a little help.

Need help with X configuration. It starts like this, I installed xorg-server , xorg-utils, xorg-server-utils. When I tried installed xorg-init it says no package, anyway I ignored and moved on.

Now I installed regular mesa stuff and installed xf86-video-ati driver for my HD4250 graphics adapter. with libgl and ati-dri (I have old arch wiki print so it mentioned to install those while newer doesn't list some stuff)

Now the problem is that Xorg -configure doesn't work with newer X and nor the packages has generated /etc/X11/xorg.conf file.

Anyway I created the file manually and added each and every section as mentioned in the "old" guide that I have.

I even added a /etc/X11/xorg.conf.d/20-radeon.conf file for my graphics card with the content as

Section "Device"
            Identifire "r"
            Driver "radeon"
EndSection

After manually creating all such files I installed x-term, xclock and twm. But when I tried to start X by startx or Xinit it says command not found. Add to that a simple X shows couple of errors.

Please see the errors here Paste #399362 | LodgeIt!


Some more questions : My old guide mentioned to install HAL while newer guide on the net mention DBUS. Though I have added DBUS to be on the safe side but why not HAL ? Is it because of Udev ?

So please help me getting X up and running.

Regards

Last edited by Shashwat (2011-06-04 09:47:47)

Offline

#2 2011-06-02 11:09:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Need help with setting up X

The package name is xorg-xinit - you need it to run startx.

Offline

#3 2011-06-02 11:14:47

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: [SOLVED] Need help with setting up X

Thanks  will try that. What needs to be done about the errors that I get with xorg.conf ?

Offline

#4 2011-06-02 11:16:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Need help with setting up X

Shashwat wrote:

Thanks  will try that. What needs to be done about the errors that I get with xorg.conf ?

'Identifire' in the "Screen" section is spelled the wrong way, it should read 'Identifier'.

Last edited by karol (2011-06-02 11:18:10)

Offline

#5 2011-06-02 11:40:42

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: [SOLVED] Need help with setting up X

Ok  I sorted out the misprints in the file and installed xinit but still can't get it to work.

1. There are few errors in xorg.conf that I cannot make it out.
2. The X output says no screen found. ?

http://paste.pocoo.org/show/399383/

Now when I add EndSection at the last its says invalid parameter and when I remove it, I get an error "No EndSection, EOF missing"

Kind of bugging tongue

Please do help.

Offline

#6 2011-06-02 11:45:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Need help with setting up X

You have to end the SubSection "Display".

Section "Screen"
    Identifier    "Screen0"
    Device        "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport     0 0
        Depth        24
        Modes        "1024x768" "1280x720" "1440x900" "1680x1050" "1920x1080"
    EndSubSection
EndSection

Last edited by karol (2011-06-02 11:49:07)

Offline

#7 2011-06-02 12:08:14

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: [SOLVED] Need help with setting up X

Thanks smile

Let me give this a try, does rest of the config seems fine ?

Offline

#8 2011-06-02 12:09:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Need help with setting up X

Shashwat wrote:

Thanks smile

Let me give this a try, does rest of the config seems fine ?

I don't use xorg.conf at all - you can try too.

Xorg will automatically load the driver and it will use your monitor's EDID to set the native resolution. Configuration is only required for tuning the driver.

Offline

#9 2011-06-02 13:07:47

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: [SOLVED] Need help with setting up X

Thanks a ton. Everything working.

But now the issue is that when I use startx my monitor display a message Not optimum mode 60hz and something like that. The Xterm and clock work fine for say few minutes and after that my monitor goes out of sync and nothing appears

Plus using xinit doesn't show anything.

Here is the log file when I get everything to work smile http://paste.pocoo.org/show/399417/

Offline

#10 2011-06-04 09:46:38

Shashwat
Member
From: India
Registered: 2011-05-08
Posts: 101

Re: [SOLVED] Need help with setting up X

Thanks for helping. Its working now smile

http://imgur.com/JI6xa

--mod edit: use thumbnails, see https://wiki.archlinux.org/index.php/Fo … s_and_Code

Last edited by litemotiv (2011-06-04 09:53:22)

Offline

Board footer

Powered by FluxBB