How can I make Sabayon recognize my Samsung monitor?

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

How can I make Sabayon recognize my Samsung monitor?

Postby whipper » Wed Sep 05, 2007 11:52

It currently recognizes it as a generic monitor and does not allow me to change the resolution to more than 1024x768 and does not give me refresh rates more than 60 Hz

Section "Monitor"

Identifier "Generic Monitor"
#Option "DPMS"

VertRefresh 43 - 60
HorizSync 28 - 80


I can setup the resolution but I am not sure what to type in for refresh rate. In Windows I simply use the maximum available refresh rate in 1024x768, which is 85 Hz

Plus my monitor causes random screen crashes if the monitor driver is not installed in Windows (Screen goes blank in a sudden etc) So I think I should make it recognize the model of the monitor as well.

I'm new to linux, trying to learn. So far I've seen Sabayon is a great distro.

Thanks in advance
whipper
Baby Hen
 
Posts: 1
Joined: Wed Sep 05, 2007 11:41

Re: How can I make Sabayon recognize my Samsung monitor?

Postby Fitzcarraldo » Wed Sep 05, 2007 14:08

SL won't change "Generic Monitor" Section "Monitor" in xorg.conf even if it and your graphics card read the EDID from the monitor, although if they have read the EDID I would expect the monitor to display at its native resolution, which you seem to be saying is not what happens in your case.

To see whether SL and your PC graphics card are reading the EDID from the monitor, have a look in the directory /var/log. There should be a log file called Xorg.93.log (or possibly Xorg.0.log). Open that log file with your favourite editor (I use gedit) and look through it to see whether DDC is detecting the monitor and what resolutions and frequencies are listed in the EDID. The contents of the log file should be reasonably straightforward to follow. From the information in the log file on my laptop, I edited xorg.conf to suit my monitor (yours will be different, of course):

Section "Screen"
Identifier "Laptop Screen" <---- Identifier name I made up. Just make sure it matches the identifier name you use elsewhere in xorg.conf.
Device "FGLRX" <---- Device name I made up. Just make sure it matches the device name you use elsewhere in xorg.conf.
Monitor "Laptop LCD" <---- Monitor name I made up. Just make sure it matches the monitor name you use elsewhere in xorg.conf.
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 1440 900 <---- I use this to force 1440 x 900 display on my external 1440 x 900 monitor. I remove it to enable 1680 x 1050 display on my laptop's monitor.
Depth 24
Modes "1680×1050" "1440×900" <---- The only two resolutions I'm interested in.
EndSubsection
EndSection

Section "Monitor"
Identifier "Laptop LCD" <---- Monitor name I made up. Just make sure it matches the monitor name you use elsewhere in xorg.conf (e.g. Section "Screen").
VendorName "Samsung" <--- I found out from the log file that my laptop's built-in monitor is actually made by Samsung.
ModelName "LTN154P1-L02" <--- I found out from the log file that this is the model number of the laptop's built-in monitor.
Modeline "1680x1050" 121.00 1680 1704 1792 1876 1050 1051 1054 1065 +Hsync +Vsync
Modeline "1440x900" 121.00 1440 1704 1792 1876 900 1051 1054 1065 +Hsync +Vsync
EndSection

(If you do not know what DDC (Display Data Channel) and EDID (Extended display Identifiction Data) are, Wikipedia has a good explanation.)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests