Bug 105362 - xserver (git version) modeset: failed to set mode: invalid argument, stopping xserver
Summary: xserver (git version) modeset: failed to set mode: invalid argument, stopping...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/modesetting (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-06 10:22 UTC by Jos van Wolput
Modified: 2018-05-17 08:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xserver error (36.05 KB, text/x-log)
2018-03-06 10:22 UTC, Jos van Wolput
no flags Details

Description Jos van Wolput 2018-03-06 10:22:49 UTC
Created attachment 137822 [details]
xserver error

After installing the latest git version of xserver (2018-03-06), the xserver doesn't start anymore because of the following error: modeset(0): failed to set mode: Invalid argument.
Please see the attached Xorg.0.log
Comment 1 Jos van Wolput 2018-03-13 11:23:18 UTC
No such issue when using xorg-server-1.19.99.901.
Replacing /xorg/git/xserver/hw/xfree86/drivers/modesetting
by the version of /xorg/xorg-server-1.19.99.901/hw/xfree86/drivers/modesetting
too works without problem.
Comment 2 Jos van Wolput 2018-03-15 20:30:34 UTC
After make install commit 7fc89251... Revert "modesetting: Remove #ifdefs XF86_PDEV_SERVER_FD"
still the same error [762.974] (EE) modeset(0): failed to set mode: Invalid argument.
Comment 3 Jos van Wolput 2018-03-19 09:56:49 UTC
Issue fixed,
no more modeset error after installing the latest git version of xserver (2018-03-19).
Comment 4 higuita 2018-05-16 03:20:07 UTC
looks like i have the same problem, applied in a little different place that wasn't fixed.

i get this error after waking up from sleep, crashing the running X. 
After booting, i can start X11 without any problem, it is just when waking up that the X11 returns the "modeset: failed to set mode: invalid argument" and  crashes.

Using the same kernel with a older X11, it worked fine, so this is related with the new X11 version

xorg-server-1.20.0
xf86-video-modesetting-0.9.0
Comment 5 Michel Dänzer 2018-05-16 07:20:26 UTC
(In reply to higuita from comment #4)
> looks like i have the same problem, applied in a little different place that
> wasn't fixed.

The reporter of this problem says it's fixed. Please file your own report.
Comment 6 Jos van Wolput 2018-05-16 08:15:39 UTC
(In reply to higuita from comment #4)
> i get this error after waking up from sleep, crashing the running X. 
> 
> xorg-server-1.20.0
> xf86-video-modesetting-0.9.0

I don't have any error after waking up from sleep, using xorg-server-1.20.0.
Not using xf86-video-modesetting-0.9.0 which is four years old.
The modesetting driver is merged into the xserver.
Comment 7 higuita 2018-05-17 01:41:30 UTC
you are right the modesetting 0.9 drive is old and all it files where already overwriten by the xserver package... i missed the notification about it being obsolete.

Maybe hardware also help here? i've a AMD RX480, A10 CPU/APU and 2 screens.

So if this isn't directly the same bug applied to a different code path, i will  research more and see if i can grab more info
Comment 8 Jos van Wolput 2018-05-17 08:07:10 UTC
(In reply to higuita from comment #7)
> Maybe hardware also help here? i've a AMD RX480, A10 CPU/APU and 2 screens.
> 
Maybe hardware issue?
I have a HP Elitebook 2570p Ivybridge Mobile, 1 screen.
Also no problems using xserver 1.20.99.1!
If still problems, please file your own bug report.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.