Gentoo Forums :: View topic - xrandr and xscreensaver problem Quick Search: in All availableThis forum Include subforumsThis topic FAQ | Search | Memberlist | Usergroups | Statistics | Profile | Log in to check your private messages | Log in | Register xrandr and xscreensaver problem View unanswered posts View posts from last 24 hours View posts from last 7 days Gentoo Forums Forum Index Desktop Environments View previous topic :: View next topic Author Message Mapt n00b Joined: 04 Sep 2017 Posts: 5 Posted: Mon Sep 04, 2017 7:29 pm Post subject: xrandr and xscreensaver problem Hi all. I have a problem, try fix it, but fail. And no information for this problem in google or anything. Details: I use x11-misc/xscreensaver-5.36(jpeg opengl pam perl) and x11-apps/xrandr-1.5.0. I have 3 monitors Code: mpc ~ # xrandr --listmonitors Monitors: 3 0: +*DVI-0 1280/339x1024/271+1280+0 DVI-0 1: +VGA-0 1280/339x1024/271+2560+0 VGA-0 2: +HDMI2 1280/340x1024/270+0+0 HDMI2 Its connected to 2 videocards: Code: mpc ~ # xrandr --listproviders Providers: number : 2 Provider 0: id: 0xb1 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:ATI Radeon HD 5450 @ pci:0000:01:00.0 Provider 1: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 1 name:Intel I create new empty user for test. In .xinitrc i add one line: exec xfce4-terminal (i use it only for test, in real this maybe any else application); I run startx, in terminal run "xscreensaver &", then set xrandr options: Code: xrandr --setprovideroutputsource 1 0; xrandr --addmode DVI-0 "1280x1024"; xrandr --addmode VGA-0 "1280x1024"; xrandr \ --output HDMI2 --mode 1280x1024 --pos 0x0 \ --output DVI-0 --mode 1280x1024 --pos 1280x0 --primary \ --output VGA-0 --mode 1280x1024 --pos 2560x0; And all work ok! In result i have 3 monitors from left to right, and equal resolution. But if i run startx, WITHOUT RUN xscreensaver, and run xrandr options (from previos sample) - result incorrect, monitor HDMI2 not work (black screen), but xrandr not return any errors. Anybody know how to fix this problem? And where is problem? Maybe xscreensaver create some randr query, and they help xrandr to work correctly? Maybe i need run this queries manually (when not use xscreensaver) before start xrandr settings. But what is this queries? How to determine it? Thanks for help! Sorry, my English is not good. [Moderator edit: added [code] tags to preserve output layout. -Hu] Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First Gentoo Forums Forum Index Desktop Environments All times are GMT Page 1 of 1 Jump to: Select a forum Assistance----------------News & AnnouncementsFrequently Asked QuestionsInstalling GentooMultimediaDesktop EnvironmentsNetworking & SecurityKernel & HardwarePortage & ProgrammingGamers & PlayersOther Things GentooUnsupported Software Discussion & Documentation----------------Documentation, Tips & TricksGentoo ChatGentoo Forums FeedbackDuplicate Threads International Gentoo Users----------------中文 (Chinese)DutchFinnishFrenchDeutsches Forum (German) Diskussionsforum Deutsche DokumentationGreekForum italiano (Italian) Forum di discussione italiano Risorse italiane (documentazione e tools)Polskie forum (Polish) Instalacja i sprzęt Polish OTWPortuguese Documentação, Ferramentas e DicasRussianScandinavianSpanishOther Languages Architectures & Platforms----------------Gentoo on AMD64Gentoo on ARMGentoo on PPCGentoo on SparcGentoo on Alternative ArchitecturesGentoo for Mac OS X (Portage for Mac OS X) 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 Links: forums.gentoo.org | www.gentoo.org | bugs.gentoo.org | wiki.gentoo.org | forum-mods@gentoo.org Copyright 2001-2022 Gentoo Foundation, Inc. Designed by Kyle Manna © 2003; Style derived from original subSilver theme. | Hosting by Gossamer Threads Inc. © | Powered by phpBB 2.0.23-gentoo-p11 © 2001, 2002 phpBB Group Privacy Policy