Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Proprietary nvidia driver doesn't remember monitor layout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Hexorg
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2009
Posts: 114

PostPosted: Tue Feb 23, 2016 10:25 pm    Post subject: Proprietary nvidia driver doesn't remember monitor layout Reply with quote

I reinstalled my system recently after not doing updates for a while (4-5 months) so I'm not sure when this change happened, but now every time I reboot my computer the monitors are out of order.

I noticed there's now a /etc/init.d/nvidia-persistenced and /etc/init.d/nvidia-smi services. adding those to auto-start on default and boot run levels didn't help. I tried changing /etc/conf.d/nvidia-persistenced to add --persistence-mode to the arguments and change the username to my main user - now the service crashes on startup, but starting it manually works. The monitors are still out of order though.

I looked through the tutorials and posts about persistence but didn't find anything useful. How can I get nvidia driver to remember the order/layout of my monitors?

/etc/X11/xorg.conf: https://bpaste.net/show/4fc75396ff6a
/var/log/Xorg.0.log: https://bpaste.net/show/459cad4cb1d5
dmesg: https://bpaste.net/show/badc4255ba02
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7006

PostPosted: Wed Feb 24, 2016 12:34 am    Post subject: Reply with quote

nvidia named monitor: CRT-* and DFP-*, xorg and xrandr use DVI-I-*... names.

i don't think nvidia use DVI-I-* notation, understand or just care about it, in metamodes, the nvidia naming convention should be use.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Feb 24, 2016 1:12 am    Post subject: Reply with quote

I put this into my ~/.xinitrc to keep monitors in order, using nvidia blob, too.
Code:
xrandr --auto --output DVI-I-3 --left-of DVI-I-2
Back to top
View user's profile Send private message
Hexorg
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2009
Posts: 114

PostPosted: Thu Feb 25, 2016 1:58 am    Post subject: Reply with quote

@krinn - Renaming monitors to proper DFP-* names didn't change anything.

@Buffoon - that works but as a workaround, thanks! But I'd still like to find the "proper" way.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Thu Feb 25, 2016 3:29 am    Post subject: Reply with quote

It is proper way for me. Something that goes into X initialization file and is under my control.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7006

PostPosted: Thu Feb 25, 2016 10:42 am    Post subject: Reply with quote

Hexorg wrote:
@krinn - Renaming monitors to proper DFP-* names didn't change anything.

you need to give more than just that, show the new metamodes set, what you get (monitor position), and what you were expecting (monitor positions wish)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum