Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 display problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Fri Oct 11, 2002 9:38 pm    Post subject: X11 display problem Reply with quote

Hello! I have installed Gentoo Linux in the last week and have a few questions:

1. How can I find out, what X11 server is being used (I don't mean the version number)
2. Where and how can I specify the X11 server, that should be used?
3. Where can I set up the desktop size?

At the moment X11 starts in VGA mode but with a desktop of 1280x1024 (I guess)

I am using Gentoo Linux 1.4rc1 having a Diamond Viper V770 Ultra graphics card (NVidia Riva TNT2 Ultra Chip), 32MB memory.

Thanks

Christopher
Back to top
View user's profile Send private message
ciclic0
n00b
n00b


Joined: 29 Aug 2002
Posts: 44

PostPosted: Sat Oct 12, 2002 2:07 am    Post subject: Reply with quote

The configuration file of xfree is located in /etc/X11/XF86Config.

you must check two sections of this file.

#**********************************************************************
# Graphics device section
#**********************************************************************

#*****************************************************************
# Screen sections
#********************************************************************

If you don't want to edit this manuallly you have two options:
1) use xf86config. This is a script that is used to configure the xfree
2)xf86cgf -xf86config /etc/X11/XF86Config. This program run in graphic mode.
Back to top
View user's profile Send private message
wilbertnl
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 89
Location: Tulsa, OK, USA

PostPosted: Sat Oct 12, 2002 2:24 am    Post subject: Re: X11 display problem Reply with quote

Xfree86-4.x has only one server for all kinds of hardware.
The easiest way to create your configuration is:
Code:
XFree86 -configure

It will create a configuration file in your home directory.
See also
Code:
man xfree86

_________________
Wilbert van Bakel
Strive for excellence, not perfection
Back to top
View user's profile Send private message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Sat Oct 12, 2002 11:03 am    Post subject: Reply with quote

Hi!

Thanks a lot! My mouse is working fine - but I still am having problems with the display: the tool xf86cfg is a neet tool to set the resolution, but it just doesn't work! After restarting the X-Server nothing has chenged! :?

Please help!

Christopher
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Sat Oct 12, 2002 2:40 pm    Post subject: Reply with quote

I have the same kind of card! You are running that tool as root, right? Anyway, examples are given at the end of this post. Make sure you're using either the "nv" driver (or "nvidia" if you've emerged the official nvidia drivers). Have a look at the "Screen" section of your XF86Config file. The Modes keyword lists the available resolutions. The first listed resolution on a Mode line is the one that will be used by default. In my case, I just want 1024x768 but supposing you had:
Code:
Modes "800x600 1024x768 640x480"


then all those modes would be available, but X would use 800x600 by default. Maybe that's your problem. The other thing is that if you have not configured your monitor capabilities properly then X might not allow a certain resolution to be used. For best results, look up the vertical and horizontal sync ranges of your monitor model and make sure they're defined in the Monitor section, so X knows exactly what your monitor is capable of. Mine are reproduced below (which is exactly correct for my model of monitor, I got the info off Dell's site). The units are in Hz.

What else? Maybe the amount of RAM available on your video card chipset isn't being correctly detected, though I've never experienced that in practice.

xf86config can help you configure all of this stuff if you'd rather not edit your XF86Config, even if it isn't that user friendly.

BTW, you can switch dynamically between available resolutions with these keystrokes while X is running:

Ctrl / Alt / Num+
Ctrl / Alt / Num-


Examples follow:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "Riva_TNT2"
    Monitor     "Dell_ES17"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Monitor"

    Identifier  "Dell_ES17"
    HorizSync   31-85
    VertRefresh 48-100

EndSection

Section "Device"
    Identifier  "Riva_TNT2"
    # Video driver to be used specifed below ...
    Driver "nv"
    # You can override the amount of RAM X will think your video card has
    # This means 32Mb ...
    VideoRam  32768
EndSection
Back to top
View user's profile Send private message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Mon Oct 14, 2002 5:12 am    Post subject: X11 & KDE Reply with quote

... are up and running.

Thank you very much! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum