Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415345 - xfce-base/xfce4-session with 2 nvidia displays and 1 intel display does not initialize the background of the intel display
Summary: xfce-base/xfce4-session with 2 nvidia displays and 1 intel display does not i...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 08:16 UTC by Manfred Knick
Modified: 2015-07-04 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (e.i.txt,4.18 KB, text/plain)
2012-05-10 08:17 UTC, Manfred Knick
Details
xorg (X,4.97 KB, text/plain)
2012-05-10 08:17 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2012-05-10 08:16:33 UTC
'startx /usr/bin/xfce4-session -- -layout Three'
does not correctly set up both cards / all three monitors.

Plain X = twm works correctly.


Reproducible: Always

Steps to Reproduce:
1. 'startx /usr/bin/twm -- -layout Three'
All three displays show up.

2. 'startx /usr/bin/xfce4-session -- -layout Three'
Only the two nvidia displays show up.

3. 'startx /usr/bin/xfce4-session -- -layout BenQ'
Only intel display shows up (correct);
seems to correctly prepare intel chip.

4. 'startx /usr/bin/xfce4-session -- -layout Three'
Now all three displays show up correctly.
Comment 1 Manfred Knick 2012-05-10 08:17:29 UTC
Created attachment 311325 [details]
emerge --info

emerge --info
Comment 2 Manfred Knick 2012-05-10 08:17:54 UTC
Created attachment 311327 [details]
xorg
Comment 3 Manfred Knick 2012-05-10 08:21:31 UTC
Reproducible: Always

Steps to Reproduce:

1. 'startx /usr/bin/xfce4-session -- -layout Three'
Only the two nvidia displays show up completely.
On intel display, no background / black,
but the panel is being displayed.

3. 'startx /usr/bin/xfce4-session -- -layout BenQ'
Only intel display shows up (correctly with background);
seems to correctly prepare intel chip.

4. 'startx /usr/bin/xfce4-session -- -layout Three'
Now all three displays show up correctly.
Comment 4 Manfred Knick 2012-05-10 08:37:52 UTC
x11-base/xorg-drivers-1.11
x11-base/xorg-server-1.11.4
x11-base/xorg-x11-7.4-r2

x11-drivers/xf86-input-evdev-2.6.0
x11-drivers/xf86-input-keyboard-1.6.0
x11-drivers/xf86-input-mouse-1.7.1
x11-drivers/xf86-video-v4l-0.2.0


x11-drivers/xf86-video-intel-2.18.0

x11-drivers/nvidia-drivers-295.49:0

xfce-base/xfce4-meta-4.10:0
xfce-base/xfce4-session-4.10.0:0
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-10 13:31:43 UTC
So we forget about step 2 in comment #0? And comment #3 displays the steps correctly? And what you are trying to say is that using steps 1 and 2 should give you the desired three displays, whereas leaving out three means the Intel attached display never comes up?
Comment 6 Manfred Knick 2012-05-10 15:31:57 UTC
In comment #3 I already observed that "the panel is being displayed." 

In the meantime I discovered that the problem
!!!  only affects the _initial_ display
!!!  of the _background image_ .
The black background was totally misleading:
The screen is working, I can start applications!

Furthermore, moving them around / closing them, or moving around the panel,
the _configured_ background image becomes restored and visible in freed areas,
not the originally "black background".

So I'm going to change the Bug Header and re-phrase my findings below.

############################################################
(In reply to comment #5)

What I wanted to share is that I observed different ways to
a) observe the problem,
b) achieve a correctly initialized setup with all three displays working.

A) X via twm correctly initializes the background on all three screens
   right from start (even after a re-boot or a re-start).

B) X via XFCE on the intel chip only = "-layout BenQ"
   works sufficiently to initialize the background of that screen.
   Afterwards, XFCE always succeeds starting with "-layout Three".

C) After a re-boot or a re-start,
   the intel path background has to be "re-initialized" once again.
   For any X start afterwards,
   it is again sufficient to start via "-layout Three" directly
   and observe all three backgrounds being displayed correctly.

In comment 3, it should have read 1-2-3 and not 1-3-4 ;) - sorry.

Furthermore, 1. in #3 is not necessary to get the fully working setup -
I noted it because it displays the problem / error.
############################################################

I typically start XFCE with "-layout BenQ", 
then either kill X or gracefully finish XFCE,
and then start XFCE with "-layout Three".
This reproducibly provides not only fully functional screens,
but also the correct background image on all three displays.

Hoping that these observations from #0, #3 and above 
might give dev's a clue what might be going on.

Roughly speaking, to me it seems that somewhere in the XFCE startup process,
there must be something like a loop over drivers and / or devices
where some part of the background initialization is outside that loop
and not inside of it.

Later on, X taxes care of re-painting the correct background image
in consequence of the events created via "move", "resize" or "close".

It may well be more or less "accidentally" why in my setup always 
the background of the _intel_ screen "gets the blame".
Comment 7 Manfred Knick 2012-05-10 15:45:30 UTC
A)

I can definitely state that this problem occurred with
xfce-base/xfce4-meta-4.8 already.

B)

I can definitely state that XFCE corectly initialized the _two displays_
on an AMD Phenom II box 
when that was carrying the PNY GTX 560 Ti OC2 in it half a year earlier on.

This is the reason behind my guess "loop over _drivers_"
at the end of my comment above.
Comment 8 Jason Zaman gentoo-dev 2015-07-04 15:42:07 UTC
Does this still happen with 4.12?