SlackwareThis 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.
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.
Hello! I am running Slackware Linux 12.0 with kernel-generic-smp-2.6.21.5-smp.
The problem is that despite the settings in xorg.conf and the default server argument -dpi 100 that I pass to startx, I cannot achieve the desired resolution of 100x100 dpi and 1024x768 at 85 Hz.
The system by default logs in a screen resolution of 1152x864 and 75 Hz.
If I set the resolution at 1024x768 from the kde control center, then the resolution becomes 83x85 dpi. I save these settings for the next kde startup and log out of X, then I log in by issuing : starx -- dpi 100, and I get a blank screen and the only option is to reboot. After reboot I get the desired 1024x768 at 85 Hz, but again the resolution is 83x85 dpi.
What should I do? Why the setting of xorg.conf seem to be ignored? I had a similar problem with Slackware 12.0 configuring another PC with an intel video card. The solution was to pass -dpi 100 to startx. However, on this PC this does not seem to be the solution.
Here is some hardware info I find relevant:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
Here is an excerpt of my xorg.conf, generated by xorgsetup and manually adding the DisplaySize and Modeline options to Section Monitor:
Section "Monitor"
#DisplaySize 330 250 # mm
Identifier "Monitor0"
VendorName "GSM"
ModelName "775FT Plus"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
DisplaySize 260.1 195.1
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync
EndSection
Here is some info from my /var/log/Xorg.0.log:
(**) intel(0): Display dimensions: (260, 195) mm
(WW) intel(0): Probed monitor is 330x250 mm, using Displaysize 260x195 mm
(**) intel(0): DPI set to (125, 166)
(II) intel(0): Output VGA connected
(II) intel(0): I2C device "CRTDDC_A:ddc2" registered at address 0xA0.
(II) intel(0): I2C device "CRTDDC_A:ddc2" removed.
(II) intel(0): EDID for output VGA
(II) intel(0): Manufacturer: GSM Model: 4349 Serial#: 24336
(II) intel(0): Year: 2002 Week: 22
(II) intel(0): EDID Version: 1.3
(II) intel(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) intel(0): Sync: Separate
(II) intel(0): Max H-Image Size [cm]: horiz.: 33 vert.: 25
(II) intel(0): Gamma: 2.85
(II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) intel(0): First detailed timing not preferred mode in violation of standard!(II) intel(0): redX: 0.631 redY: 0.328 greenX: 0.295 greenY: 0.600
(II) intel(0): Supported VESA Video Modes:
(II) intel(0): 720x400@70Hz
(II) intel(0): 720x400@88Hz
(II) intel(0): 640x480@60Hz
(II) intel(0): 640x480@67Hz
(II) intel(0): 640x480@72Hz
(II) intel(0): 640x480@75Hz
(II) intel(0): 800x600@56Hz
(II) intel(0): 800x600@60Hz
(II) intel(0): 800x600@72Hz
(II) intel(0): 800x600@75Hz
(II) intel(0): 832x624@75Hz
(II) intel(0): 1024x768@87Hz (interlaced)
(II) intel(0): 1024x768@60Hz
(II) intel(0): 1024x768@70Hz
(II) intel(0): 1024x768@75Hz
(II) intel(0): 1152x870@75Hz
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported Future Video Modes:
(II) intel(0): #0: hsize: 640 vsize 480 refresh: 75 vid: 20273
(II) intel(0): #1: hsize: 640 vsize 480 refresh: 85 vid: 22833
(II) intel(0): #2: hsize: 800 vsize 600 refresh: 75 vid: 20293
(II) intel(0): #3: hsize: 800 vsize 600 refresh: 85 vid: 22853
(II) intel(0): #4: hsize: 1024 vsize 768 refresh: 70 vid: 19041
(II) intel(0): #5: hsize: 1024 vsize 768 refresh: 75 vid: 20321
(II) intel(0): #6: hsize: 1024 vsize 768 refresh: 85 vid: 22881
(II) intel(0): #7: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
I am completely at a loss. Any suggestions will be appreciated.
Sorry for posting again, but I got a little further. This is my current Device Section:
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
Option "NoDDC" "True"
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection
What I did is uncomment the NoDDC option and set it to True. Then when I startx -- -dpi 100, I get a resolution of 89x100 dpi and 1024x768 at 85Hz. So the only problem now is horizontal dpi. the vertical is ok. Any suggestions?
No, this does not work for me. I did what you suggested, but no difference. Here is what I founf in Xorg.0.log:
cat /var/log/Xorg.0.log | grep DPI
(++) intel(0): DPI set to (100, 100)
(WW) intel(0): Option "DPI" is not used
Thank you. I used your setting and it worked for me.
My configuration is:
- Video Adapter NVIDIA GeForce 6800 (256 MB)
- 3D Accelerator nVIDIA GeForce 6800 PCI-E
- Monitor Dell 1905FP (Digital) [19" LCD]
I'm running Slackware 12. X.Org Version number is 11.0
When I used SimplyMEPIS Linux I had the following dpi:
96 x 96 dpi.
Since I've been using Slackware 12 I have the following dpi:
87 x 86 dpi.
Update:
When I changed my xorg.conf with the option tobyl wrote I now have 96 x 96 dpi.
My xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Oct 4 10:33:51 PDT 2007
No, this does not work for me. I did what you suggested, but no difference. Here is what I founf in Xorg.0.log:
cat /var/log/Xorg.0.log | grep DPI
(++) intel(0): DPI set to (100, 100)
(WW) intel(0): Option "DPI" is not used
So intel driver does not support that option.
I tried too with NVidia geforce2 gts (!) and get same warning about dpi not used. FWIW.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.