LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-30-2003, 09:58 AM   #1
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Rep: Reputation: 15
XF86Config screen resolution


I've added the resolution 1280x1024 in this file but it still defaults to 1024x768. is there something else i need to change too?
 
Old 08-30-2003, 10:24 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
How did you add it or where in the file did you add it? If you can post your file, we can maybe tell you what is wrong, or if its placed in the wrong location, etc.
 
Old 08-30-2003, 11:09 AM   #3
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 827

Rep: Reputation: 30
you probably have 1024x768 as the first resolution to try ie.

"1024x768" "1280x1024"
 
Old 08-30-2003, 01:20 PM   #4
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by hackers_
you probably have 1024x768 as the first resolution to try ie.

"1024x768" "1280x1024"

nope i have them with 1280x1024 first.

i guess i'll just post my file lol

need to boot up in linux first
 
Old 08-30-2003, 02:34 PM   #5
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
This is probably a really stupid question.....


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

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection

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

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "NEC LCD1701"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

EndSection
 
Old 08-31-2003, 08:44 AM   #6
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
noone can help?
 
Old 08-31-2003, 01:48 PM   #7
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Have you tried editing your XF86Config-4 file? I believe that with XFree86 4.x uses that file, while the XF86Config file is kept around for backwards compatibility with XFree86 3.x.
 
Old 08-31-2003, 04:34 PM   #8
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
at the moment you are using the "Vesa frame buffer" as your driver. If you use this driver the maximum resolution available is 1024x768. If you want a better resolution than this you will need to install the correct driver for your graphics card. For nvidia cards look on their website for "Linux and Free BSD drivers" in the driver download page, download and run the correct one (probably "NVIDIA-Linux-x86-1.0-4496-pkg2.run") then adjust you xf86config file as instructed by their readme. I have limited knowledge of other cards but generally the proceedure is essentially the same.

Last edited by LinFreak!; 08-31-2003 at 04:37 PM.
 
Old 08-31-2003, 06:39 PM   #9
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
In Slackware 9, XF86Config is the correct file for XFree86 4.3.0. Slack 9 doesn't include any 3.x versions of XFree86, so there is no need to maintain two files. LinFreak! is correct about where the problem lies. You need to use the correct driver for your video card to get the resolution that you want instead of the generic VESA frame buffer. However, most video cards work with drivers that come with XFree86, so it is probably not necessary to download a driver to get it to work. You just need to figure out which driver to use. If you do have an nVidia card, you should download the binary driver from their site in order to get the best performance. Some ATI cards can also use a binary driver from ATI, but not all can. If it is another kind of card, you should most likely stick with the driver that comes with XFree86. If you are unsure which driver to use, post what model video card you have and we can probably help you.
 
Old 08-31-2003, 06:48 PM   #10
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
Ah yes, Rodrin is right. If you are using an nvidia card, it might be simpler to use "nv" instead of "Vesa frame buffer" (hi res desktop but no 3d acceleration). No downloads needed - just change the xf86 config.
 
Old 09-01-2003, 01:00 PM   #11
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
well i used the drivers from the nvidia site and changed the

Driver "vesa" to
Driver "nvidia"

now an nvidia picture flashes up before X starts.

should i be using

Driver "nv" instead?
 
Old 09-01-2003, 02:28 PM   #12
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
No, if you have an nVidia based card, the "nvidia" driver will give you the best performance. I was just pointing out that you may have a card that is not based on an nvidia chipset and that the "nv" driver would also work for the resolution problem. The "nv" driver will not give you any 3D performance to speak of though.
 
Old 09-01-2003, 02:34 PM   #13
tentonipete
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
if the section looks like this


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

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "nvidia"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection


and i've loaded the drivers off the cd i got with the card. and the nvidia thing comes up when i start X i'm running with the nvidia drivers right?

now how do i get 1280x1024?
 
Old 09-01-2003, 03:02 PM   #14
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Uh, will your vid card support 1280x1024??
your video RAM shows 4096-------
your card is only 4 megs??
might not be enough memory to support it.

QUOTE---------------
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
QUOTE------------
your set up for 1280x1024@24 bit depth as shown above, but
your card appears not to have enough ......mojo to achieve this........

<edit/> you might try changing to 16 bit and see if your card will
render your settings.

Last edited by 320mb; 09-01-2003 at 03:04 PM.
 
Old 09-01-2003, 03:07 PM   #15
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
Quote:
Originally posted by tentonipete
if the section looks like this


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

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "nvidia"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection


and i've loaded the drivers off the cd i got with the card. and the nvidia thing comes up when i start X i'm running with the nvidia drivers right?

now how do i get 1280x1024?
Notice the video ram line is "hashed" out (has a # before it) so it is ignored by xf86
Now is a good time to read the xf86config file thoroughly and also find the online "HOWTO" for xf86.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
XF86Config / startx / display resolution and screen area pbhj Slackware 9 01-06-2005 07:17 PM
XF86Config & Screen Resolution help... trey85stang Slackware 6 04-25-2004 01:06 PM
Can someone help me with the XF86Config fle; resolution not going to 1024x768 qanopus Linux - Hardware 3 02-06-2004 04:04 AM
XF86Config - Settings For Correct Resolution On Second Monitor Svha Linux - Software 3 10-03-2003 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration