DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default Problem with radeondrm after install OpenBSD 7.5

Hi friends.
I have MacBook pro 15" mid2015 model, with Intel iris and Radeon R9 M370x(dual graphics) variant.
Is it possible to disable Radeondrm video card with boot option and use only Intel Iris graphic with this laptop?
After install OpenBSD 7.5 there is a problem with radeondrm graphic M370x.
Here is screenshot from my display:Attach File
Attached Images
File Type: jpg radeondrm.jpg (194.6 KB, 84 views)
Reply With Quote
  #2   (View Single Post)  
Old 17th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

Also I try disable radeondrm from boot menu without success
After boot -c command virtual terminal freezes and keyboard doesn't work
Is not posiible to write "disable radeondrm"
Attached Images
File Type: jpg radeondrm2.jpg (104.9 KB, 68 views)
Reply With Quote
  #3   (View Single Post)  
Old 18th April 2024
blackhole's Avatar
blackhole blackhole is offline
VPN Cryptographer
 
Join Date: Mar 2014
Posts: 334
Default

I'm not familiar with Apple hardware, but found this:

https://marc.info/?l=openbsd-misc&m=142228809924149&w=2

So it would appear that it isn't frozen, more likely you have no USB keyboard input.

Can you have a look in that machine's EFI settings and see if there is any kind of "Legacy USB" option and if so, enable it?

Beyond that I'm out of ideas.
Reply With Quote
  #4   (View Single Post)  
Old 19th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

What I know... is not possible to see EFI settings on MacBook laptops.
Is it possible to install on MicroSD card AMD64 image? I know for ARM image, but for AMD64 not sure?
Reply With Quote
  #5   (View Single Post)  
Old 20th April 2024
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 307
Default

Assuming you got OpenBSD installed, put the command to disable the radeon driver into /etc/bsd.re-config
Reply With Quote
  #6   (View Single Post)  
Old 20th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

Quote:
Originally Posted by TronDD View Post
Assuming you got OpenBSD installed, put the command to disable the radeon driver into /etc/bsd.re-config
I am put "disable radeon" on this file /etc/bsd.re-config, after I am create but
without success.
Reply With Quote
  #7   (View Single Post)  
Old 23rd April 2024
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 307
Default

Is "radeon" the correct driver name? What's in your dmesg?
Reply With Quote
  #8   (View Single Post)  
Old 23rd April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

Sorry, "radeondrm" is the correct driver.
Reply With Quote
  #9   (View Single Post)  
Old 27th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

From this post:
https://daemonforums.org/showpost.ph...2&postcount=23
I relink a new kernel with the revised configuration. After that /usr/libexec/reorder_kernel, then reboot.
But there is now other problem after boot:
init: can't open /dev/console: Device not configured openbsd
https://fastpic.org/fullview/123/202...0169f.jpg.html
Reply With Quote
Old 28th April 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,027
Default

  1. Please post your dmesg(8).
  2. Please post the contents of /etc/bsd.re-config.
Reply With Quote
Old 28th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

Quote:
Originally Posted by jggimi View Post
  1. Please post your dmesg(8).
  2. Please post the contents of /etc/bsd.re-config.
1.dmesg:attach
2./etc/bsd.re-config
disable radeondrm

After that /usr/libexec/reorder_kernel, then reboot.
But there is now other problem after boot:
init: can't open /dev/console: Device not configured openbsd
Attached Files
File Type: txt dmesg_log.txt (86.5 KB, 71 views)
Reply With Quote
Old 29th April 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,027
Default

I see a lot of timeouts with the graphics hardware. I recall that Radeon graphics requires downloading and installing third party firmware. But you may not be able to get this system into a state where you can install the firmware (with fw_update(8)).

Your wsdisplay(4) driver is attached via radeondrm(4). I assume that when you disabled radeondrm(4), you then lost access to wsdisplay(4). I don't see the Intel Iris video hardware in the dmesg.



In the RAMDISK kernel used for install, the radeondrm(4) driver is not configured, and for this simple, minimal system, wsdisplay(4) is attached via efifb(4).
Reply With Quote
Old 29th April 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,027
Default

I ran a quick test on this laptop, which uses Intel video rather than Radeon.

Disabling inteldrm(4) at boot (with boot> -c) caused wsdisplay(4) to attach via efifb(4), and non-accelerated X11 graphics were available via the wsfb(4) driver.

I don't have any MacBook hardware, and could not replicate this problem. You may want to reach out to the Project via the misc@ mailing list: http://www.openbsd.org/mail.html
Reply With Quote
Old 29th April 2024
bgpepi bgpepi is offline
Port Guard
 
Join Date: Oct 2010
Posts: 16
Default

I update the firmware with fw_update. After that enable xenodm, install firefox
Here is what I have for graphics card:

p# dmesg | grep radeondrm
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 8800M" rev 0x83
drm0 at radeondrm0
radeondrm0: msi
radeondrm0: VERDE
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
p# dmesg | grep intel
p# dmesg | grep inteldrm
With fw_update -install only intel, but I am not see inteldrm.
How to force install inteldrm?
I have:
-rw-r--r-- 1 1001 1001 12822293 Mar 31 17:09:05 2024 intel-firmware-20240312v0.tgz
-rw-r--r-- 1 1001 1001 12011089 Mar 31 17:09:03 2024 bwfm-firmware-20200316.1.3p3.tgz
-rw-r--r-- 1 1001 1001 3452203 Mar 31 17:09:27 2024 radeondrm-firmware-20240220.tgz

This is my laptop:
https://support.apple.com/en-us/111955
1.Intel Iris Pro Graphics
2.AMD Radeon R9 M370X with 2GB of GDDR5 memory and automatic graphics switching
Reply With Quote
Old 30th April 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,027
Default

Quote:
How to force install inteldrm?
OpenBSD uses a monolithic kernel. All drivers are already included. The kernel probes the hardware during boot, and that discovery process defines which drivers are active and in use. All those driver attachments listed in your dmesg(8) come from this process during boot.
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
OpenBSD 5.x Sparc Install problem jalapeno OpenBSD Installation and Upgrading 5 20th October 2023 05:17 PM
X set to use inteldrm but radeondrm is detected, and video is actually Radeon jwood OpenBSD General 4 27th August 2018 02:51 PM
Problem with Xfce4 install philippe972 NetBSD Package System (pkgsrc) 4 28th May 2018 12:05 PM
R install problem on 6.2-Release hanzer OpenBSD Packages and Ports 6 24th October 2017 08:59 PM
OpenBSD 5.5 radeon/radeondrm cannot scroll framebuffer blackhole OpenBSD General 4 15th September 2014 01:31 PM


All times are GMT. The time now is 12:32 AM.


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