Graphic acceleration on Intel HD

-Snake-

Active Member

Reaction score: 22
Messages: 130

Hello, I just installed FreeBSD on my laptop with Xorg and XFCE, the desktop works but I don't have graphic acceleration. How can I get it?

The graph, is an integrated graphics of Intel of this processor: "Intel Celeron N8240"

Thanks.
 
Last edited by a moderator:

abishai

Aspiring Daemon

Reaction score: 174
Messages: 744

Please, post xorg logs. Probably you have no rights to access /dev/drm or have wrong driver loaded.
 

abishai

Aspiring Daemon

Reaction score: 174
Messages: 744

Please, post xorg logs. Probably you have no rights to access /dev/drm or have wrong driver loaded.
Your xorg use vesa driver. Try to create file /usr/local/etc/X11/xorg.conf.d/intel.conf with
Code:
Section "Device"
   Identifier "Card0"
    Driver     "intel"
EndSection
This will force intel driver to load. Probably, xorg won't start at all. If so, post logs again. Probably, this particular cpu model is not listed as valid for intel driver.
 
OP
OP
-Snake-

-Snake-

Active Member

Reaction score: 22
Messages: 130

Your xorg use vesa driver. Try to create file /usr/local/etc/X11/xorg.conf.d/intel.conf with
Code:
Section "Device"
   Identifier "Card0"
    Driver     "intel"
EndSection
This will force intel driver to load. Probably, xorg won't start at all. If so, post logs again. Probably, this particular cpu model is not listed as valid for intel driver.
Finally for a lot of problems I had to reinstall linux on the laptop, but when I can, I will try again as you said, thank you.
 

Eric A. Borisch

Well-Known Member

Reaction score: 255
Messages: 441

Also consider the latest notes in /usr/ports/UPDATING:

Code:
20170211:
  AFFECTS: users of x11-server/xorg-server
  AUTHOR: rezny@FreeBSD.org

  Xorg server has been updated to 1.18.4 and autodetection has changed.
  The order in which drivers are now attempted is:
    1) vendor/model specific driver according to PCI IDs
    2) generic modesetting driver which requires a drm driver with KMS
    3) scfb, the generic framebuffer driver
    4) vesa (only if arch is x86)

  This should minimize the need for xorg.conf files. It is recommended to
  load the correct KMS driver (i915kms.ko or radeonkms.ko) via rc.conf,
  i.e. kld_list="i915kms.ko", to ensure correct functionality. Although
  the vendor drivers may attempt to load the correct drm driver, which
  does not always work, the modesetting driver assumes the required KMS
  driver is already loaded and will fail if there is none. The modesetting
  driver is now recommended as an alternative to the Intel driver; the
  performance is comparable and stability is better with modesetting. The
  ATI driver continues to offer better performance than modesetting.
 
Last edited by a moderator:
OP
OP
-Snake-

-Snake-

Active Member

Reaction score: 22
Messages: 130

I have tried to install FreeBSD on that laptop again, now I have configured Xorg to force to use the Intel driver as abishai said:
Code:
Section "Device"
  Identifier "Card0"
    Driver     "intel"
EndSection
And then, when I try startx command Xorg show me an error, my /varlog/Xorg.0.log is: http://pastebin.com/Z7v7zab5
If I use the vesa driver (removing intel.conf file) xorg works, but very very bad.

Any ideas?

Thanks.
 
Last edited by a moderator:
OP
OP
-Snake-

-Snake-

Active Member

Reaction score: 22
Messages: 130

I keep trying without much success, the graphics chip model is an Intel Corporation Atom Processor Z36xxx / Z37xxx Series Graphics.
 
Top