Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711958 - dev-libs/weston: weston-launch black screen
Summary: dev-libs/weston: weston-launch black screen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 14:19 UTC by vite
Modified: 2022-02-04 23:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
System Info (system_info.txt,5.10 KB, text/plain)
2020-03-09 14:19 UTC, vite
Details
Xorg Log (Xorg.0.log,37.98 KB, text/x-log)
2020-03-09 14:24 UTC, vite
Details
dmesg log (dmesg.log,60.84 KB, text/x-log)
2020-03-09 14:28 UTC, vite
Details
weston-launch log (weston.log,16.41 KB, text/x-log)
2020-03-09 14:31 UTC, vite
Details
equery u mesa (equery_u_mesa.txt,460 bytes, text/plain)
2020-03-14 08:46 UTC, vite
Details
equery u weston (equery_u_weston.txt,213 bytes, text/plain)
2020-03-14 16:22 UTC, vite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vite 2020-03-09 14:19:01 UTC
Created attachment 617602 [details]
System Info

Hi,
I found a problem for the current release of weston (8.0.0). When I run weston-launch the screen is completely black but at the same time I see the mouse pointer. There are no problems to run through the X server.
Comment 1 vite 2020-03-09 14:24:03 UTC
Created attachment 617604 [details]
Xorg Log
Comment 2 vite 2020-03-09 14:28:56 UTC
Created attachment 617606 [details]
dmesg log
Comment 3 vite 2020-03-09 14:31:10 UTC
Created attachment 617610 [details]
weston-launch log
Comment 4 archiesix 2020-03-12 09:18:48 UTC
I have the same problem. I tracked it down to mesa with the nouveau driver. Downgrading mesa to 18.3.6 weston works again. Another workaround is to tell weston not to use graphic acceleration (weston --use-pixman). Note also that versions of weston prior to 7 work with the present mesa version (19.3.5).
Comment 5 Jonas Stein gentoo-dev 2020-03-13 19:33:42 UTC
Is there a ticket upstream?
Comment 6 James Le Cuirot gentoo-dev 2020-03-13 20:35:34 UTC
Sorry but this is almost certainly a driver issue and archiesix backs that up. Please try their suggestion and otherwise file a bug upstream.
Comment 7 vite 2020-03-14 08:37:29 UTC
My tests showed that there were no problems with the sway window manager for weston (8.0.0). The problem only appears when I run weston-launch in VT mode. I find it difficult to determine the cause, since there was no such problem for the previous version of weston.
Comment 8 vite 2020-03-14 08:46:12 UTC
Created attachment 618714 [details]
equery u mesa
Comment 9 James Le Cuirot gentoo-dev 2020-03-14 11:45:58 UTC
(In reply to vite from comment #7)
> My tests showed that there were no problems with the sway window manager for
> weston (8.0.0). The problem only appears when I run weston-launch in VT
> mode. I find it difficult to determine the cause, since there was no such
> problem for the previous version of weston.

Okay but I only package Weston. This stuff is complex and mostly beyond my understanding. An issue like this would still be an upstream issue. There's been a lot of commits to master since so try 9999 to see if that helps. If it does, we can try and identify the relevant patch.
Comment 10 vite 2020-03-14 12:59:32 UTC
(In reply to James Le Cuirot from comment #9)
> (In reply to vite from comment #7)
> > My tests showed that there were no problems with the sway window manager for
> > weston (8.0.0). The problem only appears when I run weston-launch in VT
> > mode. I find it difficult to determine the cause, since there was no such
> > problem for the previous version of weston.
> 
> Okay but I only package Weston. This stuff is complex and mostly beyond my
> understanding. An issue like this would still be an upstream issue. There's
> been a lot of commits to master since so try 9999 to see if that helps. If
> it does, we can try and identify the relevant patch.

Unfortunately, the weston-9999 version also does not work correctly.
Comment 11 James Le Cuirot gentoo-dev 2020-03-14 13:20:38 UTC
I have just tried it myself (I usually only test within X) and it's fine here but I have a Radeon card. I can't help much if I can't reproduce it.

Do you know how to use git bisect? You can use that to build snapshots of Weston between 7.0.0 and 8.0.0. It's pretty easy to use, I actually used that before I ever used git for anything else. You wouldn't have to build it manually as you could still set EGIT_COMMIT against weston-9999 to fetch the commits that git bisect reports.
Comment 12 vite 2020-03-14 16:12:42 UTC
(In reply to James Le Cuirot from comment #11)
> I have just tried it myself (I usually only test within X) and it's fine
> here but I have a Radeon card. I can't help much if I can't reproduce it.
> 
> Do you know how to use git bisect? You can use that to build snapshots of
> Weston between 7.0.0 and 8.0.0. It's pretty easy to use, I actually used
> that before I ever used git for anything else. You wouldn't have to build it
> manually as you could still set EGIT_COMMIT against weston-9999 to fetch the
> commits that git bisect reports.

Thanks for the help, I opened a issue to the weston repository.

https://gitlab.freedesktop.org/wayland/weston/issues/380
Comment 13 vite 2020-03-14 16:22:13 UTC
Created attachment 619030 [details]
equery u weston
Comment 14 James Le Cuirot gentoo-dev 2022-02-04 23:00:04 UTC
Apparently it now works with recent kernel versions.