Solved twm works but lxde doesn't

balanga

Son of Beastie

Reaction score: 137
Messages: 3,059

I've just installed xorg and lxde on a Mini PC Z83 and have problems starting x11/lxde-meta....

twm() starts up OK, but lxde crashes.

Part of /var/log/Xorg.log.0:-
Code:
[   234.345] (II) LoadModule: "glx"
[   234.362] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[   234.389] (II) Module glx: vendor="X.Org Foundation"
[   234.389] <->compiled for 1.18.4, module version = 1.0.0
[   234.389] <->ABI class: X.Org Server Extension, version 9.0
[   234.389] (==) AIGLX enabled
[   234.389] (II) LoadModule: "intel"
[   234.399] (WW) Warning, couldn't open module intel
[   234.399] (II) UnloadModule: "intel"
[   234.400] (II) Unloading intel
[   234.400] (EE) Failed to load module "intel" (module does not exist, 0)
pciconf -lv shows:

Code:
vgapci0@pci0:0:2:0:    class=0x030000 card=0x72708086 chip=0x22b08086 rev=0x36 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers'
    class      = display
    subclass   = VGA
I'm not sure whether this Thread 60054/ from two years ago which suggests installing x11-drivers/xf86-video-intel is what I should do.

Can anyone confirm?
 
OP
OP
B

balanga

Son of Beastie

Reaction score: 137
Messages: 3,059

Thanks for that, but I'm missing the link between that page and
Code:
vgapci0@pci0:0:2:0:    class=0x030000 card=0x72708086 chip=0x22b08086 rev=0x36 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers'
    class      = display
    subclass   = VGA
How do I tell which chip I'm using from the information above? Is there something like a lookup table I can use?

Presumably one of those figures will identify my GPU as Sandy Bridge, Haswell or anything else, but I'm not sure which.
 

scottro

Daemon

Reaction score: 501
Messages: 1,411

FreeBSD 11.x added the drm and drm-next ports. Could those perhaps help? Though I remember pre 11.x I could get a window manager, such as openbox, going, but it was horribly slow. I didn't try with a desktop environment, such as LXDE, however.

And from what Sensucht94 says (Hi, Sensucht94!) in the thread balanga mentioned, the drm-next stuff which is now in ports and packages (not sure of which one you'd use, but there is a drm-kmod which is a metaport) I would think it might work now. (Sensucht94 suggested drm-next, but at the time, I think all the drm stuff was only in CURRENT.)
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,680
Messages: 30,598

Code:
20181209:
  AFFECTS: users of DRM ports other than graphics/drm-kmod
  AUTHOR: jmd@FreeBSD.org

  In order to facilitate future porting efforts and help in supporting multiple
  FreeBSD versions, the DRM ports other than drm-kmod (graphics/drm-stable-kmod,
  graphics/drm-next-kmod, graphics/drm-devel-kmod) have been renamed to
  include the FreeBSD version they are designed for.

  drm-stable-kmod is drm-fbsd11.2-kmod
  drm-next-kmod is drm-fbsd12.0-kmod
  drm-devel-kmod is drm-current-kmod
This was only a few months ago.

I would suggest trying drm-kmod first. It should pick the right one automatically.
 
OP
OP
B

balanga

Son of Beastie

Reaction score: 137
Messages: 3,059

root@a:~ # pkg info | grep drm:-
Code:
drm-fbsd12.0-kmod-4.16.g20190430 DRM modules for the linuxkpi-based KMS components
drm-kmod-g20181126             Metaport of DRM modules for the linuxkpi-based KMS components
libdrm-2.4.96,1                Userspace interface to kernel Direct Rendering Module services
After a reboot it seems to be sorted now.

Just out of interest I checked to see if the recommended driver x11-drivers/xf86-video-intel had been installed...

root@Z83:~ # pkg info | grep xf86:-
Code:
libXxf86dga-1.1.4_5            X DGA Extension
libXxf86misc-1.0.4_2           X XF86-Misc Extension
libXxf86vm-1.1.4_3             X Vidmode Extension
xf86-input-keyboard-1.9.0_3    X.Org keyboard input driver
xf86-input-mouse-1.9.3_2       X.Org mouse input driver
xf86-video-scfb-0.0.4_7        X.Org syscons display driver
xf86-video-vesa-2.4.0_2        X.Org vesa display driver
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension

and it doesn't look like it.
 
Top