• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Braswell GPU support

Dan MacDonald

Member

Thanks: 8
Messages: 55

#1
I upgraded my FreeBSD server from 11.1 to 11.2 a couple of days ago. The main reason I did so was in the hope that I would finally get accelerated graphics working but I've had no such luck. The mobo is a Gigabyte N3150-N D3V which I think uses a Braswell GPU. I have the i915kms module loaded in rc.conf and xorg-video-intel is installed but when I try to start X I get the error:
Code:
[  1598.352] (EE) open /dev/dri/card0: No such file or directory
[  1598.352] (EE) No devices detected.
In the Xorg.log. When I manually load i915kms nothing gets printed to STDOUT so I think I'm out of luck?

Should braswell GPUs work under 11.2? If so then maybe I should report this as a bug?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,125
Messages: 27,000

#4
Because it's the lowest, still supported version. So the packages are built for 11.1 or nobody still running 11.1 would be able to update their packages (pkg(8) will complain about the ABI version). Running 11.1 packages on 11.2 is generally not a problem except for a handful of kernel modules.
 

Dan MacDonald

Member

Thanks: 8
Messages: 55

#5
I've installed drm-next-kmod from ports (which required I install the kernel source too to build it) but I'm still getting the same errors ie:
Code:
[    92.562] (EE) open /dev/dri/card0: No such file or directory
[    92.563] (EE) No devices detected.
[    92.563] (EE) 
Fatal server error:
[    92.563] (EE) no screens found(EE) 
[    92.563] (EE)
Do I also need to install xorg from ports too?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,125
Messages: 27,000

#6
Could you please post the whole Xorg.0.log to Pastebin (or something similar)? You can use misc/pastebinit to easily do this from the command line.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,125
Messages: 27,000

#12
You mentioned you added i915kms to rc.conf, did you use this?
Code:
kld_list="/boot/modules/i915kms.ko"
If you only have i915kms (without a path) it's probably trying to load the wrong module from /boot/kernel/i915kms.ko instead.
 

Dan MacDonald

Member

Thanks: 8
Messages: 55

#13
Yes SirDice, the rc.conf module path was incorrect.

After correcting that though I now get a GPU HANG error and kernel dump at boot so it looks like I'll have to file a bug report.
 

Dan MacDonald

Member

Thanks: 8
Messages: 55

#17
I was unsure about it myself but thats what the error says to do. I'd imagine its because thats the xorg bugtracker and this is more xorg than it is freebsd, even though it is FBSD specific.
 

lebarondemerde

Daemon

Thanks: 591
Messages: 1,364

#18
Always post on the FreeBSD bugs first unless some dev tell you to do somewhere else. In general, nobody cares (or simply can't help) about what happens on FreeBSD other than ourselves. ;)

[EDIT]

Also, I never had the curiosity to look on Xorg ports but I guess those are heavy patched to work on FreeBSD.
 
Top