Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 17:22:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 251114] x11/xorg: /usr/local/bin/Xorg Segmentation Fault When Switch Virtual TTY
Message-ID:  <bug-251114-7141-4BMN1RHi9A@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251114-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251114-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251114

--- Comment #10 from John <jlmales@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 yo=
ur
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 xfce4screensave=
r.=20
Long standing means well back into FreeBSD 11.3 and many Px releases of 11.=
3.=20
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.=20

Sequence so far of incremental changes:

1) Reboot system after adding [userid] to video group.  Successful and X/XF=
CE
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_dr=
v.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)=20
Fatal server error:
[    56.301] (EE) no screens found(EE)=20
[    56.301] (EE)=20
Please consult the The X.Org Foundation support=20
         at http://wiki.x.org
 for help.=20
[    56.301] (EE) Please also check the log file at "/var/log/Xorg.0.log" f=
or
additional information.
[    56.302] (EE)=20
[    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_dr=
v.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 instal=
led
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 upd=
ates
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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251114-7141-4BMN1RHi9A>