Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-01-2006, 01:14 PM
|
#1
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Rep:
|
/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?
|
|
|
01-01-2006, 01:37 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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
|
|
|
01-01-2006, 01:45 PM
|
#3
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
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
|
|
|
01-01-2006, 02:49 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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?
|
|
|
01-01-2006, 03:03 PM
|
#5
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
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.
|
|
|
01-01-2006, 03:17 PM
|
#6
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
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
|
|
|
01-01-2006, 03:39 PM
|
#7
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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.
|
|
|
01-01-2006, 04:00 PM
|
#8
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
Code:
/usr/X11R6/bin/xrandr
displays
Code:
Can't open display (null)
|
|
|
01-01-2006, 04:15 PM
|
#9
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
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.
|
|
|
01-01-2006, 05:42 PM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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...
|
|
|
01-01-2006, 06:33 PM
|
#11
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
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
|
|
|
01-02-2006, 12:54 AM
|
#12
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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.
|
|
|
01-02-2006, 08:20 AM
|
#13
|
Member
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181
Original Poster
Rep:
|
I change
to
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
|
|
|
01-02-2006, 11:28 AM
|
#14
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|