LinuxQuestions.org
Review your favorite Linux distribution.
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 10-19-2003, 11:39 AM   #1
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Rep: Reputation: 0
Samsung 151s LCD monitor: what to put in XF86Config-4?


Hi all,

Having installed Debian, I keep getting errors when trying to 'startx'.

The error is 'Screen(s) detected but no usable configuration' (or very similar to that, I'm not in linux right now, as I can't configure my ethernet card but that's another story.)

I looked around the web a little, and couldn't find much about how to correctly configure this screen.

So, does anyone have this screen working properly, at 1024x768x24@60Hz, and if so, how did you do it?

Thanks,

kiltie.
 
Old 10-19-2003, 12:09 PM   #2
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Is this a new monitor? If so, I'm assuming you still have the documentation for it -- this will ensure you're using the correct refresh rates and such. In any event, if you post your XF86Config-4 files, we could be of a lot more help.
 
Old 10-19-2003, 01:12 PM   #3
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Yes, it's new and according to the manual the Horizontal range is 30-60KHz and Vertical is 56-75Hz.

When I run Win2K, the monitor runs at 1024x768, 48.4Khz, 60Hz, --

Here's the XF86Config-4 file:
#start
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "uk"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nv"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-60
VertRefresh 56-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
#end

If it's relevant, I'm using a Geforce 3 Ti200 card.

Thanks,

kiltie.
 
Old 10-19-2003, 03:24 PM   #4
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Okay, I'm also using a Geforce in Debian, and I had a similar problem because of the frame buffer. Try setting "UseFBDev" to "false" in your video card section.
 
Old 10-19-2003, 04:48 PM   #5
kiltie
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you! I now have a lovely, shiny desktop

One small irritation is that the whole desktop is shifted to the right by about 20 pixels. Any idea what I might do to cure that?
 
Old 10-19-2003, 09:08 PM   #6
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Hey, happy to here you got your window manager up! As for the off-set pixelation, I'm afraid I don't have any advice other than manually adjusting your monitor, sorry

Maybe some other users have an idea?
 
Old 11-25-2006, 01:44 PM   #7
Ben Looi
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
How I got my Samsung SyncMaster working

I had similar problems with the Samsung SyncMaster 151s, i.e, when I booted up my Mandriva Linux, I got a "Video Mode not supported" msg box popping up.

I read through this forum's reply, but couldn't get it to work. What is useful, though, was the HorizFreq and VertFreq range, ie 30-60 for Horizontal rate, and 56-75 for vertical rate.

This was what I did.

First, I selected linux - failsafe mode at by bootloader.
Then, did an "su" to get into root user mode to fiddle around with stuff.

I got into the X11R6 directory (I think it is in /etc/X11R6) on my computer. I tried a few times [#root>xf86cfg] and got into a blue screen with the "X"mouse cursor, but the vertical sizing was totally out. So, I did a "Ctrl-Alt-BckSpc" to get out of the graphical mode and back into my command line mode.

I then did a [#root>xf86config] and went through the usual "Q and A" procedures. All went well, including entering the sync ranges mentioned above, until I came to the video card selection. At first I selected the generic VGA card, but again this failed to start my X server.

So I got out of xf86config, and did this:
#root> lspci
This listed all my pci hardware and stuff, and I found that I have a SiS video card. Oh, I'm using a Creative SLiX barebone box with the integrated video card, by the way.

Tried the [#root>xf86config]again, this time I selected SiS video card (no. 25) and completed the other questions with default values. The sync ranges I used are still H=30-60 Hz, V=56-75Hz.

Then, holding my breath and keeping my fingers crossed, I started X.

Magic. Worked like a charm. I now have a working linux KDE GUI on my SyncMaster.

The fonts looked a little wierd for now...guess I have to do some tweaking, but overall, it's alive.

Hope this helps someone out there.

Last edited by Ben Looi; 11-25-2006 at 01:45 PM.
 
  


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
Samsung 19'' LCD - via epia trouble coolnicklas Linux - Hardware 2 12-02-2005 03:55 AM
Samsung 510N LCD monitor LuisG Linux - Hardware 1 07-03-2005 12:10 AM
Samsung SyncMaster 173S 17' LCD Monitor Compatible? minm Linux - Hardware 1 07-15-2004 11:35 PM
Samsung 151s LCD monitor and Red Hat 8.0 lazlow69 Linux - Hardware 1 05-29-2003 08:54 AM
Setting up LCD (Samsung SyncMaster 181T) Rounin Linux - Hardware 0 09-24-2002 09:12 PM

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

All times are GMT -5. The time now is 01:38 PM.

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