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 03-02-2008, 03:25 AM   #16
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by Emerson View Post
So you know SuSE comes with an old Xorg version which is not DDC aware?
I checked the version of x11 in suse10.3. It is version 4. I would suspect it to be the latest - suse generally go for the latest version. Not allways the safest way to go...

I changed the Monitor section. However, I now find it changed again by the system in some devious way. Suse tends to do these windows like mysterious things IMHO. I did not keep a copy of my changes, but I sure know that I had the sync lines commented out. The section now looks:

Code:
Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  376 301
  HorizSync    20-48
  Identifier   "Monitor[0]"
  ModelName    "FP222W"
  Option       "DPMS"
  VendorName   "BNQ"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection
The display size is surely wrong - it should be 474 297 (measured visible width height in mm.) Also, according to my reading of specs, HorizSync is 30-82 and VertRefresh is 56-76. I will try again to edit, but would not be surprised if suse restores it back to what it thinks is right.

BTW, in suse10.3, kdm is located at /opt/kde3/bin/kdm. I think that gdm is its equivalent when gnome, rather than KDE desktop manager is used. I agree that vi is not the most convenient editor, but it is good bet in any distro that it is there. Anyway, many people like it, too.

Thank you all for your contributions. I sure got a lot of valuable suggestions to go through.
 
Old 03-02-2008, 03:53 AM   #17
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
(1.) I'm curious if you have the "videogen" program mentioned. I'm using SuSE 10.3 and I don't think I have that program.
(snip...)

(2.) Which card are you using? If it is nvidia, you will want to install the nvidia drivers. In YaST2 -> Software there is a "Community Repositories" section that will include repositories for "NVidia" and for "ATI".
(snip...)
(1) I don't have a videogen program as the following dialog indicates:
Code:
amd64:~ # whereis videogen
videogen:
amd64:~ # videogen
-bash: videogen: command not found
(2) I did not install video card and use nvidia chipset on the mobo. According to mobo manual, that is NVidia GeForce 6100 nForce 430. I did install the NVidia driver, directly downloaded from the NVidia site and directly installed. It does mean that with every change of the kernel installation I need to re-install the NVidia driver, but I find it a small inconvenience. I will try your suggestion of looking for a package via Yast. It would make suse happier, I am sure.

I am truly grateful that a real guru has bothered to give me some clues - thank you!
 
Old 03-02-2008, 05:52 AM   #18
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Look in /var/log and scan through the Xorg log. Look for lines that begin with (EE). Since you installed the NVidia driver from their installation program, try the "nvidia-xconfig" program. Do you have the resolution you want in the "Modes" entries. You absolutely need that. Also run "krandrtray". This program is a handy way to change resolutions on the fly. It will also indicate which resolutions you can use with your current settings.
 
Old 03-02-2008, 08:44 AM   #19
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
here's my xorg.conf sections, if it might help you sort it. My LCD is 21", but the resolution is the same. Just plug in your hsync and vrefresh values and make sure the 1680x1050 res. is in the "Modes" line in the screen section:

Code:
Section "Monitor"

        Identifier "Monitor0"
        Option "DPMS" "true"

        VendorName   "Samsung"
        ModelName    "Samsung SyncMaster 215TW"

        HorizSync    30 - 81
        VertRefresh  56 - 75 

EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
                Modes "1680x1050"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1680x1050" 
        EndSubSection
EndSection
 
Old 03-02-2008, 11:13 PM   #20
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Your Monitor section doesn't have a UseModes[0] or Modeline entries.

On my laptop, there is a Use modes[0] line even though the Mode[0] section doesn't contain any Modelines.
Code:
Section "Modes"
    Identifier         "Modes[0]"
EndSection

Section "Monitor"
    Identifier     "Monitor[0]"
    VendorName     "HP"
    ModelName      "ZV5000"
    UseModes       "Modes[0]"
    DisplaySize     332    207
    HorizSync       32.0 - 48.0
    VertRefresh     40.0 - 70.0
    Option         "CalcAlgorithm" "XServerPool"
    Option         "DPMS"
EndSection
If that doesn't work use the gtf program.
gtf 1680 1050 60 x

Remove the ".00" from the modeline title. You could change the title to "1680x1050". This would mean you wouldn't have to edit the Screen Section.

If it still fails, read the xorg.conf log. Note any lines starting with (EE).

Last edited by jschiwal; 03-03-2008 at 09:06 PM.
 
Old 03-03-2008, 04:18 AM   #21
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
Look in /var/log and scan through the Xorg log. Look for lines that begin with (EE). Since you installed the NVidia driver from their installation program, try the "nvidia-xconfig" program. Do you have the resolution you want in the "Modes" entries. You absolutely need that. Also run "krandrtray". This program is a handy way to change resolutions on the fly. It will also indicate which resolutions you can use with your current settings.
I have implemented your suggestions prior to this one. I now have 1280x800 quite readable screen, with circles that are round and not egg-shaped. I will need to try "krandrtray", but first let me summarise what I did to get to this quite satisfactory screen appearance:

1. As suggested by you, I installed the Revision Control System (RCS) and use "ci -l xorg.config" to check in revisions and "co -l xorg.config" to check out the revisions when required. Minimal instructions in a very readable format are in man:/rcsintro, as shown by konqueror.

2. With mode still 1280x1024 (with oval shaped circles etc.), in Yast changed the screen size to nearest available diagonal, 22.2", x/y ratio to 16/10 and acceptable frequencies.

3. The gtf is fabulous - thank you for pointing out this program. With gtf help, I have installed the following modelines and referred to them by name as required in "Screen" section:
Code:
Section "Modes"
  Identifier   "Modes[0]"
  Modeline "1680x1050_66"  163.60  1680 1792 1976 2272  1050 1051 1054 1091  -HSync +Vsync
  Modeline "1280x800_70"  98.89  1280 1352 1488 1696  800 801 804 833  -HSync +Vsync
  Modeline "1024x640_70"  62.75  1024 1080 1184 1344  640 641 644 667  -HSync +Vsync
  Modeline "800x500_70"  37.35  800 832 912 1024  500 501 504 521  -HSync +Vsync
EndSection

Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      15
    Modes      "1680x1050_66" "1280x800_70" "1024x640_70" "800x500_70"
  EndSubSection
(other lines for different "Depths" with the same "Mode names".)
I am experiencing problems with Yast now. First, it takes a really long time to display sax2 configuration dialog. The dialog gives choice only to old resolutions with x/y ratio of 4/3. It is not urgent to resolve this as I can happily work with the current screen setup (1280x800). However, it does need to be resolved eventually. I think the reason for this, somewhat frustrating, display of available screens that are not in the /etc/X11/xorg.config is that there is another version of this configuration file in /var/lib/sax/xorg.config.

It seems to be derived from the original /etc/X11/xorg.config, prior to editing. It only has one Modeline in it. My sheer guess is that Yast uses that to display the screen in test mode when the "Test" option is invoked from yast's display of configuration dialog for monitor. I suspect that the problem would resolve itself if I were to copy the /etc/X11/xorg.config to /var/lib/sax/xorg.config. I am just a little worried about breaking the display system that now is satisfactory... (No Yast access, though...).

I think I should look at the logs, first. Thank you jschiwal - all your suggestions proved to be quite correct and most useful.

Also thanks are due to slackhack for his kind contribution, as well as all others.

OldAl.
 
Old 03-03-2008, 05:52 AM   #22
kuntergunt
LQ Newbie
 
Registered: Mar 2008
Location: Vienna
Distribution: Ubuntu, CentOS, Debian, Knoppix
Posts: 6

Rep: Reputation: 5
I have the FP222WH model (with an additional H), which is basically the same but alsohas an HDMI interface.
I could not get my screen running in PnP mode, so I generated the modelines from the technical specifications out of the manual.
Here is the configuration that works for me:

Section "Monitor"
Identifier "BenQ FP222WH"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1680x1050"
Horizsync 30.0-82.0
Vertrefresh 56.0 - 76.0
modeline "640x480" 30.60 640 656 664 816 480 482 483 505 # 31 MHz, 37.5 kHz, 74.3 Hz
modeline "800x600" 47.92 800 824 848 1024 600 602 604 632 # 48 MHz, 46.8 kHz, 74.1 Hz
modeline "1024x768" 78.70 1024 1056 1088 1312 768 770 773 808 # 79 MHz, 60.0 kHz, 74.2 Hz
modeline "1152x864" 99.36 1152 1192 1240 1472 864 866 869 909 # 99 MHz, 67.5 kHz, 74.3 Hz
modeline "1280x1024" 131.20 1280 1320 1384 1640 1024 1026 1030 1078 # 131 MHz, 80.0 kHz, 74.2 Hz
modeline "1680x1050" 142.68 1680 1736 1816 2152 1050 1052 1055 1105 # 143 MHz, 66.3 kHz, 60.0 Hz
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "BenQ FP222WH"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1680 1024
Modes "1680x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Old 03-04-2008, 01:36 AM   #23
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kuntergunt View Post
I have the FP222WH model (with an additional H), which is basically the same but alsohas an HDMI interface.
I could not get my screen running in PnP mode, so I generated the modelines from the technical specifications out of the manual.
Here is the configuration that works for me:

Section "Monitor"
Identifier "BenQ FP222WH"
(snip...)
Thank you for that. Somehow I managed to get to 1280x800 screen in suse10.3, which is satisfactory. I can not change the screen resolution from Yast (Yast->Hardware->Graphics Card and Monitor). Are you using suse 10.3?

I find 1280x800 quite satisfactory, but would like to find out more about the video configuration. jschiwal's suggestion of gtf for Modeline generation was very useful. I do have suse 10.3 installed twice, in two different partitions. I will try some configuration options in a partition that has pre-set screen sizes in the ratio 4/3 only. Yast "hides" that configuration somewhere... Or is it KDE, as "krandrtray" from the "kdebase3" package displays only choices for screens with x/y = 4/3 in my "spare" installation of suse10.3, which has not been configured for the wide screen at all.

I assume that the reason why your video chooses to start with 1680x1050 screen is that you have only one choice in the "Default Screen" section - is that right?

Schoenste Gruesse auss Australien - Verzeihung dass ich keine umlauts habe...

Many thanks,

Last edited by OldAl; 03-04-2008 at 06:22 PM.
 
Old 03-04-2008, 08:15 AM   #24
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by OldAl View Post
Thanks you for that. Somehow I managed to get to 1280x800 screen in suse10.3, which is satisfactory. I can not change the screen resolution from Yast (Yast->Hardware->Graphics Card and Monitor). Are you using suse 10.3?

I find 1280x800 quite satisfactory, but would like to find out more about the video configuration. jschiwal's suggestion of gtf for Modeline generation was very useful. I do have suse 10.3 installed twice, in two different partitions. I will try some configuration options in a partition that has pre-set screen sizes in the ration 4/3 only. Yast "hides" that configuration somewhere... Or is it KDE, as "krandrtray" form the "kdebase3" package displays only choices for screens with x/y = 4/3 in my "spare" installation of suse10.3, which has not been configured for the wide screen at all.

I assume that the reason why your video chooses to start with 1680x1050 screen is that you have only one choice in the "Default Screen" section - is that right?
No, if that's the only listed resolution and it doesn't work at that res then either X will fail, or else it might try to write some default configuration in the attempt to start.

If you're happy with 1280x800 on a 22" widescreen that's up to you, but you're really selling yourself short. Have you tried just the basic configuration, i.e.: adding the proper Hsync & Vrefresh values to the monitor section and "1680x1050" to the screens section? You shouldn't have to mess around with generated mode lines unless that first course of action fails.

As someone else said, jschiwal I think, you should look at and probably post the output of cat /var/log/Xorg.log.0 |grep EE while trying to start in 1680x1050 to find out what the errors are. We can't really help effectively if we're mostly just guessing and saying "try this, try that" without knowing what the actual problem is.
 
Old 03-05-2008, 12:55 AM   #25
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slackhack View Post
(snip..)
Have you tried just the basic configuration, i.e.: adding the proper Hsync & Vrefresh values to the monitor section and "1680x1050" to the screens section? You shouldn't have to mess around with generated mode lines unless that first course of action fails.

As someone else said, jschiwal I think, you should look at and probably post the output of cat /var/log/Xorg.log.0 |grep EE while trying to start in 1680x1050 to find out what the errors are. We can't really help effectively if we're mostly just guessing.
Thank you for the mail. I will try to follow your and some other recommendations on the "secondary suse10.3" installation on my computer. It is in a separate, but somewhat smaller partition, though it shares the data with the "main suse10.3" installation (via a symbolic link for Documents folder in the data partition.)

I will attempt to systematically record all I had done and report back to the list. In this manner I will be able to use my "main" suse10.3 for day to day activities (including chess playing on FICA with people from all corners of the earth. No, I am not a "chess great", just a "club player".)

Currently I am writing from the "secondary" suse10.3 with 1280x1024 resolution, just to say a BIG THANK YOU ALL.
 
Old 03-05-2008, 08:30 AM   #26
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by OldAl View Post
Thank you for the mail. I will try to follow your and some other recommendations on the "secondary suse10.3" installation on my computer. It is in a separate, but somewhat smaller partition, though it shares the data with the "main suse10.3" installation (via a symbolic link for Documents folder in the data partition.)

I will attempt to systematically record all I had done and report back to the list. In this manner I will be able to use my "main" suse10.3 for day to day activities (including chess playing on FICA with people from all corners of the earth. No, I am not a "chess great", just a "club player".)

Currently I am writing from the "secondary" suse10.3 with 1280x1024 resolution, just to say a BIG THANK YOU ALL.
here's a good Howto:
http://gentoo-wiki.com/HOWTO_Widescr...ns_%28WSXGA%29
 
Old 03-06-2008, 10:37 PM   #27
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Thumbs down

Quote:
Originally Posted by slackhack View Post
Had a first, so far superficial, look at it. It is an excellent reference - thank you for that!

I have tried on my "spare suse10.3" to do just about everything suggested without success. The xorg.conf.0.log has _no_ lines with EE (more accurately, it has only one line that explains the meaning of (EE), (WW) etc.)

With 1650x1050 resolution I get "out of range" message. I could not get even 1280x800 working, as SUSE "restored" xorg.conf to somewhere predetermined values with r = 4/3. As I had to kill x-windows with ctrl+alt+<-, the strongest warning I got in the log was "x-session terminated unexpectedly". I think what is happening is that x-windows is working "perfectly", but the monitor's bios detects out of its range signals and gives a warning to the user, whilst x-windows has nothing to complain about...

In suse the xorg.conf is generally generated by the suse system (sax2, probably). In fact, xorg.conf is in at least two different places. I should get and read the "Administrator manual" from SUSE. If it looked like an unnecessary ballast in the past, it becomes quite intriguing and I may even understand what they are talking about. (The manual is very good, it is the reader that is "crook").

For the time being, I will try manual configuration on a Feisty Fawn kubuntu, or even install more current kubuntu 7.10 "gorilla" - I do have an iso image of the desktop version already on my PC. All I need is to burn a CD and find the least useful partition and to install it there (There will be some mucking about with GRUB, though.)

Thank you once more for the reference. Reading of it with notes is my very next step.

Kind regards,
 
  


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
gdb "not in executable format: File format not recognized" tcma Programming 9 07-18-2007 06:02 AM
samsung 226bw lcd wide screen monitor on linux tirtildim Linux - Hardware 1 03-16-2007 10:30 AM
need help setting up wide screen LCD mr_scary Linux - Hardware 5 12-29-2006 11:24 PM
Mplayer woes: "[format] Sample format big-endian AC3 not yet supported" killahsmurf Linux - Software 0 11-26-2006 09:44 AM
"perl: warning: Setting locale failed." System wide problem Darek84CJ Debian 3 01-25-2006 05:22 PM

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

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