[Bug 251114] x11/xorg: /usr/local/bin/Xorg Segmentation Fault When Switch Virtual TTY

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 14 17:22:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251114

--- Comment #10 from John <jlmales at gmail.com> ---
Opps first of despite the years using Unix I seem to keep forgetting when
add/remove a user from a group one has to log out the user and log back into
the user to see the changes to groups made.  Sorry I forgot this yet again.

Before I forget I made a configuration change to xfce4-screensaver after your
first entry to this issue in hopes I would avoid my need to do VT switching the
several times a day I have to due to long standing bug with xfce4screensaver. 
Long standing means well back into FreeBSD 11.3 and many Px releases of 11.3. 
The issue is not due to FreeBSD core, just so you have a sense of hoe long and
often I have been doing VT switching as very crude workaround to the
xfce4-screensaver bug I have had open for some time. 

Sequence so far of incremental changes:

1) Reboot system after adding [userid] to video group.  Successful and X/XFCE
DTE still functions. Did not save a copy of the /var/log/Xorg.0.log.

2) Renamed /usr/local/etc/X11/xorg.conf.d/
4 -rw-r--r--  1 root  wheel  1936 Jul 18  2019 lkg.xorg.conf
4 -rw-r--r--  1 root  wheel  1936 Jul 18  2019 lkg.xorg.conf.new

Rebooted system.   Successful and X/XFCE DTE still functions. Saved a copy of
the /var/log/Xorg.0.log.

3) Renamed /usr/local/etc/X11/xorg.conf.d/
4 -rw-r--r--  1 root  wheel    90 Jul 18 12:55:23 2019 lkg.driver-intel.conf
Rebooted system.   Successful and X/XFCE DTE still functions. Saved a copy of
the /var/log/Xorg.0.log.

4) Renamed /usr/local/lib/xorg/modules/drivers/
1664 -rwxr-xr-x  1 root  wheel  1665080 Aug 31 13:50:47 2020 lkg.intel_drv.so

and left unchanged /usr/local/lib/xorg/modules/drivers/
 100 -rwxr-xr-x  1 root  wheel   102008 Oct  3 11:22:11 2020 modesetting_drv.so
  20 -rwxr-xr-x  1 root  wheel    20176 Feb 27 01:18:06 2020 scfb_drv.so
  28 -rwxr-xr-x  1 root  wheel    28608 Oct  3 14:32:59 2020 vesa_drv.so

Rebooted system.  Unsuccessful startx:

[    56.287] (II) LoadModule: "intel"
[    56.301] (WW) Warning, couldn't open module intel
[    56.301] (EE) Failed to load module "intel" (module does not exist, 0)
[    56.301] (EE) No drivers available.
[    56.301] (EE) 
Fatal server error:
[    56.301] (EE) no screens found(EE) 
[    56.301] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    56.301] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[    56.302] (EE) 
[    56.302] (EE) Server terminated with error (1). Closing log file.

Saved a copy of the /var/log/Xorg.0.log.

Reverted (4) above to /usr/local/lib/xorg/modules/drivers/
1664 -rwxr-xr-x  1 root  wheel  1665080 Aug 31 13:50:47 2020 intel_drv.so
1664 -rwxr-xr-x  1 root  wheel  1665080 Aug 31 13:50:47 2020 lkg.intel_drv.so
 100 -rwxr-xr-x  1 root  wheel   102008 Oct  3 11:22:11 2020 modesetting_drv.so
  20 -rwxr-xr-x  1 root  wheel    20176 Feb 27 01:18:06 2020 scfb_drv.so
  28 -rwxr-xr-x  1 root  wheel    28608 Oct  3 14:32:59 2020 vesa_drv.so

Rebooted system.   Successful and X/XFCE DTE still functions. Saved a copy of
the /var/log/Xorg.0.log.

I know renaming intel_drv.so may not be the best alternative to removing
package xf86-video-intel.  Some thoughts I have are:

a) When FreeBSD 11.3 was installed from scratch 18 July 2019 FreeBSD installed
the xf86-video-intel and the files in /usr/local/etc/X11/xorg.conf.d/ that has
never changed to date.

b) The /usr/local/lib/xorg/modules/drivers/intel_drv.so clearly has had updates
as result of "pkg upgrade".  That seems to suggest package xf86-video-intel is
still being updated and maybe still required for (my) FreeBSD 11 at least?

c) If xf86-video-intel is not needed why is it being installed by FreeBSD?

d) If /usr/local/etc/X11/xorg.conf.d/xorg.conf is not needed why is
/usr/local/etc/X11/xorg.conf.d/xorg.conf being installed?

e) Do I need to still implement the option "AccelMethod" "SNA" with no
/usr/local/etc/X11/xorg.conf.d/xorg.conf?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list