New: nouveau driver can`t handle xrandr requests
https://bugs.freedesktop.org/show_bug.cgi?id=47556
Bug #: 47556
Summary: nouveau driver can`t handle xrandr requests
Classification: Unclassified
Product: xorg
Version: 7.6 (2010.12)
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]Created attachment 58730
--> https://bugs.freedesktop.org/attachment.cgi?id=58730
Xorg.0.log of crashed Xorg
If I try to position my main screen leftsides to my integrated screen nouveau comes out on strike:
xrandr --output LVDS-1 --right-of VGA-1
Previously it was showing garbage on the external screen but now with Xorg
7.6_1.10.4-201.1 and nouveau-0.0.16_20110720_b806e3f-34 it is just switching to the text console (you can see it) and then crashing Xorg itself.
A Xinerama setup with nouveau would be very fine for my working environment
(external screen + keyboard, at different resolution).
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-47556-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 47556] nouveau driver can`t handle xrandr requests
https://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #1 from Elmar Stellnberger <[email protected]> 2012-03-20 02:16:31 PDT --- Created attachment 58732
--> https://bugs.freedesktop.org/attachment.cgi?id=58732
Xorg.0.log: external screen only, 1920x1200
Just setting the external screen to 1920x1200 gives an error as well:
# xrandr --output LVDS-1 --off # xrandr --output VGA-1 --mode 1920x1200 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 149 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Serial number of failed request: 28 Current serial number in output stream: 29
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
Emil Velikov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58730|application/x-trash |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
Emil Velikov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58732|text/x-log |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #2 from Emil Velikov <[email protected]> 2012-03-20 12:42:39 PDT --- Hi Elmar
Looking at your second log, I've noticed the following
The kernel is failing to allocate new buffer object, meaning that either
* xf86-video-nouveau, is not requesting the correct format/size
* libdrm is not wise enough to forward the info to the kernel or
* kernel is not aware about the specific format, etc
Can you please check if there is an updated packages from openSUSE - see bug 47288 comment 2
Thanks
Emil
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #3 from Elmar Stellnberger <[email protected]> 2012-03-21 00:42:45 PDT ---
By time this is the latest version. The only thing I can offer at the moment
is to run Xorg with -logverbose 7, trying to strace it or to setterm a higher
kernel reporting stage.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #4 from Elmar Stellnberger <[email protected]> 2012-03-21 08:04:16 PDT ---
In deed, nouveau seems to have a problem in allocating video memory. I have
2GB main memory but however an Nvidia GForce 420 Go which uses to come with
32MB of dedicated video RAM like in most embedded systems. I can achieve a
resolution off up to 1280x1024 (1600x1200 does not work) with a proper
xorg.conf however not with desktop video effects. The desired setup as
supported by the proprietary driver is 1920x1200+1024x768, xinerama. Switching
DRI off doesn`t make a difference.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #5 from Elmar Stellnberger <[email protected]> 2012-03-21 08:06:05 PDT --- Created attachment 58815
--> https://bugs.freedesktop.org/attachment.cgi?id=58815
Xorg.0.log: xinerama configuration
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #6 from Elmar Stellnberger <[email protected]> 2012-03-21 08:08:44 PDT --- Created attachment 58817
--> https://bugs.freedesktop.org/attachment.cgi?id=58817
Xorg.0.log: xinerama configuration (right one)
Here come the test results for full xinerama setup including -logverbose 7,
strace & dmesg.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #7 from Elmar Stellnberger <[email protected]> 2012-03-21 08:09:32 PDT --- Created attachment 58818
--> https://bugs.freedesktop.org/attachment.cgi?id=58818
xorg.conf: xinerama setup
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #8 from Elmar Stellnberger <[email protected]> 2012-03-21 08:10:15 PDT --- Created attachment 58819
--> https://bugs.freedesktop.org/attachment.cgi?id=58819
Xorg.strace: xinerama setup
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #9 from Elmar Stellnberger <[email protected]> 2012-03-21 08:11:12 PDT --- Created attachment 58820
--> https://bugs.freedesktop.org/attachment.cgi?id=58820
Xorg.ltrace: xinerama setup
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #10 from Elmar Stellnberger <[email protected]> 2012-03-21 08:12:07 PDT --- Created attachment 58821
--> https://bugs.freedesktop.org/attachment.cgi?id=58821
Xorg.dmesg: xinerama setup
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] nouveau driver can`t handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
Elmar Stellnberger <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58817|Xorg.0.log: xinerama |Xorg.0.log: xinerama
description|configuration (right one) |setup(right one)Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|nouveau driver can`t handle |[NV17] nouveau driver can't
|xrandr requests |handle xrandr requests--- Comment #11 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Could you retest with more recent software? I think there have been a lot of changes both to xf86-video-nouveau/libdrm and the kernel since you tested this.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #12 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Well, I would have to reinstall on one of those machines ...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #13 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- You could also boot with, e.g., an Arch livecd/liveusb which is fairly up-to-date.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #14 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Well done!; it works with oS13.1_MS4, xorg-x11-driver-video-nouveau-1.0.9-1.2.i586 for most practical purposes very well. However by finally plugging xranding and unplugging different monitors I did finally get an error on re-enabling the same screen with different resolution (i.e. --off -right-of --mode newone). The error may or may not have to do something with nouveau; see for the logs (using xorg-x11-7.6_1-9.2.noarch, Xorg server 1.14.2, release date 2013-06-25).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #15 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 85551
--> https://bugs.freedesktop.org/attachment.cgi?id=85551&action=edit/var/log/messages (wild-xranding with different resolution)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #16 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 85552
--> https://bugs.freedesktop.org/attachment.cgi?id=85552&action=edit
Xorg.0.log (wild xranding with different resolution)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #17 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Is it a persistent failure (i.e. do future commands that used to work before start failing), or is it a "if I use this weird set of 75 arguments, it fails"? If the latter, what's exactly are the arguments?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau driver can't handle xrandr requests
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #18 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- No, all further requests have failed from a certain xrandr command on. The command looked very normal like this:
xrandr --output VGA-1 --right-of LVDS-1 --mode 800x6000
The only difference to commands issued before was the resolution (given here as 800x600; may have been 1024x768 or something else).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau fails to handle/set resolutions over certain size, nouveau_bo_new() -ENOMEM
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
Emil Velikov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[NV17] nouveau driver can't |[NV17] nouveau fails to
|handle xrandr requests |handle/set resolutions over
| |certain size,
| |nouveau_bo_new() -ENOMEM--- Comment #19 from Emil Velikov <[email protected]> --- Almost the same issue as originally, short on memory :'(
I admit some work on optimising such cases for low (gpu/vram) memory may be needed, but I do not think it high up the priority list. Read - it's a most likely a gem/ttm work than nouveau specific. Either way anyone is welcome to give it a crack
Following the messages from xorg.log
drmmode_crtc_shadow_allocate >nouveau_allocate_surface >
(libdrm) nouveau_bo_new >
(most likely) drmCommandWriteRead(dev->fd, DRM_NOUVEAU_GEM_NEW...) > (kernel) nouveau_gem_ioctl_new >
(most likely) nouveau_gem_new >
chaos x)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau fails to handle/set resolutions over certain size, nouveau_bo_new() -ENOMEM
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #20 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I noticed that the kernel you used in the last test was compiled with gcc 4.8. Was libdrm also compiled with gcc 4.8? If so, please try it with libdrm-2.4.48 or later.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau fails to handle/set resolutions over certain size, nouveau_bo_new() -ENOMEM
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #21 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- It should be the same compiler as I used the default toolkit of the same version of the distribution.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau fails to handle/set resolutions over certain size, nouveau_bo_new() -ENOMEM
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
--- Comment #22 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- This is likely still an issue with some older machines though testing it got stuck because of a kernel s2ram bug:
http://mirror1.htu.tugraz.at/archlinux/iso/2015.11.01/archlinux-2015.11.01-dual.iso.
The notebook used to test this is still alive.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 47556] [NV17] nouveau fails to handle/set resolutions over certain size, nouveau_bo_new() -ENOMEM
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=47556
Elmar Stellnberger <estellnb-7Km2I/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME--- Comment #23 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Bug 70510 seems to be the newer candidate (pls. correct if I missed sth.).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau