Bug 239568 - x11/xorg not working with FreeBSD 11.x
Summary: x11/xorg not working with FreeBSD 11.x
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-01 07:23 UTC by Yanhui He
Modified: 2019-09-14 19:46 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yanhui He 2019-08-01 07:23:46 UTC
After install xorg in FreeBSD 11.2 or FreeBSD 11.3, xorg failed to use. But in before FreeBSD 11.2 and FreeBSD 11.3 RC3 backwards, it's OK. The error information are shown as follows.

# pkg update
# pkg install xorg
# Xorg -configure

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 11.2-RELEASE-p11 amd64 
Current Operating System: FreeBSD localhost 11.3-RELEASE FreeBSD 11.3-RELEASE #0 r349754: Fri Jul  5 04:45:24 UTC 2019     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 06 July 2019  07:51:46PM
 
Current version of pixman: 0.34.0
 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: Tue Jul 23 20:38:25 2019
List of video drivers:
 vesa
 modesetting
 scfb
scfb trace: probe start
(++) Using config file: "/root/xorg.conf.new"
vesa: Ignoring device with a bound kernel driver
(EE) 
(EE) Backtrace:
(EE) 0: /usr/local/bin/Xorg (OsInit+0x37a) [0x5bae9a]
(EE) 1: /lib/libthr.so.3 (_pthread_sigmask+0x53e) [0x80260515e]
(EE) 2: /lib/libthr.so.3 (_pthread_getspecific+0xdef) [0x802604f6f]
(EE) 3: ? (?+0xdef) [0x7ffffffffdf2]
(EE) 4: ? (?+0xdef) [0xdef]
(EE) 5: /usr/local/bin/Xorg (InitOutput+0x128c) [0x482e5c]
(EE) 6: /usr/local/bin/Xorg (remove_fs_handlers+0x3bb) [0x43c7cb]
(EE) 7: /usr/local/bin/Xorg (_start+0x95) [0x425145]
(EE) 8: ? (?+0x95) [0x800845095]
(EE) 
(EE) Segmentation fault at address 0x0
(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.
Abort (core dumped)

Would you please help us take a look?

Thanks in advance!
Yanhui
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2019-08-06 13:57:27 UTC
There is no need to run Xorg -configure, xorg works fine without a config.  Have you tried simply running startx as a non-root user?
Comment 2 Yanhui He 2019-08-06 14:19:22 UTC
(In reply to Niclas Zeising from comment #1)
Hi Niclas,

Thanks for your reply!

If tried to use startx with a no-root user, it will show the error information as follows.

$ startx
xauth:  file /home/vmware/.serverauth.17761 does not exist


X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 11.2-RELEASE-p11 i386 
Current Operating System: FreeBSD localhost 11.3-RELEASE FreeBSD 11.3-RELEASE #0 r349754: Fri Jul  5 04:31:33 UTC 2019     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 06 July 2019  12:49:02PM
 
Current version of pixman: 0.34.0
	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: Tue Aug  6 22:16:35 2019
(==) Using config file: "/etc/X11/xorg.conf"
vesa: Ignoring device with a bound kernel driver
(EE) 
Fatal server error:
(EE) no screens found(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.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error


Yanhui
Comment 3 Niclas Zeising freebsd_committer freebsd_triage 2019-08-06 14:21:16 UTC
This is a known issue.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239065 for a fix, it will take a little while before it propagates out to all packages.
Comment 4 Yanhui He 2019-08-06 14:33:56 UTC
(In reply to Niclas Zeising from comment #3)
Hi Niclas,

OK, I will try it after it propagates out to all packages.

Would you please tell me how long the propagating will be finished?

Thanks!
Yanhui
Comment 5 Niclas Zeising freebsd_committer freebsd_triage 2019-08-26 10:45:32 UTC
(In reply to Yanhui He from comment #4)

What's the status on this?
Comment 6 Niclas Zeising freebsd_committer freebsd_triage 2019-09-14 19:46:51 UTC
Feedback timeout