Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Manuel Pages
Hello list, first post here \o/

The question is about drivers for Intel HD Graphics 3000 rev 0x09
(not a hybrid with some nVIDIA nonsense).

When I run X, I get the following result (from Xorg.0.log):

```
[ 42880.697] (II) LoadModule: intel
[ 42880.698] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[ 42880.702] (II) Module intel: vendor=X.Org Foundation
[ 42880.702]compiled for 1.14.5, module version = 2.99.910
[ 42880.702]Module class: X.Org Video Driver
[ 42880.702]ABI class: X.Org Video Driver, version 14.1
[ 42880.702] (II) LoadModule: vesa
[ 42880.704] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[ 42880.712] (II) Module vesa: vendor=X.Org Foundation
[ 42880.712]compiled for 1.14.5, module version = 2.3.3
[ 42880.712]Module class: X.Org Video Driver
[ 42880.712]ABI class: X.Org Video Driver, version 14.1
[ 42880.712] (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
[ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[ 42880.713] (II) VESA: driver for VESA chipsets: vesa
[ 42880.714] (WW) Falling back to old probe method for vesa
[ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
Graphics 3000
```

As we can see, it correctly selected candidate i915 then reported that
it supports chips from 2000 to 5000 and still it falls back to vesa.

Is that a configuration issue? Is that a known issue?
Any help is appreciated.



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 1:23 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 Hello list, first post here \o/

 The question is about drivers for Intel HD Graphics 3000 rev 0x09
 (not a hybrid with some nVIDIA nonsense).

 When I run X, I get the following result (from Xorg.0.log):

 ```
 [ 42880.697] (II) LoadModule: intel
 [ 42880.698] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
 [ 42880.702] (II) Module intel: vendor=X.Org Foundation
 [ 42880.702]compiled for 1.14.5, module version = 2.99.910
 [ 42880.702]Module class: X.Org Video Driver
 [ 42880.702]ABI class: X.Org Video Driver, version 14.1
 [ 42880.702] (II) LoadModule: vesa
 [ 42880.704] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
 [ 42880.712] (II) Module vesa: vendor=X.Org Foundation
 [ 42880.712]compiled for 1.14.5, module version = 2.3.3
 [ 42880.712]Module class: X.Org Video Driver
 [ 42880.712]ABI class: X.Org Video Driver, version 14.1
 [ 42880.712] (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
 [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
 [ 42880.713] (II) VESA: driver for VESA chipsets: vesa
 [ 42880.714] (WW) Falling back to old probe method for vesa
 [ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000
 ```

 As we can see, it correctly selected candidate i915 then reported that
 it supports chips from 2000 to 5000 and still it falls back to vesa.

 Is that a configuration issue? Is that a known issue?
 Any help is appreciated.


We are missing your dmesg output



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Manuel Pages
I'm so sorry!
http://f.nn.lv/n5/7c/ii/dmesg.full


On Wed, May 7, 2014 at 2:36 PM, Tomas Bodzar tomas.bod...@gmail.com wrote:




 On Wed, May 7, 2014 at 1:23 PM, Manuel Pages 
 amarr.industr...@gmail.comwrote:

 Hello list, first post here \o/

 The question is about drivers for Intel HD Graphics 3000 rev 0x09
 (not a hybrid with some nVIDIA nonsense).

 When I run X, I get the following result (from Xorg.0.log):

 ```
 [ 42880.697] (II) LoadModule: intel
 [ 42880.698] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
 [ 42880.702] (II) Module intel: vendor=X.Org Foundation
 [ 42880.702]compiled for 1.14.5, module version = 2.99.910
 [ 42880.702]Module class: X.Org Video Driver
 [ 42880.702]ABI class: X.Org Video Driver, version 14.1
 [ 42880.702] (II) LoadModule: vesa
 [ 42880.704] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
 [ 42880.712] (II) Module vesa: vendor=X.Org Foundation
 [ 42880.712]compiled for 1.14.5, module version = 2.3.3
 [ 42880.712]Module class: X.Org Video Driver
 [ 42880.712]ABI class: X.Org Video Driver, version 14.1
 [ 42880.712] (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
 [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
 [ 42880.713] (II) VESA: driver for VESA chipsets: vesa
 [ 42880.714] (WW) Falling back to old probe method for vesa
 [ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000
 ```

 As we can see, it correctly selected candidate i915 then reported that
 it supports chips from 2000 to 5000 and still it falls back to vesa.

 Is that a configuration issue? Is that a known issue?
 Any help is appreciated.


 We are missing your dmesg output




-- 
Fly safe,
Sloz



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 1:43 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 I'm so sorry!
 http://f.nn.lv/n5/7c/ii/dmesg.full


Thx

First of all I will be focusing on why you can't see more then 1 core out
of your CPU. 5 BIOS updates are missing on your computer. Maybe OpenBSD
will not be ok about some of them or will be ok about all of them, but you
need to try.




 On Wed, May 7, 2014 at 2:36 PM, Tomas Bodzar tomas.bod...@gmail.comwrote:




 On Wed, May 7, 2014 at 1:23 PM, Manuel Pages 
 amarr.industr...@gmail.comwrote:

 Hello list, first post here \o/

 The question is about drivers for Intel HD Graphics 3000 rev 0x09
 (not a hybrid with some nVIDIA nonsense).

 When I run X, I get the following result (from Xorg.0.log):

 ```
 [ 42880.697] (II) LoadModule: intel
 [ 42880.698] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
 [ 42880.702] (II) Module intel: vendor=X.Org Foundation
 [ 42880.702]compiled for 1.14.5, module version = 2.99.910
 [ 42880.702]Module class: X.Org Video Driver
 [ 42880.702]ABI class: X.Org Video Driver, version 14.1
 [ 42880.702] (II) LoadModule: vesa
 [ 42880.704] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
 [ 42880.712] (II) Module vesa: vendor=X.Org Foundation
 [ 42880.712]compiled for 1.14.5, module version = 2.3.3
 [ 42880.712]Module class: X.Org Video Driver
 [ 42880.712]ABI class: X.Org Video Driver, version 14.1
 [ 42880.712] (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
 [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
 [ 42880.713] (II) VESA: driver for VESA chipsets: vesa
 [ 42880.714] (WW) Falling back to old probe method for vesa
 [ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000
 ```

 As we can see, it correctly selected candidate i915 then reported that
 it supports chips from 2000 to 5000 and still it falls back to vesa.

 Is that a configuration issue? Is that a known issue?
 Any help is appreciated.


 We are missing your dmesg output




 --
 Fly safe,
 Sloz



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Manuel Pages
Wow, I didn't catch it. It's kinda shocking.
Is there any data bank regarding Thinkpads, it's BIOS and OpenBSD?



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 2:00 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 Wow, I didn't catch it. It's kinda shocking.
 Is there any data bank regarding Thinkpads, it's BIOS and OpenBSD?


Yes, in my head and on Internet :-)

1) Checked your dmesg
2) Saw issue with cpu
3) Checked BIOS in your dmesg
4) Went to
http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?DocID=HT073274
5) Open readme for latest BIOS as Lenovo is providing details there even
for older BIOSes (and probably not all fixes mentioned)
6) Voila :-)

As VGA is integrated with CPU and you have issues with your CPUs based on
dmesg and some of those BIOSes are fixing stuff with CPU you really need to
try fix your BIOS first. And for example BIOS 2.51 is fixing this

- (Fix) Fixed an issue that Intel AES-NI is always disabled.

which is something you really want on OpenBSD.



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Manuel Pages
Dear Tomaš,
thank you so much for your support, thanks to you I felt encouraged to
finally
update my BIOS. It solved the driver problem (and by the looks of it,
improved
fan performance, but it's handwaving); however as far as I can tell from
dmesg
and system performance, only one core is used still.
If you have any great hints or suggestions about how to proceed, please
share
those.

New Xorg.0.log (initial issue resolved): http://f.nn.lv/n5/7h/yq/Xorg.0.log
New dmesg output (still only one CPU found):
http://f.nn.lv/n5/7h/zi/dmesg.full



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Benjamin Baier

I see you compile the kernel by yourself, GENERIC.MP is what you want.

- Ben

On 05/07/14 15:40, Manuel Pages wrote:

Dear Tomaš,
thank you so much for your support, thanks to you I felt encouraged to
finally
update my BIOS. It solved the driver problem (and by the looks of it,
improved
fan performance, but it's handwaving); however as far as I can tell from
dmesg
and system performance, only one core is used still.
If you have any great hints or suggestions about how to proceed, please
share
those.

New Xorg.0.log (initial issue resolved): http://f.nn.lv/n5/7h/yq/Xorg.0.log
New dmesg output (still only one CPU found):
http://f.nn.lv/n5/7h/zi/dmesg.full




Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Manuel Pages
Rebuilding kernel helped.
Now I run -current MP kernel and everything works like a charm.
Much love and gratefulness to you, Tomash.



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Tomas Bodzar
On Wed, May 7, 2014 at 4:44 PM, Manuel Pages amarr.industr...@gmail.comwrote:

 Rebuilding kernel helped.
 Now I run -current MP kernel and everything works like a charm.
 Much love and gratefulness to you, Tomash.


Happy to help. Welcome in OpenBSD where 99% of time everything works and
fault is on the other end :-)



Re: Intel driver doesn't get automatically selected by Xorg

2014-05-07 Thread Miod Vallat
 When I run X, I get the following result (from Xorg.0.log):
[...]
 [ 42880.713] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
 [ 42880.713] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
 [ 42880.713] (II) VESA: driver for VESA chipsets: vesa
 [ 42880.714] (WW) Falling back to old probe method for vesa

 As we can see, it correctly selected candidate i915 then reported that
 it supports chips from 2000 to 5000 and still it falls back to vesa.

No, it doesn't. It tries to load different drivers in order to pick the
best one for the job, and the Vesa driver logs some information, just as
the Intel one did before it.

And then your log continues with:

 [ 42880.716] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

Which shows the intel driver has been selected.

Miod