Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th August 2018
jwood jwood is offline
New User
Join Date: Apr 2018
Posts: 3
Unhappy X set to use inteldrm but radeondrm is detected, and video is actually Radeon

Well, here goes ...
I have a Dell Optiplex GX620 with 4gb of ram on which I installed OpenBSD6.3 four days ago. There have been no issues with the install except startx:

Fatal server error:
(EE) xf86OpenConsole: VT_SETMODE VT_PROCESS failed(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

This is what I got from the Xorg.1.log: (if it's tl;dr, just look at the lines in bold, which I also flagged with ***)

[ 91211.455] X.Org ANSI C Emulation: 0.4
[ 91211.455] X.Org Video Driver: 23.0
[ 91211.455] X.Org XInput driver : 24.1
[ 91211.455] X.Org Server Extension : 10.0
[ 91211.455] (--) PCI:*(0:0:2:0) 8086:2772:1028:01ad rev 2, Mem @ 0xfeb00000/524288, 0xe0000000/268435456, 0xfeac0000/262144, I/O @ 0x0000e898/8
[ 91211.455] (--) PCI: (0:0:2:1) 8086:2776:1028:01ad rev 2, Mem @ 0xfeb80000/524288
[ 91211.455] (II) LoadModule: "glx"
[ 91211.457] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 91211.460] (II) Module glx: vendor="X.Org Foundation"
[ 91211.460] compiled for 1.19.6, module version = 1.0.0
[ 91211.460] ABI class: X.Org Server Extension, version 10.0
[ 91211.460] (==) Matched intel as autoconfigured driver 0
[ 91211.460] (==) Assigned the driver to the xf86ConfigLayout
*** calling your attention to this because I think it's important ***
[ 91211.460] (II) LoadModule: "intel"
*** note that it says "intel" ***

[ 91211.461] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[ 91211.461] (II) Module intel: vendor="X.Org Foundation"
[ 91211.461] compiled for 1.19.6, module version = 2.99.916
[ 91211.461] Module class: X.Org Video Driver
[ 91211.461] ABI class: X.Org Video Driver, version 23.0
[ 91211.461] (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
[ 91211.462] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 91211.462] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 91211.462] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 91211.466] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
*** Failure! ***
[ 91251.665] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[ 91251.665] (EE) intel(0): Failed to claim DRM device.
[ 91251.665] (II) UnloadModule: "intel"
[ 91251.665] (EE) Screen(s) found, but none have a usable configuration.
[ 91251.665] (EE)
Fatal server error:
[ 91251.665] (EE) no screens found(EE)
[ 91251.666] (EE)
*** End the of failure messages ***

Please consult the The X.Org Foundation support
at http://wiki.x.org

Checking the X confgiuration files at /usr/X11R6/share/X11/xorg.conf.d I find the file
10-radeon.conf which is for Radeon video cards (duh). The contents are:

Section "Device"
Identifier "Radeon"
Driver "radeon"

According to wsconsctl I have:


and when I try to use wsconsctl to switch to the the Radeon drm driver (radeondrm or just radeon) I get:

display.type is read only

The Dell website documentation for the Optiplex GX620 says the video display circuitry is Radeon, usually or always the Sapphire Radeon HD7750. There is no video card. The circuitry is on the motherboard, I believe under the fan/heat sink. (There are no Intel video chips visible anywhere, either.)

I am an OpenBSD newbie. I have a bit of FreeBSD experience, but did not use X or any graphical operating system on that box. I spent most of today looking on the Internet for a way to change that 'inteldrm' to 'radeondrm' without success and I've also been through ABSOLUTE OPENBSD. I also searched 'wsconsctl' here on DaemonForums. I even did a VirtualBox install to play around with the settings there,and never found what I needed. Please tell me two things: am I right to think that I need to change 'inteldrm' to 'radeondrm', and if so, how do I do it?
Reply With Quote
  #2   (View Single Post)  
Old 27th August 2018
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
Join Date: Dec 2015
Location: London
Posts: 187

I'm using /etc/xorg.conf to set options for the i915 (Intel) driver so try copying 20-radeon.conf to that location.

Alternatively, set display=radeondrm in /etc/wsconsctl.conf (untested).

EDIT: you should post your dmesg output as well.
Linux is for people who hate Windows. BSD is for people who love UNIX.

Last edited by Head_on_a_Stick; 27th August 2018 at 07:35 AM.
Reply With Quote
  #3   (View Single Post)  
Old 27th August 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 7,065

  • By default, an OpenBSD installation does not have any xorg.conf(5) configuration files, and only uses autoconfiguration.
  • The files placed in an xorg.conf.d directory are provisioned alphabetically. If you have two configuration files 10-radeon.conf and 20-radeon.conf, the 10-radeon.conf file will be provisioned prior to 20-radeon.conf, regardless of their contents.
  • When you have two or more video cards, it is usually best to disable any unused video card in BIOS to avoid autoconfiguring it.
  • Posting your dmesg(8) will help us understand exactly what video hardware the OS sees, whether intel, radeon, or both.
Reply With Quote
  #4   (View Single Post)  
Old 27th August 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 7,065

Ah: The directory /usr/X11R6/share/X11/xorg.conf.d contains examples, and is not read by X. To have X provision one of these xorg.conf(5) files, copy the file to the /etc/X11/xorg.conf.d directory.
Reply With Quote
  #5   (View Single Post)  
Old 27th August 2018
shep shep is offline
Real Name: Scott
Arp Constable
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,346

According to this:

Video Graphics Controller
Integrated Intel Graphics Media Accelerator 950
DVI Adapter card (GX620); 128MB ATI®
X600SE with DVI and TV-out (GX620),
ATI Radeon X600 256MB Dual Monitor Graphics Card (Dual DVI/VGA via optional cable)
You may well have an integrated Intel video. It appears that a second radeon card provides a dual monitor setup. Are you using the "optional cable"? Sometimes, you can disable one of the video chipsets in the bios.
Reply With Quote

inteldrm, radeondrm, startx, wsconsctrl

Thread Tools
Display Modes

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
Inteldrm set / change resolution during boot ? NaWi OpenBSD General 5 8th August 2015 11:52 AM
OpenBSD 5.5 radeon/radeondrm cannot scroll framebuffer cynwulf OpenBSD General 4 15th September 2014 01:31 PM
AMD Radeon card compatibility with the DragonFlyBSD Radeon driver. guitarfreak Other BSD and UNIX/UNIX-like 1 4th April 2014 01:47 PM
AMD Radeon cards supported by the Radeon driver for Current/5.5 guitarfreak OpenBSD General 3 4th April 2014 12:33 PM
Memory Not Detected jrs OpenBSD Installation and Upgrading 3 19th May 2009 05:50 PM

All times are GMT. The time now is 03:24 AM.

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