Xorg crashes several times a day
Polytropon
freebsd at edvax.de
Sun Jan 24 18:11:30 UTC 2021
On Sun, 24 Jan 2021 18:40:37 +0100, Tomasz CEDRO wrote:
> On 24.01.2021 12:37, Victor Sudakov wrote:
> > [...]
> > Do you remember how to do that, as I have no xorg.conf? The Xserver just
> > finds whatever it finds.
>
> 1. Remove this new drm (drm-kmod, i915, amdgpu, etc) packages + load
> commands from /etc/rc.conf or /boot/loader.conf.
>
> 2. Install x11-drivers/xf86-video-scfb (if you use uefi) or
> x11-drivers/xf86-video-vesa (if you use bios).
>
> 3. Generate a default config with Xorg -configure, then copy config from
> /root/xorg.conf.new to /etc/X11/xorg.conf.
>
> 4. Find a "Device" that matches your video card and set Driver "scfb".
>
> Try running as root first, if that works try running as user, in case of
> problems look at /var/log/Xorg.0.log :-)
Won't that leave X in VESA mode? Any halfway modern desktop
environment or Linux-derived window manager will be slow and
useless this way, not to start about using Firefox or LibreOffice
or playing video... that's why it's recommended you also know
what graphics card you have _and_ install the xf86-video-<blah>
package that contains the appropriate driver. While VESA should
always work as a "lowest level solution", it will probably cause
problems for running or at least using actual programs.
So like in common Linux-style, we now have two moving parts
where historically were zero (because the correct one would
have been loaded automatically): kernel DRM driver (kmod KPI)
plus X11 driver. And among those, if you're using nVidia
hardware or AMD / Radeon, there is even _more_ choice. :-)
In most cases, just starting X without a configuration file
will do the right thing, given the required parts are present.
Only older hardware might need manual intervention.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list