LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 01-01-2006, 01:14 PM   #1
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Rep: Reputation: 30
/etc/X11/xorg.conf and KDE display don't match


I edited xorg.conf to configure my widescreen monitor. it says the resolution should be 1200x800, but when I open the KDE Display settings, i get 1024x768 and 800x600 resolutions. I saved xorg.conf as root.

Anyone know what could be going on?
 
Old 01-01-2006, 01:37 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Does your monitor (and video card) support the colour depth / resolution combination you have in your xorg.conf file? My /etc/X11/xorg.conf file is:

Code:
-rw-r--r--  1 root root 3069 2005-12-21 21:04 /etc/X11/xorg.conf
and the sections relating to display contain:

Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "SAM"
    ModelName      "SyncMaster"
    DisplaySize     363    272  # mm
    HorizSync       31.5 - 92.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
 
Old 01-01-2006, 01:45 PM   #3
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gilead
Does your monitor (and video card) support the colour depth / resolution combination you have in your xorg.conf file?
I'm in windows to post this right now, but I would think so, seeing that this is a laptop. If you need me to post my xorg.conf file, just let me know
 
Old 01-01-2006, 02:49 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
If you've dual booted into Windows, can you right-click on your desktop, select Properties / Settings / Advanced / Monitor and see what screen refresh rate you're using. Also, on the Adapter tab can you please click the "List All Modes" button and confirm that the resolution / colour depth / frequency you want to display is in the list?
 
Old 01-01-2006, 03:03 PM   #5
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
The refresh rate is 60Hz, but where does that go in xorg.conf?

The highlighted mode in 'List All Modes' is 1280x800, True Color (32bit), 60Hz.
 
Old 01-01-2006, 03:17 PM   #6
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
OK, I'll post my xorg.conf file. Hopefully it will help.
[code]
Section "Monitor"

Identifier "My Monitor"

#lots of comments about HorizSync

HorizSync 31.5-50.0

#more comments

VertRefresh 40-90

Endsection

#Comments

Section "Screen
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
#Default Depths
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x800"
Endsubsection
Subsection "Display"
Depth 16
Modes "1280x800"
Endsubsection
Subsection "Display"
Depth 24
Modes "1280x800"
Endsubsection
Subsection "Display"
Depth 32
Modes "1280x800"
Endsubsection

EndSectoin
 
Old 01-01-2006, 03:39 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
From memory the refresh rate has to be inside the HorizSync range, but I was hoping it wasn't the same value as the refresh rate displayed in the KDE Display Settings panel. That way a quick change of refresh rate might enable the higher resolution.

Do you mind running `/usr/X11R6/bin/xrandr` and checking the output? Without options it displays the resolutions that you should be able to select. At this stage, all I can think of is it's a mismatch between resolution settings or the wrong driver selected for your video card.
 
Old 01-01-2006, 04:00 PM   #8
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
Code:
/usr/X11R6/bin/xrandr
displays

Code:
Can't open display (null)
 
Old 01-01-2006, 04:15 PM   #9
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
oh my bad, I'm sorry. I did that in text-only mode.

Here's what it outputs while I'm running KDE:

Code:
 SZ:   Pixels       Physical      Refresh
*0    1024x768  { 302mm x 191 mm )   *61
 1    800x600   { 302mm x 191 mm )    73
 2    640x480   { 302mm x 191 mm )    86
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

Last edited by garyozzy; 01-01-2006 at 04:21 PM.
 
Old 01-01-2006, 05:42 PM   #10
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
OK, if those are the only resolutions returned even though you have the Modes correctly specified for each colour depth, it's most likely that either the wrong video driver was set up with whatever tool you generated your config or your video card doesn't have enough RAM to display the resolution that you want. Since it sounds like you're happy with your windows display it's more likely the video driver.

Try running lspci to see if the 'VGA compatible controller' line identifies the card.
From memory, if you run /usr/X11R6/bin/xorgsetup, you'll get a GUI to let you re-configure X where you can select the correct driver based on your card.

There's a similar thread to this at http://www.linuxquestions.org/questi...d.php?t=344824 which may be helpful...
 
Old 01-01-2006, 06:33 PM   #11
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
when running lspci, the line
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
but the xorg setup command doesn't help.

i'll check that other thread

thanks
 
Old 01-02-2006, 12:54 AM   #12
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
It looks as though someone at http://freshrpms.net/docs/x1/ was having problems with the same video hardware as yours. They used the i810 driver, but because it was a few months back they had to download the current stuff from CVS (you shouldn't need to). From that page:

Code:
As of writing, Fedora Core 4 installed fine, but only with the vesa driver at 800x600, though. It can also work at 1024x768 but you'll get a streched display. Recompiling xorg-x11 from CVS is required in order for the i810 driver to recognize the card and provide accelerated display. The other option is to replace the i810_drv.o file, but text consoles will break unless fb is used and you need to change HorizSync to 20-90, VertRefresh to 60-100 and add this line to the Monitor section of your xorg.conf :
ModeLine "1280x768" 111.69 1280 1336 1616 1728 768 770 782 808

For a 1024x768 framebuffer console, you can append this to your grub.conf kernel lines :

vga=0x317 video=i810fb:vram:2,xres:1024,yres=768,bpp:24,hsync1:30,hsync2:49,vsync1:40,vsync2:70,accel,mtrr

I haven't tested the VGA output yet, but hopefully it may work with the i810switch utility.
 
Old 01-02-2006, 08:20 AM   #13
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
I change
Code:
Driver   "vesa"
to
Code:
Driver   "i810"
now, I get some errors.
Code:
(WW) i810: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) No devices detected.

Fatal server error:
on screens found
 
Old 01-02-2006, 11:28 AM   #14
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
I think for that video card a newer xorg version may come with the driver u need. Check at the xorg web page and do search here/and google for that driver. Good luck.
 
Old 01-02-2006, 02:59 PM   #15
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
My apologies - I thought that the updated i810 driver was in the released version of xorg. According to http://wiki.x.org/X11R6.8.2/doc/i810.4.html the 915G is supported and I assumed that your 915GM was included in that.

The only other thing I could suggest is to confirm that AGP support is compiled into the kernel (or that you have the agpgart.o module running) as per http://wiki.x.org/X11R6.8.2/doc/i8106.html#6 since the card driver supports up to 1600x1200 (http://wiki.x.org/X11R6.8.2/doc/i8103.html#3).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 Resolution - not read from xorg.conf felixc Linux - Newbie 3 10-24-2005 04:27 PM
modelines for /etc/X11/xorg.conf TranceDude Linux - Hardware 3 09-30-2005 09:59 AM
Need xorg.conf for 1280x800 Compaq R3000Z display Gates1026 Linux - Laptop and Netbook 6 03-26-2005 08:09 AM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 02:34 PM
Boot hangs at starting X11 session after changing mouse settings in xorg.conf drlouis Slackware 9 09-10-2004 12:02 AM


All times are GMT -5. The time now is 12:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration