Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574410 - >=x11-base/xorg-server-1.18.0 - fix primary output detection for xinerama and reverse prime
Summary: >=x11-base/xorg-server-1.18.0 - fix primary output detection for xinerama and...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
: 574766 (view as bug list)
Depends on:
Reported: 2016-02-11 10:49 UTC by Sven B.
Modified: 2016-04-07 16:38 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2016-02-29 14:58:56 UTC
*** Bug 574766 has been marked as a duplicate of this bug. ***
Comment 2 vylaern 2016-03-13 18:14:53 UTC
Still the same = black screen
Comment 3 Sven B. 2016-03-13 18:31:31 UTC
Works for me with xorg-server 1.18.2 and lightdm/xfce, using the simple config:

Section "Module"
    Load "modesetting"

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID  "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration" "Yes"

as well as the xrandr commands in the display-setup-script (lightdm)
Comment 4 vylaern 2016-03-13 18:56:53 UTC
This is mine xorg.conf:
Section "Module"
    Load "modesetting"

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"

The only difference I see is "Yes" in your xorg.conf. I took mine from nvidia website (nvidia driver 361.28):
Comment 5 Sven B. 2016-03-13 19:04:38 UTC
The "yes" is optional i think, so that shouldn't be the reason.
Perhaps check the PCI id once more.

For display setup i also use the default:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

Otherwise i can't really think of anything.
Comment 6 vylaern 2016-03-13 19:12:57 UTC
My Xorg.0.log says no error, but pure X (without KDE) do not even start (black screen for few seconds and back to the console):

My .xinitrc
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

My xorg.conf with EDID also doesn't work. 
Section "Module"
    Load "modesetting"

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
    Option "ConnectedMonitor" "CRT-0"
    Option "CustomEDID" "CRT-0:/lib/firmware/edid/1920x1080_Clevo_W670SR.bin"
    Option "UseEDID" "True"

Does 1.18.2 version fixed the bug fixed in Arch version 1.18.1-3? Or is it just Arch path?
Comment 7 Sven B. 2016-03-13 19:25:11 UTC
It was fixed upstream, the arch patch is exactly that patch[1] and the release notes[2] for 1.18.2 include that one. 

Perhaps you could try the configuration for older xorg servers and specify "Screen 1" instead of "Screen 0" in the ServerLayout section as mentioned in the arch bug report.


Comment 8 vylaern 2016-03-13 19:31:26 UTC
xorg.conf is OK, as when I am trying to starx X + KDE, it partly works (without desktop and menus), when I try run konsole and glxinfo or glxgeras it says there is not glx. 

So as 1.18.2 doesn't work, maybe there is a problem with eselect-opengl?
Comment 9 vylaern 2016-03-27 06:53:44 UTC
After last days drivers update (both intel & nvidia) I have such error on the screen after typing 'startx' from the console: 

xrandr: Configure crtc 2 failed 
X Error of failed request: BadValue (integer parameter out of range for operation) 
Major Opcode of failed request: 139 (RANDR) 
Minor Opcode of failed request: 21 (RRSetCrtcConfig) 
Value in failed request: 0x0 
Serial number of failed request: 45 
Current serial number in output stream: 45 
xinit: connection to X server lost
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-07 16:38:38 UTC
The patch for the original report is included since xorg-server-1.18.2

If you still see problems with 1.18.3, please open a new bug report.