LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-25-2004, 09:37 AM   #1
hypernetics
Member
 
Registered: Oct 2003
Location: Berlin, GER
Posts: 35

Rep: Reputation: 15
Debian, SyncMaster 957DF and MSI Geforce4


Hello everybody,

since yesterday I hardly try to configure my Xfree86.
So I used the tool "xf86config" and entered the correct values for my graphic card and monitor.
I have a MSI Geforce4mx graphic card (64mb) and a Samsung Syncmaster 957df. The values for the frequency and sync I took from the samsung website.

Unfortunately when I start KDE, I only can use a resolution of 1024x768 @ 60Hz. But I want 1280x1024 @ 85Hz. What have I to configure to use this settings?

Thanks for help

Last edited by hypernetics; 11-25-2004 at 01:26 PM.
 
Old 11-25-2004, 02:18 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
As part of xf86config, you are asked to specify the set of resolutions that you want to use. (This question is asked for each color depth too BTW). It may simply be that you did not include 1280x1024 as one of your choices

Suggestions:

1. First, pressing "Ctl - Alt - +" simultaneously ("+" is the plus sign on the numeric keyboard) will toggle between all supported resolutions. Do this to loop through the resolutions you've selected. It may be that you just didn't make 1280x1024 the default.

2. If that doesn't work, post the contents of your XF86Config file, which should be in the /etc/X11 directory. Assuming that your card and your monitor are physically capable of supporting that resolution, manually editing the file to include an entry for that resolution is a trivial piece of work. Good luck with it -- J.W.
 
Old 11-25-2004, 02:31 PM   #3
hypernetics
Member
 
Registered: Oct 2003
Location: Berlin, GER
Posts: 35

Original Poster
Rep: Reputation: 15
Hello,

thanks for your reply. Here is an excerpt of my Config-File (unfortunately your hints didn't work):


Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

Load "type1"
Load "speedo"
Load "glx"
Load "dri"
EndSection

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection


Section "ServerFlags"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "syncmaster"

HorizSync 30-96
VertRefresh 50-160

EndSection


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

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "nv"
Driver "nv"
#VideoRam 65536
# 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 "nv"
Monitor "syncmaster"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

Screen "Screen 1"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
# Mode 0666
# EndSection

Does this help?
 
Old 11-26-2004, 05:51 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Hmm - well this looks pretty much OK to me - the only things I'd try doing would be to uncomment the following lines so that they look this way. (Just remove the # sign and any leading spaces) Using your favorite text editor, make these changes:
Code:
VideoRam 65536
as well as
Code:
Section "DRI"
Mode 0666
EndSection
Exit X completely, either by logging completely out, or just rebooting. Hopefully that should do it -- J.W.
 
Old 11-27-2004, 01:22 PM   #5
hypernetics
Member
 
Registered: Oct 2003
Location: Berlin, GER
Posts: 35

Original Poster
Rep: Reputation: 15
No sorry, this didn't work. The setting of which component is primarly responsible for the correct resolution? Graphic card or monitor? I never had problems under other distributions like SuSE etc. Unfortunately I never saved the settings in this config file :-((
 
Old 11-27-2004, 04:50 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Sorry it didn't work. I'm not sure what the issue is, because everything looks to be in order in your XF86Config, and so long as your video card and monitor are physically able to support that resolution, things look OK, at least to me. As for your question, in the XF86Config file, the default resolution is determined by the "DefaultDepth" setting in the "Screen" section (which is 24) and then the first entry in the "Modes" line corresponding to that depth (which is 1280x1024).

The only other thing to try I would try would be to set the DefaultDepth to 16 instead of 24, then exit X completely, startx again, and see if that makes a difference. Hopefully others will have other suggestions. Good luck with it -- J.W.
 
Old 11-30-2004, 09:34 AM   #7
hypernetics
Member
 
Registered: Oct 2003
Location: Berlin, GER
Posts: 35

Original Poster
Rep: Reputation: 15
Hi J.W.,

it works now. I had two Device-entries in the config-file:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "nv"
Driver "nv"
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection

When I comment out the "Standard VGA"-device, everything works perfectly. I lost sight of this, sorry.

Thanks so much for you help.

Hypz
 
  


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
debian install on MSI K8N NEO2 (amd64) dgrego Debian 1 06-08-2005 07:47 AM
LCD SyncMaster refresh ? coxis Linux - Hardware 0 01-07-2005 04:45 PM
Samsung SyncMaster 3 pcflight Linux - Hardware 1 08-27-2004 06:46 PM
Samsung Syncmaster 170t iotc247 Linux - Hardware 0 05-30-2004 09:38 PM
Samsung SyncMaster for SuSE 9.0 NoviceW Linux - Hardware 3 05-30-2004 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 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