Cheap Linux Hardware - How does XFree86 know what resolutions are available?

This is Interesting: Free IT Magazines  
Home > Archive > Cheap Linux Hardware > September 2007 > How does XFree86 know what resolutions are available?





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 How does XFree86 know what resolutions are available?
Mark Bratcher

2007-09-10, 1:12 am

I have a Diamond Stealth 3D 4000 (old card) that XFree86 knows and a new
monitor now that will handle 1280x1024 resolution. But when I run
system-config-display it doesn't offer this resolution. I can manually
edit xorg.conf and put that resolution in, but I can only select it from
gnome-display-properties. The system-config-display still doesn't know
that the card supports this resolution.

Where does system-config-display get its information? How can I make
this work properly?

Thanks.
Mark Bratcher

2007-09-10, 1:12 am

Mark Bratcher wrote:
> I have a Diamond Stealth 3D 4000 (old card) that XFree86 knows and a new
> monitor now that will handle 1280x1024 resolution. But when I run
> system-config-display it doesn't offer this resolution. I can manually
> edit xorg.conf and put that resolution in, but I can only select it from
> gnome-display-properties. The system-config-display still doesn't know
> that the card supports this resolution.
>
> Where does system-config-display get its information? How can I make
> this work properly?
>
> Thanks.


Sorry, I'm actually using Xorg.
Janaka

2007-09-10, 1:12 am

On Sep 10, 1:03 pm, Mark Bratcher <mbratch...@SPAM.rochester.rr.com>
wrote:
> Mark Bratcher wrote:
>
>
>
> Sorry, I'm actually using Xorg.


Sounds like an old Mitsubishi card with 4Mb of video ram, from 1995.
Which video device driver is has it detected ? is it Vesa ?

Thomas Richter

2007-09-10, 7:13 am

Mark Bratcher schrieb:
> I have a Diamond Stealth 3D 4000 (old card) that XFree86 knows and a new
> monitor now that will handle 1280x1024 resolution. But when I run
> system-config-display it doesn't offer this resolution. I can manually
> edit xorg.conf and put that resolution in, but I can only select it from
> gnome-display-properties. The system-config-display still doesn't know
> that the card supports this resolution.
>
> Where does system-config-display get its information?


From the EDID data of the monitor to one degree (i.e. the back-channel
from the monitor to the system where the monitor provides the available
display modes), then from the monitor data describing the necessary
timing for the monitor (e.g. minimal, maximal frequencies, etc.) and
from the available graphics memory.

I would look into the corresponding log file (/var/log/Xorg.log in your
case, likely) and see whether Xorg has anything to say about your
monitor and your card. Check for warning (WW) and error (EE) lines.

You can also try to add the resolution manually to Xorg.conf and see
what happens.

> How can I make
> this work properly?


Post your xorg.conf and Xorg.log file here and we'll see.

Greetings,
Thomas
Shadow_7

2007-09-10, 7:13 am

> Where does system-config-display get its information?
> How can I make this work properly?


Your video driver in combination with the supported modes of the monitor
is what determines what's available. Mostly the video driver. Many
drivers output available modes to the log file (/var/log/Xorg.0.log). If
you can change /etc/X11/xorg.conf for the desired mode(s) and it works,
then more power to you.

cat /var/log/Xorg.0.log | grep -i "Hz"

or just use less or more instead of grep. You may find that different
drivers offer different mode selections even for the same card and
monitor. Like fglrx versus the radeon driver. Or any card specific
driver versus the generic vesa driver. As determined by your "Driver"
line in xorg.conf from the "Device" section(s).

HTH
Mark Bratcher

2007-09-10, 7:13 pm

Mark Bratcher wrote:
> Mark Bratcher wrote:
>
> Sorry, I'm actually using Xorg.


Thanks for all the great responses. I found I can hand edit the
Xorg.conf and make use of 1280x1024. I do have to set the 60Hz through
the gnome-display-properties and say "make this the default" to get it
to stick for my login.

However, I don't know how to get the 60Hz to stick for the whole system
(gdm, other logins, etc).

Meanwhile, attached are my Xorg.conf and Xorg.0.log files. Thanks for
any further suggestions.


Mark Bratcher

2007-09-10, 7:13 pm

Janaka wrote:
> On Sep 10, 1:03 pm, Mark Bratcher <mbratch...@SPAM.rochester.rr.com>
> wrote:
>
> Sounds like an old Mitsubishi card with 4Mb of video ram, from 1995.
> Which video device driver is has it detected ? is it Vesa ?
>

I neglected to mention it's got the S3 ViRGE/GX2 chip set. So it uses
the s3virge driver under Linux.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com