[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-05-01 Thread Daniel van Vugt
Page flipping on this system actually works fine, so long as you use dumb 
buffers:
https://github.com/dvdhrm/docs/blob/master/drm-howto/modeset-vsync.c

Unfortunately Mir does not support dumb buffers, so Mir can't display
anything right now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-29 Thread Daniel van Vugt
Also note that Mir supporting the Nvidia binary driver won't solve this.
Ubuntu setup and live images need to work, and they won't have the
Nvidia binary driver.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-28 Thread Daniel van Vugt
Confirmed, it appears KMS page flipping is not happening at all on the
GTX 970.

Our renderer supports LLVMpipe just fine (as I discovered separately
today using Intel graphics).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-27 Thread Daniel van Vugt
** Tags added: nouveau

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-27 Thread Daniel van Vugt
Also the kernel logs this during the 30 seconds of hanging:

[  470.282196] nouveau :01:00.0: fifo: read fault at 011000 engine 07 
[PBDMA0] client 06 [HOST] reason 00 [PDE] on channel -1 [00ff86f000 unknown]
[  485.280032] nouveau :01:00.0: mir_proving_ser[3146]: failed to idle 
channel 2 [mir_proving_ser[3146]]
[  500.280104] nouveau :01:00.0: mir_proving_ser[3146]: failed to idle 
channel 2 [mir_proving_ser[3146]]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-27 Thread Daniel van Vugt
** Changed in: mir
   Importance: Undecided => High

** Changed in: mesa (Ubuntu)
   Importance: Undecided => High

** Description changed:

- Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get
- just a black screen and mouse cursor (which at least moves).
+ Nvidia (using nouveau not binary drivers): Mir servers freeze on start-
+ up for 30 seconds, and then you get just a black screen and mouse cursor
+ (which at least moves).
  
  Using lp:mir r3480 ...
  
  [2016-04-27 15:20:19.369559] mirserver: Selected driver: mir:mesa-kms 
(version 0.22.0)
  nvc0_screen_create:762 - Error allocating PGRAPH context for M2MF: -22
  [2016-04-27 15:20:51.934145] mirserver: Using hardware cursor
  [2016-04-27 15:20:51.937691] mirserver: Initial display configuration:
  [2016-04-27 15:20:51.937703] mirserver:   0.36: unused DVI-I
  [2016-04-27 15:20:51.937713] mirserver:   0.39: DVI-D 24.0" 520x320mm
  [2016-04-27 15:20:51.937722] mirserver: Current mode 1920x1200 59.95Hz
  [2016-04-27 15:20:51.937731] mirserver: Preferred mode 1920x1200 
59.95Hz
  [2016-04-27 15:20:51.937740] mirserver: Logical position +0+0
  [2016-04-27 15:20:51.937781] mirserver:   0.41: unused HDMI-A
  [2016-04-27 15:20:51.937799] mirserver:   0.43: unused DisplayPort
  [2016-04-27 15:20:51.937972] mircommon: Loading modules from: 
bin/../lib/server-modules/
  [2016-04-27 15:20:51.938015] mircommon: Loading module: 
bin/../lib/server-modules/graphics-android.so.9
  [2016-04-27 15:20:51.938107]  mircommon: Failed to load module: 
bin/../lib/server-modules/graphics-android.so.9 (error was:libhardware.so.2: 
cannot open shared object file: No such file or directory)
  [2016-04-27 15:20:51.938119] mircommon: Loading module: 
bin/../lib/server-modules/graphics-mesa-kms.so.9
  [2016-04-27 15:20:51.938142] mircommon: Loading module: 
bin/../lib/server-modules/server-mesa-x11.so.9
  [2016-04-27 15:20:51.938536] mircommon: Loading module: 
bin/../lib/server-modules/input-evdev.so.5
  [2016-04-27 15:20:51.955316] mirserver: Selected input driver: 
mir:evdev-input (version: 0.22.0)
  [2016-04-27 15:20:51.955500] mirserver: Mir version 0.22.0
  [2016-04-27 15:20:51.962627] GLRenderer: EGL vendor: Mesa Project
  [2016-04-27 15:20:51.962645] GLRenderer: EGL version: 1.4 (DRI2)
- [2016-04-27 15:20:51.962651] GLRenderer: EGL client APIs: OpenGL OpenGL_ES 
OpenGL_ES2 OpenGL_ES3 
- [2016-04-27 15:20:51.962657] GLRenderer: EGL extensions: EGL_EXT_buffer_age 
EGL_EXT_image_dma_buf_import EGL_KHR_create_context 
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image 
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image 
EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_surfaceless_context 
EGL_MESA_configless_context EGL_MESA_image_dma_buf_export 
+ [2016-04-27 15:20:51.962651] GLRenderer: EGL client APIs: OpenGL OpenGL_ES 
OpenGL_ES2 OpenGL_ES3
+ [2016-04-27 15:20:51.962657] GLRenderer: EGL extensions: EGL_EXT_buffer_age 
EGL_EXT_image_dma_buf_import EGL_KHR_create_context 
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image 
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image 
EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_surfaceless_context 
EGL_MESA_configless_context EGL_MESA_image_dma_buf_export
  [2016-04-27 15:20:51.962670] GLRenderer: GL vendor: VMware, Inc.
  [2016-04-27 15:20:51.962679] GLRenderer: GL renderer: Gallium 0.4 on llvmpipe 
(LLVM 3.8, 256 bits)
  [2016-04-27 15:20:51.962688] GLRenderer: GL version: OpenGL ES 3.0 Mesa 11.2.0
  [2016-04-27 15:20:51.962697] GLRenderer: GLSL version: OpenGL ES GLSL ES 3.00
  
  lspci:
  01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] 
(rev a1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-27 Thread Daniel van Vugt
The fallback to software rendering (llvmpipe) is a good sign. And a
moving mouse cursor is also a good sign (working KMS).

Although I don't yet see anything else on screen. Maybe our renderer is
using features that LLVMpipe lacks?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575516] Re: Nvidia: Mir servers freeze on start-up for 30 seconds, and then you get just a black screen and mouse cursor

2016-04-27 Thread Daniel van Vugt
On one occasion also got:

Dynamic exception type: 
boost::exception_detail::clone_impl
std::exception::what: Failed to schedule page flip

Maybe we're in a mode that needs blitting instead of flipping. I know
that's never been implemented in mesa-kms yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575516

Title:
  Nvidia: Mir servers freeze on start-up for 30 seconds, and then you
  get just a black screen and mouse cursor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1575516/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs