From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Tue, 03 Mar 2015 08:56:42 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0224559272==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C257F6E55F for ; Tue, 3 Mar 2015 00:56:42 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0224559272== Content-Type: multipart/alternative; boundary="1425373002.DaC1f60.19201"; charset="UTF-8" --1425373002.DaC1f60.19201 Date: Tue, 3 Mar 2015 08:56:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89405 Bug ID: 89405 Summary: radeon: *ERROR* invalid ioctl running weston-launch while X is running Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: fosero@gmail.com Created attachment 113938 --> https://bugs.freedesktop.org/attachment.cgi?id=113938&action=edit weston-launch -u as root If I try to start a weston instance by using weston-launch, while gdm on X is running I get the following kernel message : [di mrt 3 09:39:01 2015] [drm:radeon_cp_getparam_kms] *ERROR* invalid ioctl with kms radeon_cp_getparam_kms [di mrt 3 09:39:01 2015] [drm:radeon_engine_reset_kms] *ERROR* invalid ioctl with kms radeon_engine_reset_kms weston-launch refuses to run, attached a log of its debug output. kernel - 3.19.0 libdrm - 2.4.59 RS780 weston/wayland 1.7 -- You are receiving this mail because: You are the assignee for the bug. --1425373002.DaC1f60.19201 Date: Tue, 3 Mar 2015 08:56:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 89405
Summary radeon: *ERROR* invalid ioctl running weston-launch while X is running
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/Radeon
Assignee dri-devel@lists.freedesktop.org
Reporter fosero@gmail.com

Created attachment 113938 [details]
weston-launch -u as root

If I try to start a weston instance by using weston-launch, while gdm on X is
running I get the following kernel message :

[di mrt  3 09:39:01 2015] [drm:radeon_cp_getparam_kms] *ERROR* invalid ioctl
with kms radeon_cp_getparam_kms
[di mrt  3 09:39:01 2015] [drm:radeon_engine_reset_kms] *ERROR* invalid ioctl
with kms radeon_engine_reset_kms

weston-launch refuses to run, attached a log of its debug output.

kernel - 3.19.0
libdrm - 2.4.59

RS780

weston/wayland 1.7


You are receiving this mail because:
  • You are the assignee for the bug.
--1425373002.DaC1f60.19201-- --===============0224559272== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0224559272==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Mon, 04 May 2015 16:59:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0999172604==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 144196E11B for ; Mon, 4 May 2015 09:59:48 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0999172604== Content-Type: multipart/alternative; boundary="1430758787.1DAEefFe0.17578"; charset="UTF-8" --1430758787.1DAEefFe0.17578 Date: Mon, 4 May 2015 16:59:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89405 --- Comment #1 from fosero@gmail.com --- Maybe unrelated, but there seems to be issue initializing given gfx chip when running anything non X. On a fresh boot trying to run any wayland session (weston directly or current stable gdm) results in just a black screen. No obvious error in the logs. Booting with plymouth enabled also just results in a black screen. However when X is started first any subsequent wayland session shows just fine. -- You are receiving this mail because: You are the assignee for the bug. --1430758787.1DAEefFe0.17578 Date: Mon, 4 May 2015 16:59:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 89405 from
Maybe unrelated, but there seems to be issue initializing given gfx chip when
running anything non X.

On a fresh boot trying to run any wayland session (weston directly or current
stable gdm) results in just a black screen. No obvious error in the logs.
Booting with plymouth enabled also just results in a black screen.

However when X is started first any subsequent wayland session shows just fine.


You are receiving this mail because:
  • You are the assignee for the bug.
--1430758787.1DAEefFe0.17578-- --===============0999172604== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0999172604==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Tue, 05 May 2015 06:04:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1748655380==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CAB126E219 for ; Mon, 4 May 2015 23:04:09 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1748655380== Content-Type: multipart/alternative; boundary="1430805849.16EF7640.21012"; charset="UTF-8" --1430805849.16EF7640.21012 Date: Tue, 5 May 2015 06:04:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89405 --- Comment #2 from Pekka Paalanen --- Have you tried weston-launch the right way? That is, have weston-launch setuid root, then in a text mode VT, running 'weston-launch' without any arguments as a normal user? Though, given your other problems, I don't expect that to help. Also, sounds like you build weston with ./configure --with-cairo=gl or glesv2. As GL clients do not work (weston-desktop-shell crashing - that's probably yet another bug as the fallback fails), this causes the desktop (panel, wallpaper) to never come up, so you are left with a black screen also for that reason. Using the default --with-cairo=image would remove one "moving part" from the equation. I'd expect people to ask for a full kernel log from boot up to and including the problem. -- You are receiving this mail because: You are the assignee for the bug. --1430805849.16EF7640.21012 Date: Tue, 5 May 2015 06:04:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 89405 from
Have you tried weston-launch the right way?

That is, have weston-launch setuid root, then in a text mode VT, running
'weston-launch' without any arguments as a normal user?

Though, given your other problems, I don't expect that to help.

Also, sounds like you build weston with ./configure --with-cairo=gl or glesv2.
As GL clients do not work (weston-desktop-shell crashing - that's probably yet
another bug as the fallback fails), this causes the desktop (panel, wallpaper)
to never come up, so you are left with a black screen also for that reason.
Using the default --with-cairo=image would remove one "moving part" from the
equation.

I'd expect people to ask for a full kernel log from boot up to and including
the problem.


You are receiving this mail because:
  • You are the assignee for the bug.
--1430805849.16EF7640.21012-- --===============1748655380== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1748655380==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Tue, 05 May 2015 12:44:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0882725280==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7331989F92 for ; Tue, 5 May 2015 05:44:07 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0882725280== Content-Type: multipart/alternative; boundary="1430829847.701dF40.6918"; charset="UTF-8" --1430829847.701dF40.6918 Date: Tue, 5 May 2015 12:44:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89405 --- Comment #3 from fosero@gmail.com --- Cairo with image backend makes no difference. I actually have no text console either, but I'm pretty sure I run weston the right way. Weston and gdm (wayland) run just fine, but just don't show up on the screen. I actually think it's a general problem with initializing, since I have no text console as well or plymouth splash if enabled. The machine is usually connected trough HDMI to a nobrand HD720 TV. When I connect the same setup through VGA it does give an image (however the image is positioned wrong). I explicitly disable the VGA output when using HDMI trough the kernel command line : video=HDMI-A-1:1280x720@60 video=VGA-1:d radeon.audio=1 radeon.modeset=1 radeon.dpm=1 . The weird thing is that if I start X it does show up and subsequent runs of weston or gdm on wayland are just fine, so it just happens after a fresh boot. Attached 2 more logs with drm.debug=0xe, one for a boot with HDMI and one for boot with VGA into gdm on wayland. By the way, the invalid ioctl message in #1 disappeared since switching to the 4.0 kernel. -- You are receiving this mail because: You are the assignee for the bug. --1430829847.701dF40.6918 Date: Tue, 5 May 2015 12:44:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 89405 from
Cairo with image backend makes no difference. I actually have no text console
either, but I'm pretty sure I run weston the right way. Weston and gdm
(wayland) run just fine, but just don't show up on the screen.

I actually think it's a general problem with initializing, since I have no text
console as well or plymouth splash if enabled. The machine is usually connected
trough HDMI to a nobrand HD720 TV. When I connect the same setup through VGA it
does give an image (however the image is positioned wrong). I explicitly
disable the VGA output when using HDMI trough the kernel command line :
 video=HDMI-A-1:1280x720@60 video=VGA-1:d radeon.audio=1 radeon.modeset=1
radeon.dpm=1 .

The weird thing is that if I start X it does show up and subsequent runs of
weston or gdm on wayland are just fine, so it just happens after a fresh boot.

Attached 2 more logs with drm.debug=0xe, one for a boot with HDMI and one for
boot with VGA into gdm on wayland.

By the way, the invalid ioctl message in #1 disappeared since switching to the
4.0 kernel.


You are receiving this mail because:
  • You are the assignee for the bug.
--1430829847.701dF40.6918-- --===============0882725280== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0882725280==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Tue, 05 May 2015 12:45:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1311555534==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C5706E507 for ; Tue, 5 May 2015 05:45:12 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1311555534== Content-Type: multipart/alternative; boundary="1430829912.af710.7240"; charset="UTF-8" --1430829912.af710.7240 Date: Tue, 5 May 2015 12:45:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89405 --- Comment #4 from fosero@gmail.com --- Created attachment 115544 --> https://bugs.freedesktop.org/attachment.cgi?id=115544&action=edit boot into gdm on wayland connected through VGA -- You are receiving this mail because: You are the assignee for the bug. --1430829912.af710.7240 Date: Tue, 5 May 2015 12:45:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 89405 from
Created attachment 115544 [details]
boot into gdm on wayland connected through VGA


You are receiving this mail because:
  • You are the assignee for the bug.
--1430829912.af710.7240-- --===============1311555534== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1311555534==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Tue, 05 May 2015 12:45:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1725253785==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C39D6E509 for ; Tue, 5 May 2015 05:45:52 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1725253785== Content-Type: multipart/alternative; boundary="1430829952.81ffA6ca0.7432"; charset="UTF-8" --1430829952.81ffA6ca0.7432 Date: Tue, 5 May 2015 12:45:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89405 --- Comment #5 from fosero@gmail.com --- Created attachment 115545 --> https://bugs.freedesktop.org/attachment.cgi?id=115545&action=edit boot gdm on wayland connected through HDMI -- You are receiving this mail because: You are the assignee for the bug. --1430829952.81ffA6ca0.7432 Date: Tue, 5 May 2015 12:45:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 89405 from
Created attachment 115545 [details]
boot gdm on wayland connected through HDMI


You are receiving this mail because:
  • You are the assignee for the bug.
--1430829952.81ffA6ca0.7432-- --===============1725253785== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1725253785==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running Date: Tue, 19 Nov 2019 09:02:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0919891754==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 18BF16EE3B for ; Tue, 19 Nov 2019 09:02:02 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0919891754== Content-Type: multipart/alternative; boundary="15741541220.3Cc8fecC.30544" Content-Transfer-Encoding: 7bit --15741541220.3Cc8fecC.30544 Date: Tue, 19 Nov 2019 09:02:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D89405 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #6 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/589. --=20 You are receiving this mail because: You are the assignee for the bug.= --15741541220.3Cc8fecC.30544 Date: Tue, 19 Nov 2019 09:02:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated <= span class=3D"fn">Martin Peres changed bug 89405<= /a>
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Comment= # 6 on bug 89405<= /a> from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/589.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15741541220.3Cc8fecC.30544-- --===============0919891754== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0919891754==--