You are not logged in.

#1 2012-01-18 06:31:36

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

[~Solved]Incorrect resolutions (nvidia)

So I've installed the proprietary nvidia driver, installed xorg, openbox and so on and so forth. Everything seem to work fine except...

Because I'm an idiot, I'm using nvidia-settings. It does everything it is supposed to do, except providing the proper resolutions.

The list of needed resolutions really isn't that long, as the only resolutions I'm interested in are:
1920x1080
1600x900
1280x720
only the first of which is available.

So I've read a lot, messed around with xrandr, edited xorg.conf, but nothing I did made a difference. So I read some more and continued reading, but really the only remotely relevant instructions I've been able to find, are vague at best and I simply don't comprehend them So now I'm writing this little essay in 1920x1080, which hurts my eyes like hell, asking for help.

xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 290.10  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Wed Nov 16 18:46:42 PST 2011

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 290.10  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Wed Nov 16 18:47:40 PST 2011

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics W2361"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 560"
EndSection

Section "Screen"

# Removed Option "metamodes" "1680x1050 +0+0"
# Removed Option "metamodes" "1680x1050 +0+0; nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1920x1080 +0+0; 1680x1050_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

xrandr output:

(term) xrandr: Failed to get size of gamma for autput default

Screen 0: minimum 320 x 175, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1680x1050      50.0     58.0  
   1400x1050      51.0  
   1280x1024      52.0     53.0  
   1280x960       54.0     55.0  
   1152x864       56.0  
   1024x768       57.0     58.0     59.0     60.0     61.0     62.0  
   960x720        63.0     64.0  
   928x696        65.0     66.0  
   896x672        67.0     68.0  
   832x624        69.0  
   800x600        70.0     71.0     72.0     73.0     74.0     75.0     76.0     77.0     78.0     79.0  
   720x400        80.0  
   700x525        81.0     82.0  
   640x512        83.0     84.0     85.0  
   640x480        86.0     87.0     88.0     89.0     90.0     91.0     92.0  
   640x400        93.0  
   640x350        94.0  
   576x432        95.0  
   512x384        96.0     97.0     98.0     99.0    100.0  
   416x312       101.0  
   400x300       102.0    103.0    104.0    105.0    106.0  
   360x200       107.0  
   320x240       108.0    109.0    110.0    111.0  
   320x200       112.0  
   320x175       113.0  
   1920x1080      57.0     59.0* 

Pretty standard and fully updated arch x84_64 install. Only non standard hardware will be my Nvidia gtx 560. As I said, the driver it self seem to work fine (though I wouldn't have a clue as to how to make sure of this), the only problem (so far) is the missing resolutions and of course the listed resolutions that don't work, but as I don't need them, I don't really care.

If it matters, nvidia-settings state that my screen is a LG Electronics W2361 (DFP-0)
My screen however states that i'ts a LG Electronics W2361V - PF
Seem close enough, but what do I know?

Anyway, surprising though it may sound considering that I haven't really played around with linux for years, this is my only problem relating to the actual Arch installation.


I do hope you will help me.


Best regards.

PS.
Arch rules!

If only I'd learned about it sooner.

Last edited by zacariaz (2012-01-18 14:24:25)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#2 2012-01-18 06:46:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [~Solved]Incorrect resolutions (nvidia)

When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#3 2012-01-18 06:50:30

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

karol wrote:

When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Well, this isn't exactly code wink

But I shall do as you command never the less.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#4 2012-01-18 08:36:17

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [~Solved]Incorrect resolutions (nvidia)

zacariaz wrote:

1920x1080, which hurts my eyes like hell

Why? From what I can gather, it's the correct resolution for your monitor.

If it's the font rendering, then I suggest reading the threads regarding "Infinality".

Here's commands to switch screensize.

Offline

#5 2012-01-18 08:42:05

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Well you're probably right. It is better to keep the native resolution, but I've never done these things before, having been forced to use Windows for year. before then 1920x1080 didn't exist wink

Anyway, I'll look in to it. Thanks.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#6 2012-01-18 09:06:43

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

brebs wrote:

If it's the font rendering, then I suggest reading the threads regarding "Infinality".

I am very sorry for this continuous bother, but I haven't been able to find the term "infinality" anywhere, nor concluding the meaning of the word.

I assume I can change the DPI, if I can find the wiki article that explains it, because I certainly can't remember how, but apart from that, I don't have a clue.

I shall of course continue my efforts, but it would be quite a lot easier with a link to the relevant information, if it is at all doable.


Well, thanks again for now.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#7 2012-01-18 09:23:17

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

No I'm sorry. Even setting dpi in xorg.conf don't seem to make a difference.

There's no way around it. I'll have to which back to windows for a while. My eyes simply can't handle this.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#8 2012-01-18 09:24:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [~Solved]Incorrect resolutions (nvidia)

Try https://bbs.archlinux.org/viewtopic.php?id=133530


Edit: Have you tried any other resolution? You're not stuck with 1920x1080.

Last edited by karol (2012-01-18 09:25:41)

Offline

#9 2012-01-18 09:31:35

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

karol wrote:

Try https://bbs.archlinux.org/viewtopic.php?id=133530


Edit: Have you tried any other resolution? You're not stuck with 1920x1080.

Firstly thanks for the link.

Secondly, this thread was started as I was not able to change to a proper alternative resolution, but when that is said, 1920x1080 is the native resolution.

All I'm really interested in is not have to use a magnifying glass to read stuff that is not easily scale able, like in a browser, where 'ctrl' + '+' usually works.

Changing the DPI should work I think, though this is not exactly my area of expertise, but no matter what I do, I'm not able to do that either.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#10 2012-01-18 09:57:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [~Solved]Incorrect resolutions (nvidia)

720x400 should be about right wrt to 19:9 proportions, but I don't think it's usable ...

Have you tried using nouveau?

Offline

#11 2012-01-18 09:59:50

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Noveau probably won't do as I need advanced 3D feature later on. I don't know too much about it, but I read a substantial amount about the subject and from that I concluded that the proprietary drivers would be the best choice.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#12 2012-01-18 10:32:47

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [~Solved]Incorrect resolutions (nvidia)

Lowering the resolution is a terrible idea. Just increase the font size.

Offline

#13 2012-01-18 10:33:44

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

brebs wrote:

Lowering the resolution is a terrible idea. Just increase the font size.

Indeed, but how? I've tried just about everything wink


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#14 2012-01-18 13:45:02

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [~Solved]Incorrect resolutions (nvidia)

It depends on your current Desktop Environment/Window Manager and the programs you run. Most of them have tools, commands or .confs for altering font size. Browsers such as Firefox has their own methods for doing the same.

Last edited by Earnestly (2012-01-18 13:58:44)

Offline

#15 2012-01-18 13:46:28

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

So what you're saying is that I need to use a configuration utility? (x+openbox btw)


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#16 2012-01-18 13:52:40

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [~Solved]Incorrect resolutions (nvidia)

Openbox comes with obconf. Use that to adjust fontsize. For any GTK(2) programs use something like lxappearance (recommended).

Last edited by Earnestly (2012-01-18 13:54:16)

Offline

#17 2012-01-18 13:57:41

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Kaustic wrote:

Openbox comes with obconf. Use that to adjust fontsize. For any GTK(2) programs use something like lxappearance (recommended).

I'm afraid you're in error, but I suppose I could install it. I just know how it goes when you start down that road. Soon you'll have tons of small utilities you're never gonna use.

Anyway, I'll try obconf.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#18 2012-01-18 14:01:11

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [~Solved]Incorrect resolutions (nvidia)

Oh sorry, my bad. No, if you don't want obconf you can simply edit the rc.xml E.g.

...
    <font place="MenuItem">
      <name>Droid Sans</name>
      <size>10</size>
      <weight>Normal</weight>
      <slant>Normal</slant>
    </font>
...

The same goes for GTK programs/theming, you can simply edit your .gtk2rc-2.0 and .gtkrc.mine

Last edited by Earnestly (2012-01-18 14:03:43)

Offline

#19 2012-01-18 14:03:39

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Ya I gathered that. I works fine, but it is not a generalized enlargement, so to speak. My xterm for example is still unreadable.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#20 2012-01-18 14:07:21

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [~Solved]Incorrect resolutions (nvidia)

Eugh, add (an example):

XTerm*faceName: termsyn
XTerm*faceSize: 12

to your .Xdefaults or .Xresources and run xrdb -merge .X(resources|defaults)

Honestly, most of this can be solved via the wiki or google.

Offline

#21 2012-01-18 14:09:42

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Kaustic wrote:

Eugh, add (an example):

XTerm*faceName: termsyn
XTerm*faceSize: 12

to your .Xdefaults or .Xresources and run xrdb -merge .X(resources|defaults)

Honestly, most of this can be solved via the wiki or google.

I don't think you quite get it. If I wanted to customize xterm, which was just an example, I'm sure I could have found a way to do that, but customizing every single little application will soon become a full time job.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#22 2012-01-18 14:23:00

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [~Solved]Incorrect resolutions (nvidia)

But it won't, that's the slippery-slope fallacy.

rc.xml for openbox,
gtkrc for all of your GUI programs and
.Xdefaults for all of your terminal sessions.

The only thing left would be to dictate how big websites fonts should be.

Last edited by Earnestly (2012-01-18 14:26:10)

Offline

#23 2012-01-18 14:24:04

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Well, I'm sure I'll figure it out in time.

Thanks for the help.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#24 2012-01-18 14:57:30

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: [~Solved]Incorrect resolutions (nvidia)

Have you tried the following command?

xrandr --output DFP-0 --mode 1680x1050 --rate 58.0

As this mode is available, that should work; this is not exactly the good aspect ratio (1.6 instead of 1.7) but is near enough.

check if DFP-0 is correct for your configuration.

Last edited by berbae (2012-01-18 15:15:15)

Offline

#25 2012-01-18 15:18:43

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [~Solved]Incorrect resolutions (nvidia)

Please, how do I check if DFP-0 is correct? What is it for that matter? Google isn't too helpful.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

Board footer

Powered by FluxBB