You are not logged in.

#1 2013-11-24 04:00:12

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

Hello people,

About two days ago ArchLinux + KDE install on my PC with Nvidia Geforce 9500GT graphics and e2243Fw AOC monitor whose native resolution is 1920x1080 .
So far everything has gone well up to the point where you need to set the monitor resolution to its native value (1920x1080) and I find that the configuration screens KDE system preferences I just like the leaves 1792x1344 highest value .

Now try to delete the Xorg.conf and creating it again using the nvidia- xconfig command but I still can choose the value of native resolution of the monitor.

Because I have an installation of Kubuntu 13.10 on another hard drive in the same PC where SI can use the native resolution of the monitor , try copying and pasting your Xorg.conf file content in Xorg.conf ArchLinux , but this does not operates .

My Xorg.conf currently contains :




# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 331.20  (buildmeister@swio-display-x86-rhel47-05)  Wed Oct 30 18:20:53 PDT 2013

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    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      "CRT-1"
    #HorizSync       28.0 - 33.0
    #VertRefresh     43.0 - 72.0
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "nvidiaXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "1920x1080_60.00 +0+0"
    SubSection     "Display"
        Depth       24
        Modes "1920x1080" "1920x1080_60.00"
    EndSubSection
EndSection

Note that the HorizSync and VertRefresh values are set to the values belonging to the monitor.

Have any idea what that might be happening and how can I correct this?

Greetings and thanks in advance.

Offline

#2 2013-11-24 04:38:41

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

You shouldn't need a Xorg.conf file. If anything, you should create necessary files in /etc/X11/xorg.conf.d/, e.g. to remove the Nvidia logo you would create /etc/X11/xorg.conf.d/20-nvidia.conf with the necessary "Device" section. Mouse configuration should have its own file, as should keyboard configuration, etc.

The drivers should auto-detect native resolution modes, refresh frequencies, etc.

Install xorg-xrandr if you haven't already, remove the configuration file and reboot. Open a terminal and run "xrandr". Look for the expected resolution there, and post the output. If the resolution appears, try setting it with xrandr.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#3 2013-11-24 05:16:57

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

I copy the contents of the /etc/X11/Xorg.conf to / etc/X11/xorg.conf.d/20-nvidia.conf

delete the file /etc/X11/Xorg.conf

after the reboot, I can not see resolution 1920x1080 sad

xrandr command output

Screen 0: minimum 8 x 8, current 1024 x 768, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       75.0*+   70.1     60.0  
   1792x1344      60.0  
   1600x1200      65.0     60.0  
   1400x1050      74.8     60.0  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   832x624        74.6  
   800x600        75.0     72.2     60.3     56.2  
   700x525        74.8     60.0  
   640x480        75.0     72.8     59.9  
   512x384        70.1     60.0  
   400x300        72.2  
   320x240        72.8     60.1  
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)

Offline

#4 2013-11-24 05:28:34

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

jesusangelm wrote:

I copy the contents of the /etc/X11/Xorg.conf to / etc/X11/xorg.conf.d/20-nvidia.conf

The file you posted contains several sections unrelated to Nvidia. I do not understand why you copied everything to 20-nvidia.conf. In any case, that is not what I meant for you to do.

Make a copy of that file somewhere else (outside of the /etc/X11 directory), and remove it, then try again.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#5 2013-11-24 06:00:15

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

I remove all configuration files:
/etc/X11/Xorg.conf
/etc/X11/xorg.conf.d/20-nvidia.conf

and reboot.
xrandr command output

Screen 0: minimum 8 x 8, current 1024 x 768, maximum 8192 x 8192
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0*+
   800x600        72.2     60.3     56.2  
   640x480        59.9  
   512x384        60.0  
   400x300        72.2  
   320x240        60.1  
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)


how to set the resolution using the xrandr command?

Offline

#6 2013-11-24 12:32:18

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

Looks like it can't read the EDID from your monitor. You could try adding a 1920x1080 modeline with "$ cvt 1920 1080" and putting it in your xorg.conf.
That's what my xorg.conf looks like with a bunch off modelines defined in the Monitor Section and referenced in the Screen Section. There are tons of other settings in my xorg.conf you can ignore as they are simply for overclocking of the monitor, but it should give you an idea how to define a modeline. http://tny.cz/3be30d29


Here is a relevant example from "man xrandr" on how to add a modeline manually with xrand and assigning it to an output.

Forces to use a 1024x768 mode on an output called VGA:
              xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
              xrandr --addmode VGA 1024x768
              xrandr --output VGA --mode 1024x768

VGA would be DVI-I-1 of course in your case.

Last edited by blackout23 (2013-11-24 12:35:50)

Offline

#7 2013-11-24 15:43:42

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

configuring resolution using xrandr not work sad

$ xrandr --output DVI-I-1 --mode 1920x1080
   xrandr: cannot find mode 1920x1080
$ xrandr --addmode DVI-I-1 1920x1080
xrandr: cannot find mode "1920x1080"

I can not put modeline in Monitor section because KDE not run on boot, only show a terminal


I can not believe it's so difficult to set the resolution.

Xyne tells me I have no relevant content to my 10-monitor.conf, I want you to tell me I should put  in that file and I put in 20-nvidia.conf

Offline

#8 2013-11-24 16:08:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

You did not follow the full instructions that blackout23 gave.

Also, are you using a DVI or VGA cable? If VGA, try a different one.

Offline

#9 2013-11-24 16:16:35

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

jesusangelm wrote:

configuring resolution using xrandr not work sad

$ xrandr --output DVI-I-1 --mode 1920x1080
   xrandr: cannot find mode 1920x1080
$ xrandr --addmode DVI-I-1 1920x1080
xrandr: cannot find mode "1920x1080"

I can not put modeline in Monitor section because KDE not run on boot, only show a terminal


I can not believe it's so difficult to set the resolution.

Xyne tells me I have no relevant content to my 10-monitor.conf, I want you to tell me I should put  in that file and I put in 20-nvidia.conf

Did you create the mode first with newmode? Of course if the modeline generated from cvt is called "1920x1080_60.00" you have to reference it that way aswell. Otherwise it won't find it if you use --addmode and --output afterwards.

Last edited by blackout23 (2013-11-24 17:07:45)

Offline

#10 2013-11-24 16:36:16

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

Gusar wrote:

Also, are you using a DVI or VGA cable? If VGA, try a different one.

VGA cable.  I think the cable has nothing to do and I can have the desired resolution in kubuntu

Last edited by jesusangelm (2013-11-24 16:43:34)

Offline

#11 2013-11-24 16:45:07

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Configure native resolution 1920x1080 ArchLinux + KDE + Nvidia

jesusangelm wrote:

yes, i did it!!!

If the commands you posted is all you did, then no, you did not perform all the steps. You did not create a new mode before trying to add it to the output.

jesusangelm wrote:

VGA cable.  I think the cable has nothing to do and I can have the desired resolution in kubuntu

VGA cables are very sensitive. The inability of the driver to read the EDID is very much about the cable. Different driver versions may also have different effects, so it's not 100% definite it's the able, but still, do try a different one, that way you'll at least know for sure where the issue is. The X log (/var/log/Xorg.0.log) might also contain valuable info.

Last edited by Gusar (2013-11-24 16:46:24)

Offline

Board footer

Powered by FluxBB