Cheap Linux Hardware - X Configuration

This is Interesting: Free IT Magazines  
Home > Archive > Cheap Linux Hardware > October 2005 > X Configuration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author X Configuration
Michael Shaw

2005-10-24, 10:06 am

Hi all,

I have a problem with my X configuration on my FC4 install. It will only
display in 640x480 and 800x600 using the gnome Screen Resolution. When
looking at my xorg.conf file, I noticed the following:

~~~~~~~~~~~~

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

~~~~~~~~~~~~

So, I changed it to:

~~~~~~~~~~~~

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

~~~~~~~~~~~~

But, after restarting X, the screen resolution app didn't offer 1024x768
as a choice.

What am I missing?

Thanks
Peter D.

2005-10-24, 10:06 am

Michael Shaw wrote in comp.os.linux.hardware:


[snip]
> Modes "1024x768" "800x600" "640x480"

[snip]
> But, after restarting X, the screen resolution app didn't offer
> 1024x768 as a choice.

[snip]

Check the other parameters, especially horizontal and vertical
refresh rates, are set correctly. Comment out the "Modes" lines.
Read through /var/log/Xorg.0.log (or similar).


--
Peter D.
Sig goes here...
Marty

2005-10-25, 2:47 am

Peter D. wrote:
> Michael Shaw wrote in comp.os.linux.hardware:
>
>
> [snip]
>
>
> [snip]
>
>
> [snip]
>
> Check the other parameters, especially horizontal and vertical
> refresh rates, are set correctly. Comment out the "Modes" lines.
> Read through /var/log/Xorg.0.log (or similar).
>
>

Thanks. I'll give it a whirl.
Reinhard Gimbel

2005-10-25, 7:47 am


Hi all !

Michael Shaw wrote:

> I have a problem with my X configuration on my FC4 install. It will only
> display in 640x480 and 800x600 using the gnome Screen Resolution. When
> looking at my xorg.conf file, I noticed the following:
>
> [...]
>
> But, after restarting X, the screen resolution app didn't offer 1024x768
> as a choice.
>
> What am I missing?


It is not only section "screens" you need to modify. You also need an
entry in section "modes" with timing information for the video signal to
be generated ...

But this might be difficult ... And times where we need to tweak all
that stuff by editing configuartion files should be over ... ;-)

Why don't you use YaST ? All you need you will find in
[hardware]-[graphics card & monitor]

If your monitor is not available among the selections you should browse
through [--> VESA] (or [--> LCD] if you have got a flat panel/LCD ...).

You might find several vertical refresh rates. You should start with
60Hz. You can test higher refresh rates later on.

Again: I recommend to use configuration tools already available and
*not* to try that by editing the configuration file (too many pitfalls ...)
--
Never give up !

Gruß,
Reinhard.
Reinhard Gimbel

2005-10-25, 7:47 am


Hi all !

Michael Shaw wrote:

> I have a problem with my X configuration on my FC4 install. It will only
> display in 640x480 and 800x600 using the gnome Screen Resolution. When
> looking at my xorg.conf file, I noticed the following:
>
> [...]
>
> But, after restarting X, the screen resolution app didn't offer 1024x768
> as a choice.
>
> What am I missing?


It is not only section "screens" you need to modify. You also need an
entry in section "modes" with timing information for the video signal to
be generated ...

But this might be difficult ... And times where we need to tweak all
that stuff by editing configuartion files should be over ... ;-)

Why don't you use YaST ? All you need you will find in
[hardware]-[graphics card & monitor]

If your monitor is not available among the selections you should browse
through [--> VESA] (or [--> LCD] if you have got a flat panel/LCD ...).

You might find several vertical refresh rates. You should start with
60Hz. You can test higher refresh rates later on.

Again: I recommend to use configuration tools already available and
*not* to try that by editing the configuration file (too many pitfalls ...)
--
Never give up !

Gruß,
Reinhard.
Chris

2005-10-25, 7:47 am

Reinhard Gimbel wrote:
>
> Hi all !
>
> Michael Shaw wrote:
>
>
>
>
> It is not only section "screens" you need to modify. You also need an
> entry in section "modes" with timing information for the video signal to
> be generated ...
>
> But this might be difficult ... And times where we need to tweak all
> that stuff by editing configuartion files should be over ... ;-)
>
> Why don't you use YaST ? All you need you will find in
> [hardware]-[graphics card & monitor]


Erm, because he's not using Suse :-/

> If your monitor is not available among the selections you should browse
> through [--> VESA] (or [--> LCD] if you have got a flat panel/LCD ...).
>
> You might find several vertical refresh rates. You should start with
> 60Hz. You can test higher refresh rates later on.


No. All LCDs are set to a refresh of 60Hz this is because
they don't refresh in the same way that CRTs do.

> Again: I recommend to use configuration tools already available and
> *not* to try that by editing the configuration file (too many pitfalls ...)


That's totally personal perference. Sometimes the auto
config tools don't get things right when you could do it
properly by hand. Plus it's good practice to know what's
going on. If X has failed and you need to modify your
settings on the console you're stuck as the config tools
don't work.
Reinhard Gimbel

2005-10-25, 5:49 pm


Hi !

Chris schrieb:

> Reinhard Gimbel wrote:
>
>
> Erm, because he's not using Suse :-/


Oops, probably missed the FC4 ...

>
> That's totally personal perference. Sometimes the auto config tools
> don't get things right when you could do it properly by hand. Plus it's
> good practice to know what's going on. If X has failed and you need to
> modify your settings on the console you're stuck as the config tools
> don't work.


Full ACK in editing config files in case the user knows what he is doing ...

I also learned pretty much while looking into config files like xorg.conf

But most of the time config tools do their job pretty good. (Well, I
have no idea about FC4's abilities ...)
--
Never give up !

Gruß,
Reinhard.
Michael Shaw

2005-10-26, 2:47 am

Reinhard Gimbel wrote:
>
> Hi all !
>
> Michael Shaw wrote:
>
>
>
>
> It is not only section "screens" you need to modify. You also need an
> entry in section "modes" with timing information for the video signal to
> be generated ...
>
> But this might be difficult ... And times where we need to tweak all
> that stuff by editing configuartion files should be over ... ;-)
>
> Why don't you use YaST ? All you need you will find in
> [hardware]-[graphics card & monitor]
>
> If your monitor is not available among the selections you should browse
> through [--> VESA] (or [--> LCD] if you have got a flat panel/LCD ...).
>
> You might find several vertical refresh rates. You should start with
> 60Hz. You can test higher refresh rates later on.
>
> Again: I recommend to use configuration tools already available and
> *not* to try that by editing the configuration file (too many pitfalls ...)


Thanks you all very much. I discovered the mode line when comparing the
xorg.conf files from my Ubuntu and FC4 machines to try and fix my Gentoo
machine, which I had just compiled (I run VMWare, in case your wondering).

Anyway, thanks again.

Michael
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com