You are not logged in.

#1 2017-05-16 08:24:09

raffiki
Member
Registered: 2017-05-16
Posts: 4

xserver crashes when using xrandr.

I'm experiencing difficulty setting up  multiple monitors and resizing screens with my latest Arch setup.
when resizing or adding a 2nd monitor whith xrander, xserver crashes and writes following output to the screen:


xrandr --output DP-1 --off --output HDMI-1 --off --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --off
operation not permitted. resize called... symbol lookup error: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaGetPixmapDriverPrivatexinit: connection refused

screenshot: https://goo.gl/photos/WCixt8jUX7v1atRy5
journalctl: https://pastebin.com/6japhnGw
dmesg: https://pastebin.com/zMFtgdRx
i3.log: https://pastebin.com/K1XaW48R (there's an error logged in here, but I believe that's a consequence of the xserver  crash, not a cause...)
xorg.7.log: https://pastebin.ca/3813284

I can startx again however.

graphics card: 01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)

*(I am using DP for a 2nd monitor. Using HDMI and applying with xrandr makes both screens go black)

Offline

#2 2017-05-16 08:34:20

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: xserver crashes when using xrandr.

Post output of plain "xrandr"

Offline

#3 2017-05-16 08:37:21

raffiki
Member
Registered: 2017-05-16
Posts: 4

Re: xserver crashes when using xrandr.

→ xrandr
Screen 0: minimum 320 x 200, current 6400 x 2160, maximum 16384 x 16384
eDP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   3840x2160     60.02*+
   1920x1200     59.95
   1920x1080     60.00
   1600x1200     59.95
   1680x1050     60.00
   1400x1050     60.00
   1280x1024     59.95
   1280x960      59.99
   1152x864      59.97
   1024x768      59.95
   800x600       59.96
   640x480       59.94
   720x400       59.97
   640x400       59.96
   640x350       59.84
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 2560x1440+3840+0 (normal left inverted right x axis y axis) 553mm x 311mm
   2560x1440     59.95*+
   2048x1152     60.00
   1920x1200     59.88
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98
   1920x1080i    60.00    50.00    59.94
   1600x1200     60.00
   1680x1050     59.95
   1280x1024     75.02    60.02
   1200x960      59.99
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.03    60.00
   800x600       75.00    60.32
   720x576       50.00
   720x576i      50.00
   720x480       60.00    59.94
   720x480i      60.00    59.94
   640x480       75.00    60.00    59.94
   720x400       70.08

yeah, I didn't mention. After the crash and restart of xserver, the 2nd screen is there straight away. So that's what you see: 2 working monitors.

Offline

#4 2017-05-16 08:52:57

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: xserver crashes when using xrandr.

Sorry, but I couldn't understand what you are trying to achieve with your xrandr command. Is it just for turning off other screens?

Offline

#5 2017-05-16 08:55:52

raffiki
Member
Registered: 2017-05-16
Posts: 4

Re: xserver crashes when using xrandr.

for example, yes. Or resizing 1 one of the screens.  Last line of Xorg.7.log (before it crashes):    [ 35740.036] resize called 1920 1080

Offline

#6 2017-05-16 09:07:41

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: xserver crashes when using xrandr.

Seems like some error with nouveau driver, I am not using one so couldn't help much there.

Offline

#7 2017-05-16 09:57:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,939

Re: xserver crashes when using xrandr.

let's see :

eDP-1 is a 3840x2160 screen (4k monitor) .

DP-2 is a 2540x1660 screen

X combines them into one big screen.


You want to disable DP-2 and switch eDP-1 to 1920x1080 mode .
Is that a correct summary ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2017-05-16 10:05:59

raffiki
Member
Registered: 2017-05-16
Posts: 4

Re: xserver crashes when using xrandr.

indeed!

Offline

#9 2017-05-16 19:38:54

seth
Member
Registered: 2012-09-03
Posts: 58,779

Re: xserver crashes when using xrandr.

symbol lookup error: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaGetPixmapDriverPrivate

https://bugs.archlinux.org/task/42121
https://bugs.freedesktop.org/show_bug.cgi?id=90306

EXA was already not supported for Maxwell, guess this continues with Pascal.
Since glamor was dropped as well, use either the modesetting driver or the nvidia blob.

Offline

#10 2017-05-17 11:09:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,939

Re: xserver crashes when using xrandr.

Glamor wasn't dropped, just integrated in xorg server.

Try removing xf86-video-nouveau so X needs to use the modesetting driver.
modesetting and xf86-video-nouveau use almost the same parts of mesa, libdrm and kernel, so it will help to diagnose where the problem lies.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2017-05-17 12:28:11

seth
Member
Registered: 2012-09-03
Posts: 58,779

Re: xserver crashes when using xrandr.

Afaiu nouveau doesn't support implement it anymore - regadless of whether built-in or module.
https://www.phoronix.com/scan.php?page= … rop-GLAMOR (yes, it's phoronix, but the google spit it on the first page as first link ;-)

Last edited by seth (2017-05-17 12:28:33)

Offline

#12 2017-05-17 12:41:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,939

Re: xserver crashes when using xrandr.

Ok, so xf86-video-nouveau did drop glamor support.

I frequently read phoronix, it can be a bit biased but has decent information .
The comments often have good information , but you may have to learn to skip flamewar / troll posts to get to the interesting stuff.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2017-05-17 19:37:03

AstralAbraxas
Member
Registered: 2016-11-16
Posts: 6

Re: xserver crashes when using xrandr.

operation not permitted. resize called... symbol lookup error: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaGetPixmapDriverPrivatexinit: connection refused

It says right there "Operation Not Permitted." "Connection refused." Try running it with sudo. Something like this should at least get them running (probably not correct positions/orientations/resolutions):

sudo xrandr --output eDP-1 --auto --output DP-2 --auto

Offline

Board footer

Powered by FluxBB