How to turn off the X Server?

BTW, I thought you might like to look at these useful modeline references as well (covers a lot of monitor models):

Working with Modelines - MythTV

Modeline Database - MythTV

Thanks for that useful info. this is what xdpyinfo |grep resolution said…

resolution: 63x84 dots per inch

this was using my 1024x768 resolution.

Could this be why my Desktop Icons appear funny? How to change this to 84x84 or 98x98

Re: How to turn off the X Server?
Thanks for that useful info. this is what xdpyinfo |grep resolution said…

resolution: 63x84 dots per inch

this was using my 1024x768 resolution.

That makes sense, based on your displaysize values in xorg.conf:

Section “Monitor”
Option “CalcAlgorithm” “XServerPool”
DisplaySize 410 230

If you used 1360x768, you would probably get 84x84 dots per inch reported. Now, you could measure your actual display size and check/edit those values if necessary, and see if that makes a difference.

This thread discusses same topic. Try not to let it confuse you. (Just for basic idea).

BTW, I meant to ask you, which desktop are you using (Gnome or KDE)?

I’m using KDE.

Here is the full spec of the monitor from Samsung… 19" Wide Screen LCD Monitor 933SN - LCD monitor - monitor | SAMSUNG

So it’s 1360x768 max. The problem is this… Modeline Database - MythTV

NVIDIA doesn’t support 1360x768. The nearest is 1280x768 @ 60 Hz

When I tried an invalid resolution I had a message from the monitor that the optimum resolution is 1360x768 @ 60Hz

I did read the thread, but couldn’t fathom out how this applied to me. I’m still a relative beginner with the internals of Linux although I’m quite capable with hacking at config files because I used OS/2 before moving to Linux.

So where should I go from here? Only 1024x768 gives anywhere near readable resolution. So I’m not sure what is limiting me going to a higher resolution. DPI?

Not sure what else to suggest really (short of changing monitor). Looks like this monitor has an uncommon widescreen native resolution. Maybe one last try using 1360x768@60Hz (lower refresh rate):

ModeLine “1360x768” 85.50 1360 1424 1536 1792 768 771 778 795 -HSync -VSync

Now I haven’t played with KDE 4.X font DPI’s, but AFAIU you can adjust via

Configure Desktop –> Appearance –> Fonts

Here you can set ‘Force fonts DPI’ to 96dpi or 120dpi if required.

Sorry I’m using KDE 3.5

I tried both these options. The 1360x760 showed the same characteristics as before (scrunched screen). The 96 DPI setting had no effect.

So. Thanks your all help. Appreciated. I personally “feel” it’s still something to do with the DPI setting in xorg.conf. But of course have no basis for that “feeling”. If anyone else would like to chime in, they’re welcome.

stubble wrote:

>
> Sorry I’m using KDE 3.5
>
> I tried both these options. The 1360x760 showed the same
> characteristics as before (scrunched screen). The 96 DPI setting had no
> effect.
>
> So. Thanks your all help. Appreciated. I personally “feel” it’s still
> something to do with the DPI setting in xorg.conf. But of course have no
> basis for that “feeling”. If anyone else would like to chime in, they’re
> welcome.
>
I ran into a similar problem with an older Panasonic monitor recently, But
taking the specs in the manual and boosting both my horizontal and vertical
sync frequencies, the problem was fixed. I was stuck at 640x480. Now running
at 1280x1024., default was selecting 60hz version and I manual switched to
75hz version also. You can try changing the rwo scan frequencies from YaST–
> Hardware–> Display. Check your manual or spec sheet first for the min-max
ranges, so you do not destroy your monitor.

Hope this is of some help…


Russ
openSUSE 11.1 (2.6.27.21-0.1-default x86_64) KDE 4.2 release 106, Intel
DX48BT2 Core 2 Dual E7200. 4 GB DDR III GeForce 8400 GS, 320GB Disc (2)

I don’t find a Hardware > Display in Yast2? Did you mean in SaX2? That is where my problem is. Always showing 1024x768 on the test screen when a higher resolution is selected.

Just had a quick read of this article:

Modify xorg.conf for better performance | TuxRadar

It mentions some nvidia tweaks that can be useful. For example this device option:

Option “DPI” “75 x 85”: If the Dots Per Inch (DPI) setting of your screen is incorrectly set, this can affect the size and rendering of fonts. X.org will normally calculate the correct DPI of your display using the dimensions embedded within EDID data provided by your monitor, but this can sometimes be wrong or inaccurate. In which case, use this option to manually override the value. A 1,440x900 resolution screen, with a physical size of 16x10 inches, would have a DPI of (1,440/16)x(900/10) = 90x90.

Worth a read. :slight_smile:

I read this document. I measured my screen manually. It came out to 440x260mm or 17.125x10 inches. So I calculated 1280/17.125=74.744 and 768/10=76.8, so I set the DPI to 75x75. Still the same result. Although the monitor did show it was adjusting something when it was loading. I then did 1024/17.125=59.795, So I then set the DPI to 60x75 same result. I also change the displaysize from it’s original 410x230 to 440x260. Nothing appeared to change. Here is my current xorg.conf…

Section “Monitor”
Option “CalcAlgorithm” “XServerPool”
DisplaySize 440 260
HorizSync 31-70
Identifier “Monitor[0]”
Option “PreferredMode” “1024x768”
VendorName “–> LCD”
VertRefresh 50-76
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
ModeLine “1360x768” 85.50 1360 1424 1536 1792 768 771 778 795 -HSync -VSync
Modeline “1280x768_60.00” 80.14 1280 1344 1480 1680 768 769 772 795 -HSync +Vsync
Modeline “1024x768” 78.80 1024 1040 1136 1312 768 769 772 800
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 24
Modes “1024x768”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “GeForce 6100 nForce 430”
BusID “0:13:0”
Driver “nv”
Identifier “Device[0]”
Screen 0
VendorName “NVidia”
Option “DPI” “60x75”
EndSection

Is this the correct way to set the NVidia DPI Option? Any other thoughts?

Your monitor has 1360x768 native resolution, so I would try to calculate around that (with 75x75 DPI perhaps).

OK. I’ll try that. But does Nvidia support 1360x768?

So it’s 1360x768 max. The problem is this… Modeline Database - MythTV

NVIDIA doesn’t support 1360x768. The nearest is 1280x768 @ 60 Hz

Is the DPI option in the correct place?

Is the DPI option in the correct place?

AFAIK, yes.

Sorry gone for weekend. I meant “Graphic Card & Monitor”.

stubble wrote:

>
> I don’t find a Hardware > Display in Yast2? Did you mean in SaX2? That
> is where my problem is. Always showing 1024x768 on the test screen when
> a higher resolution is selected.
>
>


Russ
openSUSE 11.1 (2.6.27.21-0.1-default x86_64) KDE 4.2 release 106, Intel
DX48BT2 Core 2 Dual E7200. 4 GB DDR III GeForce 8400 GS, 320GB Disc (2)

Same problem Deano.

Then I think I answered your suggestion, Russ?

OK. how about if I delete all the NVidia stuff as suggested in the last post of this thread… NVIDIA driver not being used; failed to load NVIDIA kernel - openSUSE Forums and reinstalling everything again? I think this as where I was at when I originally posted my question.

But before I do. What commands should I run in order to find out what nvidia stuff I have installed? What commands do I need to run in order to delete them all including the repositories? What commands do I need to run to reinstall them all including the repositories. I intend to install this Linux x64 (AMD64/EM64T) but the NVidia X Server config file isn’t compiled. So do I need to follow the instructions in order to have enough stuff to compile it. Then what commands do I need to compile it?

Should I even go this route?

Ok. Some more facts.

I ran “SaX2 -r” as root. It failed several times. Then finally it worked. When I rebooted, openSUSE failed to load. I used FAILSAFE mode and managed to recover my xorg.conf file. Then I noticed several other xorg.conf files with additional extensions in /var/lib/sax/. I found one which looked like it was from the failed load. I edited it until it worked. It now looks like this…

Section “Monitor”
Option “CalcAlgorithm” “XServerPool”
DisplaySize 410 230
HorizSync 30-61
Identifier “Monitor[0]”
ModelName “SAMSUNG SYNCMASTER”
Option “DPMS”
Option “PreferredMode” “1024x768”
VendorName “SAM”
VertRefresh 43-75
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
Modeline “1366x768” 85.00 1360 1424 1536 1792 768 771 777 795 +HSync +VSync
ModeLine “1280x768” 80.14 1280 1344 1480 1680 768 769 772 795 +HSync +VSync
Modeline “1024x768” 78.80 1024 1040 1136 1312 768 769 772 800 +HSync +VSync
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 24
Modes “1024x768”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “GeForce 6150SE nForce 430”
BusID “0:13:0”
Driver “nv”
Identifier “Device[0]”
Screen 0
VendorName “NVidia”
EndSection

Nothing astoundingly different about that.

But. I found I have a “Configure NVIDIA X Server Settings”. I tried that and it says I don’t have the NVIDIA X driver run nvidia-xconfig from root. So I did that it copied my xorg.conf to xorg.conf.backup and created a new xorg.conf. Then some message about X Server which it failed to load. This new xorg.conf failed to work. Reason? It called the driver “nvidia” whereas the working driver is “nv”. I’m not sure what all this means. But it looks to me like I might be using an older driver? And I don’t have a compiled version of the NVidia X Server Configuration Program?

This new xorg.conf failed to work. Reason? It called the driver “nvidia” whereas the working driver is “nv”. I’m not sure what all this means.

The nv driver is the open source Xorg driver with limited capability. The nvidia driver (with 3D acceleration) is the proprietary driver you were using previously (refer your earlier xorg.conf files).

If you installed via nvidia repo (with yast software manager) then you can use the same tool to remove or reinstall them.

NVIDIA - openSUSE

I would simply try to go to runlevel 3 (init 3) again and type in this: sax2 -r -m 0=nvidia, from konsole

Sorry if this has been tried before, I haven’t read through, but as deano suggested it is configured to use the ‘nv’ driver instead of the ‘nvidia’ driver, which will certainly give you less graphical 3d acceleration, but may also be the reason for the resolution limits.

NVIDIA - openSUSE (look at ‘installing the hard way’)

Cheers