emulate a Xorg configuration of GNU/Linux (Fedora 21) on FreeBSD

Polytropon freebsd at edvax.de
Mon Jan 5 14:02:35 UTC 2015

On Sun, 4 Jan 2015 14:22:12 -0500, Xavier Freebsd Questio via freebsd-questions wrote:
> On Sun, Jan 04, 2015 at 07:07:16PM +0100, Polytropon wrote:
> > What GPU driver does X use on the Linux system?
> >
> See Xorg log of GNU/Linux: http://pastebin.com/85Xym8Vs

This seems to be /var/log/messages, not /var/log/Xorg.0.log.

Within the line noise, I think I found something:

	(II) LoadModule: "vesa"
	(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so

So this also uses VESA?

But the device detection seem to work:

	(II) modesetting(0): EDID for output LVDS-0
	(II) modesetting(0): Manufacturer: IVO  Model: 3f4  Serial#: 0

It lists several supported modes, but they somehow don't
really look like what one would associate with a modern
flat panel TV set...

Note this:

	(II) modesetting(0): Output VGA-0 connected
	(II) modesetting(0): Output LVDS-0 connected
	(II) modesetting(0): Output DVI-0 disconnected
	(II) modesetting(0): Output DisplayPort-0 disconnected

One probably is the internal display, the other one is
the TV. Both are claimed to be initialized at 800x600,
which sounds strange...

But DRI and GLX seem to be supported. Funny...

	(II) modesetting(0): EDID vendor "IVO", prod id 1012
	(II) modesetting(0): Printing DDC gathered Modelines:
	(II) modesetting(0): Modeline "1024x600"x0.0   [...]
	(II) modesetting(0): Allocate new frame buffer 1024x768 stride

It's quite hard to see the "normal run" of X.org messages
in this file, it seems to represent more than one session.

Does this file mean that Linux is successful by using the
VESA driver for that card and TV combination?

> > So your GPU wasn't properly detected. Are you sure it
> > is supported?
> >
> In FreeBSD I don't know. I ask for it here.

It's basically about the availability of a X.org driver.
Maybe a kernel module is also involved.

> http://pastebin.com/ZBqSx4Sn

That is the relevant entry:

vgapci0 at pci0:0:2:0:     class=0x030000 card=0x09331025 chip=0x0f318086 rev=0x0e hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'ValleyView Gen7'
    class      = display
    subclass   = VGA

Doesn't say much... I'm not sure which of the available
Intel driver supports a "ValleyView Gen7". Supported
cards (or chipsets) are usually listed in the manpage
after you've installed the driver ...

> http://pastebin.com/uC4ZqNyh

... which you have:

root at acer-jan:~ # pkg info | grep xf86-video-intel
xf86-video-intel-2.21.15_6     Driver for Intel integrated graphics chipsets

By the way: There's no need to paste two lines of text
to pastebin. Not everyone likes to utilize a web browser
when reading or answering e-mails, especially because
this often is a privacy concern.

> The load driver: http://pastebin.com/aKuxRbkg

Relevant lines:

[    73.161] (II) LoadModule: "intel"
[    73.167] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    73.183] (II) Module intel: vendor="X.Org Foundation"
[    73.183]    compiled for 1.14.7, module version = 2.21.15
[    73.183]    Module class: X.Org Video Driver
[    73.183]    ABI class: X.Org Video Driver, version 14.1
[    73.186] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
        HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
        HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
        HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
        HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200

I don't see your particular card listed here, except of
course "ValleyView Gen7" is one of them.

Interestingly, VESA is _also_ loaded. Why is that?

For comparison, I have a nVidia card, and the nVidia
driver is loded. It's the only driver which is loaded.
It it possible that there are two distinct graphic
subparts in that laptop?

> More ideas ? Thanks.

What's the output of the "xrandr" command (without
any options)?

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list