View Single Post
  #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:

(EE)
Fatal server error:
(EE) xf86OpenConsole: VT_SETMODE VT_PROCESS failed(EE)
(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)
(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"
EndSection

According to wsconsctl I have:

display.type=inteldrm

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