xf86-video-armsoc issueshttps://gitlab.freedesktop.org/xorg/driver/xf86-video-armsoc/-/issues2018-08-10T20:40:27Zhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-armsoc/-/issues/1xf86-video-armsoc: causes X server crash in IgnoreClient upon VT switch (patc...2018-08-10T20:40:27ZBugzilla Migration Userxf86-video-armsoc: causes X server crash in IgnoreClient upon VT switch (patch drafted)## Submitted by Alexei Colin
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#88312)](https://bugs.freedesktop.org/show_bug.cgi?id=88312)**
## Description
Created attachment 112112
Proposed patch that makes the probl...## Submitted by Alexei Colin
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#88312)](https://bugs.freedesktop.org/show_bug.cgi?id=88312)**
## Description
Created attachment 112112
Proposed patch that makes the problem go away
X server dies with a segfault when attempting to switch VT out of the X session into a console with Ctrl-Alt-Fn, after having started xserver from a VT with 'startx'.
Xserver version: 1.16.3, armsoc driver: latest git 459fcb44e, hardware: Hardkernel Odroid U3 (Exynos 4412). This happened for 'awesome' window manager, but not for other root clients (e.g. xterm), for the reason explained below. A patch is attached.
Upon VT enter/leave, the armsoc driver calls AttendClient/IgnoreClient for all clients present in the clients array. Some of these clients may be 'gone', ie. for which CloseDownConnection had been called, which cleared their private osPrivate pointer to NULL. IgnoreClient will dereference this pointer if called on a gone client.
The reason this manifested with 'awesome' WM is because it creates two connections to the server: one long lived, and another one only for setting the wallpaper. The latter one is closed and becomes the 'gone' client. As a confirmation, disabling wallpaper in user config script, disables this bug.
The attached patch adds a check of the client state before calling AttendClient/IgnoreClient. The patched version switches between VTs fine.
**Attachment 112112**, "Proposed patch that makes the problem go away":
[0001-armsoc_driver-do-not-Attend-Ignore-gone-clients.patch](/uploads/f3930659628aa3762f85dd2021963cd1/0001-armsoc_driver-do-not-Attend-Ignore-gone-clients.patch)
Version: gitPaul GearyPaul Gearyhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-armsoc/-/issues/2Only mouse cursor visible when using armsoc driver - [drm:fimd_win_mode_set] ...2018-08-10T20:40:30ZBugzilla Migration UserOnly mouse cursor visible when using armsoc driver - [drm:fimd_win_mode_set] *ERROR* Invalid panel parameters## Submitted by Jeremy Huddleston Sequoia
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#93030)](https://bugs.freedesktop.org/show_bug.cgi?id=93030)**
## Description
I updated my Samsung Chromebook to Ubuntu 14.04 ...## Submitted by Jeremy Huddleston Sequoia
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#93030)](https://bugs.freedesktop.org/show_bug.cgi?id=93030)**
## Description
I updated my Samsung Chromebook to Ubuntu 14.04 and ran into an issue described on Ubuntu's bug tracker at https://launchpad.net/ubuntu/+source/xf86-video-armsoc
The system is perfectly usable using fbdev, but if I switch to using armsoc, I run into issues. Upon starting the X server, I see my mouse pointer on screen. About 4 seconds later, the lightdm login screen appears. About 3 seconds after that, the login screen disappears, and only the mouse pointer remains on screen.
dmesg is filled with '[drm:fimd_win_mode_set] *ERROR* Invalid panel parameters' messages
I am experiencing this issue with the version packaged with Ubuntu (0.6.0) as well as current git (ee9f1d96193d4fc2887183b613f209b18a93e718, 1.4.0).
$ uname -a
Linux localhost.localdomain 3.4.0-5-chromebook #5-Ubuntu SMP Wed Feb 20 14:59:17 UTC 2013 armv7l armv7l armv7l GNU/Linux
### See also
* https://launchpad.net/bugs/1308192Paul GearyPaul Gearyhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-armsoc/-/issues/3Fix gdm login - drop drmMaster on Leave and Enter VT2018-08-10T20:40:33ZBugzilla Migration UserFix gdm login - drop drmMaster on Leave and Enter VT## Submitted by Alban Browaeys
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#99133)](https://bugs.freedesktop.org/show_bug.cgi?id=99133)**
## Description
Created attachment 128526
armsoc_driver: Fix drop drmMaster...## Submitted by Alban Browaeys
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#99133)](https://bugs.freedesktop.org/show_bug.cgi?id=99133)**
## Description
Created attachment 128526
armsoc_driver: Fix drop drmMaster on Leave and Enter VT
This fix gdm starting the user session after successful login
(that requires drmMaster to get dropped to let the second Xorg
get drmMaster on its turn after the first has left the VT).
**Patch 128526**, "armsoc_driver: Fix drop drmMaster on Leave and Enter VT":
[0001-armsoc_driver-Fix-drop-drmMaster-on-Leave-and-Enter-.patch](/uploads/5c9f54adff0fe4b835733c10c1c4e94d/0001-armsoc_driver-Fix-drop-drmMaster-on-Leave-and-Enter-.patch)Paul GearyPaul Gearyhttps://gitlab.freedesktop.org/xorg/driver/xf86-video-armsoc/-/issues/4Scanout buffer should be cleared before acquisition2018-08-10T20:40:35ZBugzilla Migration UserScanout buffer should be cleared before acquisition## Submitted by Rohan Garg `@shadeslayer`
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#104247)](https://bugs.freedesktop.org/show_bug.cgi?id=104247)**
## Description
Created attachment 136145
0001-Clear-scanout-b...## Submitted by Rohan Garg `@shadeslayer`
Assigned to **Paul Geary `@pgeary`**
**[Link to original bug (#104247)](https://bugs.freedesktop.org/show_bug.cgi?id=104247)**
## Description
Created attachment 136145
0001-Clear-scanout-buffer-before-acquiring-it.patch
Hi
I found and fixed a bug in the ARMSOC driver for the Pinebook and thought it might also be useful for other devices.
**Patch 136145**, "0001-Clear-scanout-buffer-before-acquiring-it.patch":
[0001-Clear-scanout-buffer-before-acquiring-it.patch](/uploads/4fa31920790e98475c92ad16d1090ec3/0001-Clear-scanout-buffer-before-acquiring-it.patch)
Version: git