hi Daniel, Fantastic! I is a really good news for me.
thanks, Mao On Mon, Jun 5, 2017 at 12:46 PM, Daniel Axtens <daniel.axt...@canonical.com> wrote: > Hi, > > I can get xorg working if I do these 2 things: > > 1) Edit memory with gdb to add "pci:" to bus id. This is what the kernel > patch should do. I will test the patch soon, I am just waiting for the > kernel to build. > > 2) Install this /etc/X11/xorg.conf: > > Section "ServerFlags" > Option "AutoAddGPU" "off" > EndSection > > Section "Device" > Identifier "dja" > Driver "modesetting" > BusID "pci:0007:161:0:0" > EndSection > > > This does 2 things: > - AutoAddGPU prevents the card from falsely being marked as GPU. I am not > yet fully sure why that is required. > > - The Device section then specifies the busid and driver specifically. > This forces the driver to be loaded correctly. > > This Xorg configuration should not be required in the long term. There > are obviously still some bugs to be fixed. But, I wanted to let you know > that progress was being made and give you good news. > > Attached is a screenshot of Xeyes over KVM. > > Regards, > Daniel > > ** Attachment added: "xeyes.png" > https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/ > 1691991/+attachment/4889182/+files/xeyes.png > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1691991 > > Title: > Xorg Segmentation fault on Hisilicon D05 board (arm64) > > Status in xorg package in Ubuntu: > New > > Bug description: > ubuntu@ubuntu:~$ sudo /usr/lib/xorg/Xorg > [sudo] password for ubuntu: > > X.Org X Server 1.18.4 > Release Date: 2016-07-19 > X Protocol Version 11, Revision 0 > Build Operating System: Linux 4.4.0-45-generic aarch64 Ubuntu > Current Operating System: Linux ubuntu 4.10.0-20.22-generic > #22+pearl.2-Ubuntu SMP Thu Apr 27 20:23:08 UTC 2017 aarch64 > Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-20.22-generic > root=UUID=eee681c5-04ce-4cd0-a004-cae6717961ce ro debug > earlycon=pl011,mmio,0x602B0000 console=tty0 > Build Date: 02 November 2016 10:05:28PM > xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see > http://www.ubuntu.com/support) > Current version of pixman: 0.33.6 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 19 18:10:13 2017 > (==) Using system config directory "/usr/share/X11/xorg.conf.d" > pci id for fd 10: 19e5:1711, driver (null) > EGL_MESA_drm_image required. > (EE) > (EE) Backtrace: > (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x58) [0xaaaad7f1cc48] > (EE) > (EE) Segmentation fault at address 0xa0 > (EE) > Fatal server error: > (EE) Caught signal 11 (Segmentation fault). Server aborting > (EE) > (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > (EE) Please also check the log file at "/var/log/Xorg.0.log" for > additional information. > (EE) > (EE) Server terminated with error (1). Closing log file. > Aborted (core dumped) > ubuntu@ubuntu:~$ > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/+subscriptions > -- Zhanglei Mao Solutions Architect, Sales and Business Development Canonical Group Ltd. zhanglei....@canonical.com +86-13625010929 (m) +852-6700 6026 (m) www.ubuntu.com www.canonical.com -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1691991 Title: Xorg Segmentation fault on Hisilicon D05 board (arm64) Status in xorg package in Ubuntu: New Bug description: ubuntu@ubuntu:~$ sudo /usr/lib/xorg/Xorg [sudo] password for ubuntu: X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.0-45-generic aarch64 Ubuntu Current Operating System: Linux ubuntu 4.10.0-20.22-generic #22+pearl.2-Ubuntu SMP Thu Apr 27 20:23:08 UTC 2017 aarch64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-20.22-generic root=UUID=eee681c5-04ce-4cd0-a004-cae6717961ce ro debug earlycon=pl011,mmio,0x602B0000 console=tty0 Build Date: 02 November 2016 10:05:28PM xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 19 18:10:13 2017 (==) Using system config directory "/usr/share/X11/xorg.conf.d" pci id for fd 10: 19e5:1711, driver (null) EGL_MESA_drm_image required. (EE) (EE) Backtrace: (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x58) [0xaaaad7f1cc48] (EE) (EE) Segmentation fault at address 0xa0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. Aborted (core dumped) ubuntu@ubuntu:~$ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp