LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Samsung 151s LCD monitor: what to put in XF86Config-4? (https://www.linuxquestions.org/questions/linux-hardware-18/samsung-151s-lcd-monitor-what-to-put-in-xf86config-4-a-105943/)

kiltie 10-19-2003 11:39 AM

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.

fragglehorn 10-19-2003 12:09 PM

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.

kiltie 10-19-2003 01:12 PM

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.

fragglehorn 10-19-2003 03:24 PM

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.

kiltie 10-19-2003 04:48 PM

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?

fragglehorn 10-19-2003 09:08 PM

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?

Ben Looi 11-25-2006 01:44 PM

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.


All times are GMT -5. The time now is 10:56 PM.