DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd May 2017
powhatan powhatan is offline
New User
 
Join Date: Apr 2017
Posts: 2
Default OpenBSD -current, Xorg and intel 815m

Hello, I'm writing here in the hope of finding some solutions.
I've an old notebook Acer (PentiumIII) with an intel 815m card and OpenBSD current installed. I'm trying to run X with the intel driver in order to use the max resolution supported (1024x768), but I get an error that say that the device is not found. The strange thing is that when using vesa driver X starts correctly without errors, but with a very low resolution 640x480, and I can't find a way to change it. So I hope in your help to solve this issue, i need to improve the resolution to 1024x768 using intel or vesa, is the same

Here the logs and conf:
Xorg.0.log (vesa): http://termbin.com/nz1f
xorg.conf (vesa): http://termbin.com/zpfk

Xorg.0.log (intel): http://termbin.com/ge07
xorg.conf (intel): http://termbin.com/9kdl
Reply With Quote
  #2   (View Single Post)  
Old 3rd May 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

Code:
 (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
[   435.616] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   435.616] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   435.616] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   435.619] (EE) No devices detected.
[   435.619] (EE) 
Fatal server error:
[   435.619] (EE) no screens found(EE) 
[   435.619] (EE) 
Please consult the The X.Org Foundation support
I think this indicates an error in your xorg.conf.

You may want to try removing your xorg.conf file entirely and let Xorg self configure at boot. See Faq 11.
You could also try disabling kms See Linux questions OpenBSD kms and boot time configuration in config(8).
The other option is to use the newer configuration based on entries in a configuration directory /etc/X11/xorg.conf.d(aka folder).
Reply With Quote
  #3   (View Single Post)  
Old 3rd May 2017
powhatan powhatan is offline
New User
 
Join Date: Apr 2017
Posts: 2
Default

shep, first of all thanks for your reply.

1. I've already tried to remove xorg.conf and let Xorg self configure. This works but uses vesa driver and also the resolution is always 640x480 (I've tried to change it but without success).

2. I've tried to disable "inteldrm" and set the "machdep.allowaperture to 0" in /etc/sysctl.conf and it doesn't work in any way (vesa and intel). If I set the aperture to 2 and keep the inteldrm disabled only vesa works.

3. If I can't get Xorg working from the xorg.conf how use newer configuration in /etc/X11/xorg.conf.d can solve the problem?

Thanks
Reply With Quote
  #4   (View Single Post)  
Old 3rd May 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Quote:
Originally Posted by powhatan View Post
3. If I can't get Xorg working from the xorg.conf how use newer configuration in /etc/X11/xorg.conf.d can solve the problem?
Maybe yours Xorg config is incorrect or outdated. I would give it a try.
Remove /etc/X11/xorg.conf (you have backup on pastebin) and make these files:
Code:
$ cat /etc/X11/xorg.conf.d/00-dev.conf                                                                              
Section "Device"
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection
$ cat /etc/X11/xorg.conf.d/01-scr.conf                                                                             
Section "Screen"
        Identifier "default screen"
        Device "Card0"
        GPUDevice ""
EndSection
Anyway you are trying to use very old hardware and newest, development release of software. Maybe just stick with some other, older operating system designed and equipped with drivers for this hardware?
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 3rd May 2017 at 09:55 PM.
Reply With Quote
  #5   (View Single Post)  
Old 3rd May 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

You can ignore everything I wrote below. See
815 kms support

Quote:
3. If I can't get Xorg working from the xorg.conf how use newer configuration in /etc/X11/xorg.conf.d can solve the problem?
.
It would allow you to set options for just the intel(4) video driver while leaving the rest to autoconfigure.

Some man page options for the 815m:
Quote:
By default, the i810/i815 will use 8 MB of system memory for graphics
if AGP allocable memory is < 128 MB, 16 MB if < 192 MB or 24 MB if
higher. Use the VideoRam option to change the default value.
.......
The following driver Options are supported for the i810 and i815
chipsets:

Option "CacheLines" "integer"
This allows the user to change the amount of graphics memory
used for 2D acceleration and video when XAA acceleration is
enabled. Decreasing this amount leaves more for 3D textures.
Increasing it can improve 2D performance at the expense of 3D
performance.

Default: depends on the resolution, depth, and available video
memory. The driver attempts to allocate space for at 3
screenfuls of pixmaps plus an HD-sized XV video. The default
used for a specific configuration can be found by examining the
Xorg log file.

Option "DDC" "boolean"
Disable or enable DDC support.

Default: enabled.

Option "Dac6Bit" "boolean"
Enable or disable 6-bits per RGB for 8-bit modes.

Default: 8-bits per RGB for 8-bit modes.

Option "XvMCSurfaces" "integer"
This option enables XvMC. The integer parameter specifies the
number of surfaces to use. Valid values are 6 and 7.

Default: XvMC is disabled.

VideoRam integer
This option specifies the amount of system memory to use for
graphics, in KB.

The default is 8192 if AGP allocable memory is < 128 MB, 16384
if < 192 MB, 24576 if higher. DRI require at least a value of
16384. Higher values may give better 3D performance, at expense
of available system memory.
Option "NoAccel" "boolean"
Disable or enable acceleration.

Default: acceleration is enabled.

Last edited by shep; 3rd May 2017 at 09:57 PM.
Reply With Quote
  #6   (View Single Post)  
Old 3rd May 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Since OP asked about resolution in Vesa driver:
Quote:
Why can't I get a 1400x1050 video mode (or some other size)

Some drivers are limited to the set of modes in the video BIOS. The most common examples is vesa. Usually there's nothing you can do in this situation, because it's not possible to modify the BIOS. Sorry. The exception is some Intel chips, where you can use the 855resolution or 915resolution hacks, and it might work and it might not.
https://www.x.org/wiki/FAQVideoModes/
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg hangs on startup on 5.6+ with Intel HD 4400 luciderous OpenBSD General 24 11th February 2015 09:42 PM
Tweaking Xorg For Intel Graphics On OpenBSD 5.3 To Fix HD Screen Tearing BenHur OpenBSD Packages and Ports 0 15th August 2013 07:51 AM
Mulling 5.3 -> current in light of recent Xorg Vulnerabilities shep OpenBSD Installation and Upgrading 1 14th June 2013 04:03 PM
how to restore last working Xorg settings after many -current upgrades ? daemonfowl OpenBSD General 12 30th July 2012 01:16 PM
OpenBSD 4.4 and Intel DRM Nightweaver OpenBSD General 8 19th October 2008 07:34 PM


All times are GMT. The time now is 10:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick