LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2004, 02:56 PM   #16
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15

Here is the xvidtune terminal output

root@localhost:~# xvidtune
Vendor: , Model:
Num hsync: 1, Num vsync: 1
hsync range 0: 31.50 - 50.00
vsync range 0: 50.00 - 90.00

I have a NEC MultiSync FE771sb 17" monitor capable of 1280x1024 at 50-66 Hz
horizontal sync range 30kHz to 70kHz
vertical sync range 50Hz to 120Hz

I want to run at 1280x1024, I am at 1024x768, my gui tool for changing resolution under KDE only allows 1024x768


Last edited by kurtwisener; 08-26-2004 at 02:59 PM.
 
Old 08-26-2004, 03:06 PM   #17
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
I still can't seem to get thgis printing thing working yet either.

Last edited by kurtwisener; 08-26-2004 at 03:08 PM.
 
Old 08-26-2004, 03:07 PM   #18
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
Look for these lines:

Code:
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
and add "1280x1024" in front of the modes like this

Code:
    Subsection "Display"
        Depth       8
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
Your default color depth is 24 so technically you only need to change that mode, but do it to all of them anyway. For Modes X goes from right to left till it finds a resolution it can use with the monitor connected. My understanding is that if it can not find a valid mode for a particular Depth it goes down the scale of depths running through all listed modes. If it fails to find any valid modes you get the "X could not find a valid screen" stuff when you type startx.
 
Old 08-26-2004, 03:21 PM   #19
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
Ok, I inserted the new values into xorg.conf and still only have 1024x768 available. Do I need to manually configure my monitor?
 
Old 08-26-2004, 03:43 PM   #20
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
I assume you restarted X? hmm, I would say your refresh rates are too high for 1280x1024 but I don't think they are... What video card are you using?
 
Old 08-26-2004, 03:52 PM   #21
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
nvidia geforce 4 mx420 (pny) 64mb
 
Old 08-26-2004, 04:03 PM   #22
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
I had the same problem where I only got 1024x768 when I added 1280x1024 to the Mode line.

I had to define the Mode in the monitor section, I believe. I forget the sytax. I found the X.org documentation that some modes are predefinded for VESA, maybe 1280x1024 is not?

I can find out exactly what I did in a few hours when I get home.

Thanks
 
Old 08-26-2004, 04:05 PM   #23
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
thank you I look forward to hearing from you
 
Old 08-26-2004, 11:38 PM   #24
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
Here are the changes I made to xorg.conf to get X running on my Radeon 9800 Pro vidcard and KDS VS-195 monitor at 1280x1024:

skazi@kl:/etc/X11$ diff xorg.conf xorg.conf-vesa
282,283c282,283
< Option "Protocol" "IMPS/2"
< Option "ZAxisMapping" "4 5"
---
> Option "Protocol" "PS/2"
>
374,375c374
< # HorizSync 31.5 - 50.0
< HorizSync 28.0 - 96.0
---
> HorizSync 31.5 - 50.0
389,390d387
< # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
< ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
402,403c399,400
< Driver "radeon"
< VideoRam 131072
---
> Driver "vesa"
> #VideoRam 4096
443c440
< Modes "1280x1024" "1024x768" "800x600" "640x480"
---
> Modes "1024x768" "800x600" "640x480"
skazi@kl:/etc/X11$

1. Enabled my mouse wheel (not relevent).
2. Upped my HorizSync to 28.0 - 96.0.
3. Added a ModeLine in the Monitor section. According to some web page this was the VESA standard for 1280x1024. YMMV.
4. Changed the driver to radeon, and specified my amount of RAM in the Device section.
5. Added the 1280x1024 mode to my Screen section in the Depth 24 subsection.

I never found these steps documented in LQ, so maybe this is a hack rather than the correct procedure.
 
Old 08-26-2004, 11:49 PM   #25
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
Regarding last post:

If I remember correctly, after my install of Slack 10, startx would return to the command line with an error. Switching the driver to radeon fixed that.

The rest of the (relevent) changes were steps I took to get 1280x1024.

Let us know what happens.
 
Old 08-27-2004, 12:20 PM   #26
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
I am pretty new at manipulating .config files. If you could give me a little more guidance as to where exactly in the text of the file that information goes I would be very grateful. Thank you very much for helping me out on this.
 
Old 08-27-2004, 12:42 PM   #27
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
/etc/X11/xorg.conf has multiple Sections. Like:

Section "Monitor"
<some lines>
End Section

My guess is that you are missing the Modeline in the Monitor section. Try mine. I added the Modeline immediately after the vertsync line.

I believe the Screen section will reference the Monitor section, so make sure you are editing the correct Monitor section.

For getting the changes to take affect, I think you have to restart X. Do you know how to do that? Certainly a reboot will do it, but for me I exit out to the command line and run startx again.

If you're still not getting the resolution, look in /var/log/<some X log> for messages about 1280x1024.

Sorry I can't be more exact, but I'm away from my Linux box until after work again.

Thanks
 
Old 08-27-2004, 01:31 PM   #28
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
I am happy to report that I have with the help of mephisto and most recently Skazi solved my resolution problem. I had my sync ranges out of whack. Thank you Skazi for directing me to /var/log where I found the discrepency and thank you mephisto for nailing refresh rates as the core of the problem. You guys rock!
 
Old 08-27-2004, 01:33 PM   #29
kurtwisener
Member
 
Registered: Jul 2004
Location: Austin, TX
Distribution: Debian
Posts: 50

Original Poster
Rep: Reputation: 15
If you guys feel frisky today I will be posting a thread for my LAST PROBLEM. kurtwisener's Printing Woes. Thank you both so much for the help.
 
Old 08-27-2004, 08:18 PM   #30
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
 
  


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
xorg.conf mad_alfred Ubuntu 14 06-20-2005 11:31 AM
xorg.conf mgkemp Linux - Software 1 05-26-2005 08:21 AM
Need help with my xorg.conf wswartz Fedora - Installation 3 12-26-2004 08:38 PM
Help with my xorg.conf GradyVogt Slackware 8 09-17-2004 08:46 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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