You are not logged in.

#26 2015-10-14 06:53:20

oxhak
Member
From: France
Registered: 2015-09-30
Posts: 5
Website

Re: Strange behaviour with 2 screens and linux & nvidia update

No workaround here, are you working on a fix ? 2 weeks that my vga second screen is ugly with a 980GTX, and no solution in updates.

Last edited by oxhak (2015-10-14 06:58:40)

Offline

#27 2015-10-14 07:08:42

oxhak
Member
From: France
Registered: 2015-09-30
Posts: 5
Website

Re: Strange behaviour with 2 screens and linux & nvidia update

Guys who have this issue, please confirm my bug  report here https://bugs.archlinux.org/task/46708

Last edited by oxhak (2015-10-14 07:22:07)

Offline

#28 2015-10-14 12:56:56

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Strange behaviour with 2 screens and linux & nvidia update

There was already a bug report here: https://bugs.archlinux.org/task/46544
I posted a workaround there. Should have posted it here too.

Offline

#29 2015-10-14 13:31:09

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Strange behaviour with 2 screens and linux & nvidia update

@th3voic3: I tried your workaround, but it did not work here (I'm using VGA): if I set the refresh rate to anything other than the default one then the display area is aligned with the screen but the video quality is really bad and the fonts are illegible.

Last edited by mauritiusdadd (2015-10-14 13:36:35)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#30 2015-10-14 13:39:45

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Strange behaviour with 2 screens and linux & nvidia update

I found my workaround by doing

xrandr -q

and saw that for my VGA Monitor the refresh rate wasn't 60, but 59.9 or something. So

xrandr --output DVI-I-0 --rate 60 --mode 1680x1050 --right-of HDMI-0 --output HDMI-0 --mode 1920x1080

does the trick for me.

Edit: Don't be fooled by the "DVI-I-0" my gfx card only has DVI output, but my monitor is a VGA attached with an adapter.

Last edited by th3voic3 (2015-10-14 13:40:40)

Offline

#31 2015-10-15 20:15:44

lukasm
Member
Registered: 2014-10-24
Posts: 23

Re: Strange behaviour with 2 screens and linux & nvidia update

Unfortunately I cannot change the rate, it simly happens nothing at all. But I have strange refresh rates too.

I'm currently using 1152x864 on the screen which does not work correctly, but this is awful.

DVI-I-0 connected primary 1152x864+0+0 (normal left inverted right x axis y axis) 380mm x 300mm
   1280x1024     60.02 +  75.02  
   1152x864      75.00* 
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
DVI-I-1 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  

What do you suggest?

Offline

#32 2015-10-15 23:11:04

SkyTod
Member
Registered: 2009-09-01
Posts: 226

Re: Strange behaviour with 2 screens and linux & nvidia update

That workaround doesn't work for me as well, anything I'm doing wrong?

$ xrandr
Screen 0: minimum 8 x 8, current 1440 x 900, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 410mm x 257mm
   1440x900      59.89*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
$ xrandr --output VGA-0 --mode 1440x900 --rate 60
$ 

Offline

#33 2015-10-16 05:10:55

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Strange behaviour with 2 screens and linux & nvidia update

SkyTod wrote:

That workaround doesn't work for me as well, anything I'm doing wrong?

$ xrandr
Screen 0: minimum 8 x 8, current 1440 x 900, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 410mm x 257mm
   1440x900      59.89*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
$ xrandr --output VGA-0 --mode 1440x900 --rate 60
$ 

I just tested it the way you did it. Doesn't do anything for me. "--rate 60" has to be right before the "--mode" switch like in the example command I posted.

Offline

#34 2015-10-16 05:25:02

lukasm
Member
Registered: 2014-10-24
Posts: 23

Re: Strange behaviour with 2 screens and linux & nvidia update

Yes sure, should be left to the command. But doesn't work for me neither. I mean it does something, the screen goes black shortly, but it doesn't change anything finally.

With --verbose flag I get

#! xrandr --verbose --output DVI-I-1  --rate 60 --mode 1280x1024
crtc 0:    1280x1024  60.02 +0+0 "DVI-I-1"

Depending on the rate I enter I will get 60.02 or 75.02.


I also tried to add a new mode, but I also get an error i.e.

#! cvt 1280 1024 60
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

#! xrandr --newmode  "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

#! xrandr
Screen 0: minimum 8 x 8, current 2560 x 1024, maximum 16384 x 16384
DVI-I-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DVI-I-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
DVI-I-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)
  1280x1024_60.00 (0x35b) 109.000MHz
        h: width  1280 start 1368 end 1496 total 1712 skew    0 clock  63.67KHz
        v: height 1024 start 1027 end 1034 total 1063           clock  59.89Hz

#! xrandr --addmode DVI-I-0 1280x1024_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  33
  Current serial number in output stream:  34

Does anyone has further suggestions?

Offline

#35 2015-10-16 05:46:47

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Strange behaviour with 2 screens and linux & nvidia update

Usually you cannot change the refresh rate to an arbitrary value,  you can only choose among the values listed by xrandr for each resolution. In order to use a custom refresh rate you have to add a new modeline (see https://wiki.archlinux.org/index.php/Xr … esolutions).

NOTE: if you are unable to add a new modeline most probably you have to set to false the option UseEdid in the [Device] section of your xorg.conf. For example, below there is the relevant section of my /etc/X11/xorg.conf;

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VW225"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
     Modeline       "1680x1050"  145.00  1680 1800 1976 2272  1050 1053 1059 1099 -hsync +vsync
     Option         "PreferredMode" "1680x1050"
    Option         "DPMS" "false"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 550 Ti"
    BusID          "PCI:1:0:0"
    Option         "NoLogo" "1"
     Option         "UseEDID" "false"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "1680x1050 +0+0"
    Option         "SLI" "on"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth   24
        Modes   "1680x1050"
    EndSubSection

About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#36 2015-10-16 10:01:58

SkyTod
Member
Registered: 2009-09-01
Posts: 226

Re: Strange behaviour with 2 screens and linux & nvidia update

th3voic3 wrote:

I just tested it the way you did it. Doesn't do anything for me. "--rate 60" has to be right before the "--mode" switch like in the example command I posted.

I have one monitor. I gave up and rollbacked, have no time to play with xrandr. For lazy fixers:

pacman -U http://ala.seblu.net/packages/n/nvidia/nvidia-352.41-2-x86_64.pkg.tar.xz http://ala.seblu.net/packages/n/nvidia-utils/nvidia-utils-352.41-1-x86_64.pkg.tar.xz http://ala.seblu.net/packages/n/nvidia-libgl/nvidia-libgl-352.41-1-x86_64.pkg.tar.xz

Offline

#37 2015-10-16 10:04:53

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Strange behaviour with 2 screens and linux & nvidia update

SkyTod wrote:
th3voic3 wrote:

I just tested it the way you did it. Doesn't do anything for me. "--rate 60" has to be right before the "--mode" switch like in the example command I posted.

I have one monitor. I gave up and rollbacked, have no time to play with xrandr. For lazy fixers:

pacman -U http://ala.seblu.net/packages/n/nvidia/nvidia-352.41-2-x86_64.pkg.tar.xz http://ala.seblu.net/packages/n/nvidia-utils/nvidia-utils-352.41-1-x86_64.pkg.tar.xz http://ala.seblu.net/packages/n/nvidia-libgl/nvidia-libgl-352.41-1-x86_64.pkg.tar.xz

I don't know if my workaround would have worked for you but what I meant was you posted this:

xrandr --output VGA-0 --mode 1440x900 --rate 60

When it should have been like this:

xrandr --output VGA-0 --rate 60 --mode 1440x900

Offline

#38 2015-10-16 10:26:15

SkyTod
Member
Registered: 2009-09-01
Posts: 226

Re: Strange behaviour with 2 screens and linux & nvidia update

th3voic3 wrote:

I don't know if my workaround would have worked for you but what I meant was you posted this:

xrandr --output VGA-0 --mode 1440x900 --rate 60

When it should have been like this:

xrandr --output VGA-0 --rate 60 --mode 1440x900

I tried both. Do you think it does really matter?

Offline

#39 2015-10-16 11:07:32

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Strange behaviour with 2 screens and linux & nvidia update

SkyTod wrote:
th3voic3 wrote:

I don't know if my workaround would have worked for you but what I meant was you posted this:

xrandr --output VGA-0 --mode 1440x900 --rate 60

When it should have been like this:

xrandr --output VGA-0 --rate 60 --mode 1440x900

I tried both. Do you think it does really matter?

Yes in my tests it mattered.
If the "--rate" switch was at the end of the command it did nothing for me, but maybe we are just facing different bugs then.

Offline

#40 2015-10-16 11:55:12

SkyTod
Member
Registered: 2009-09-01
Posts: 226

Re: Strange behaviour with 2 screens and linux & nvidia update

th3voic3 wrote:

Yes in my tests it mattered.
If the "--rate" switch was at the end of the command it did nothing for me, but maybe we are just facing different bugs then.

It shouldn't, really. Yes, my case is one monitor with VGA connector plugged, however the issue is more generic related to nvidia drivers.

Offline

#41 2015-11-26 05:10:44

lukasm
Member
Registered: 2014-10-24
Posts: 23

Re: Strange behaviour with 2 screens and linux & nvidia update

This someone test again recently, if the issue is still open?

Offline

#42 2015-11-26 08:34:33

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Strange behaviour with 2 screens and linux & nvidia update

I've not tested it recently, but on the Nvidia forums it is reported that the issue is still unsolved even with the version 358.16 of the driver.


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#43 2015-12-05 21:42:00

SkyTod
Member
Registered: 2009-09-01
Posts: 226

Re: Strange behaviour with 2 screens and linux & nvidia update

lukasm wrote:

This someone test again recently, if the issue is still open?

Approved, still be the case after recent update as well, downgrading again...

Offline

#44 2015-12-05 22:48:10

SkyTod
Member
Registered: 2009-09-01
Posts: 226

Re: Strange behaviour with 2 screens and linux & nvidia update

Arghh...the downgrade didn't work after kernel upgrade. I'm sick of it: switched to nouveau.

Offline

#45 2015-12-09 20:18:28

lukasm
Member
Registered: 2014-10-24
Posts: 23

Re: Strange behaviour with 2 screens and linux & nvidia update

Strange things are happening - don't know if that probably fits to this problem. It is not a bug or so, but after todays upgrades I've suddenly had a different screen resolution when rebooting, and now, I have many many different ratios available with strange refresh rates, i.e.

DVI-I-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DVI-I-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      75.03 +  70.07    60.00  
   1792x1344     60.01  
   1600x1200     65.00    60.00  
   1400x1050     74.76    59.98  
   1280x1024     75.02*   60.02  
   1280x960      60.00  
   1152x864      75.00  
   832x624       74.55  
   800x600       75.00    72.19    60.32    56.25  
   700x525       74.76    59.98  
   640x480       75.00    72.81    59.94  
   512x384       70.07    60.00  
   400x300       72.19  
   320x240       72.81    60.05  

Still having Nvidia 252.41and xorg-server 1.17.4, because I cannot update them.

But anyway - without upgrading everything still wors.

Offline

#46 2015-12-09 20:54:27

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: Strange behaviour with 2 screens and linux & nvidia update

For me still it's all exactly the same.

And it doesn't look good since NVIDIA does not respond at all. And the main person that attends in the Linux forums has a note in his signature that says: "NOTE: I'm on paternity leave until early 2016."

Last edited by josealb77 (2015-12-09 21:00:38)

Offline

#47 2016-01-20 21:18:57

LithiumPT
Member
Registered: 2013-02-25
Posts: 15

Re: Strange behaviour with 2 screens and linux & nvidia update

The nvidia-352 package available on the AUR works great, just needs a little tweaking, here's how I downgraded my nvidia package:

- Remove nvidia package: pacman -R nvidia

- Install nvidia-utils-352 AUR package which includes 3 packages: nvidia-utils-352, nvidia-libgl-352 and opencl-nvidia-352 (during pacman installation it should prompt to replace some exisiting packages: nvidia-utils , nvidia-libgl and opencl-nvidia if you have it installed)

- Install nvidia-352 AUR package, editing the EXTRAMODULES variable on the nvidia-352.install file to suit your current kernel version (you can check it by: ls /usr/lib/modules/)

Reboot and enjoy! smile

Edit 1: A new kernel version might require a reinstall of nvidia-352 AUR package.

Edit 2: For 32-bit compatibility also install lib32-nvidia-utils-352 (which will also replace the existing packages)

Last edited by LithiumPT (2016-01-20 22:54:59)

Offline

#48 2016-02-03 02:07:51

elp
Member
Registered: 2007-04-10
Posts: 27

Re: Strange behaviour with 2 screens and linux & nvidia update

Thank you very much LithiumPT!

Offline

Board footer

Powered by FluxBB