cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

shumifan16
Adept II

Drivers for Linux for AMD 7 7700 graphics and Wifi 6

I have a B650m-a Wifi mother board with AMD7 7700 processor, but cannot find drivers for the graphics or the Wifi built into the processor/motherboard. This leaves me with a single screen but I want a dual screen system. I would prefer Debian/ubuntu as and OS - I do not use Windows at all. When I bought the Mobo/proc I looked and it seemed like it supported Linux. Can anybody help solve the problem.

Current BIOS Prime-B650m-a-wifi-asus-0821.cap (all caps).

Ubuntu 22.04.1

CPU AMD 7 7700

 

Hope someone can help.

Cheers

shumifan16

0 Likes
2 Solutions

You are correct there are no WiFi drivers for Linux only Windows 10/11 drivers.

But at Github I did find Ubuntu/Linux drivers for your specific Wifi: https://github.com/HRex39/rtl8852be

Screenshot 2023-01-18 214124.png

As for the 7000 series IGPU you see if either AMDGPU or AMDGPU-Pro will install drivers for your IGPU or not.

This linux website shows how to install the above AMD driver packages: https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation

View solution in original post

shumifan16
Adept II

I normally will only install LTS(long term support) versions of Ubuntu, but I thought I would give Ubuntu 22.10 a try and see whether it supports the AMD Radeon graphics of the ryzen 7 7700. This looks like a success story, although installing from  USB DVD  drive is ridiculously  slow -it has been going for 2 hours before I saw the desktop, but at least it was on both screens. I just hope that will also work once it is installed. I have no verdict yet on the rest of the drivers-ethernet, wifi,audio etc. It might also fix a few GRUB problems, I am holding thumbs and anything else I can cross. But things are looking much more promising.

View solution in original post

20 Replies

You are correct there are no WiFi drivers for Linux only Windows 10/11 drivers.

But at Github I did find Ubuntu/Linux drivers for your specific Wifi: https://github.com/HRex39/rtl8852be

Screenshot 2023-01-18 214124.png

As for the 7000 series IGPU you see if either AMDGPU or AMDGPU-Pro will install drivers for your IGPU or not.

This linux website shows how to install the above AMD driver packages: https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation

Sorry I did not get back sooner, been busy elsewhere. I will try both suggestions and see how it goes. I see the display suggestion is relevant to ubuntu 20 and not 22 - dont know if it will make a difference. Thanks for the response, much appreciated.

Forgot to mention that AMD doesn't supply WiFi drivers. That is supplied either through the Motherboard or Manufacturer of the Wifi Hardware.

If you noticed the Linux Wifi seemed to have been supplied by someone at Asus.

Your Wifi solution worked a treat and I now have integrated Wifi; however the graphics is still a problem - when I plug all three ports into my screens, it uses only the VGA port. I will keep trying to find a combination that might work better, but might just give up and buy a graphics card even though I really don't need fancy graphics. I think I will stick with nvidia and make sure there are drivers for the card I buy.

Its a shame that AMD/ASUS release products prior to proper support for the hardware - especially for Linux as I refuse to use Microsoft products.

Note: Maybe you can recommend a very low end graphics card(Nvidia).

So you are connecting 3 displays to your Motherboard's Video Outputs?

How are all three connected to your Motherboard video outputs?

Are you using any types of Adapters -DP to VGA or HDMI to VGA?

Your Motherboard Specs states that is used  DP version 1.4 and HDMI version 2.1:

Graphics
1 x DisplayPort**
1 x VGA port
1 x HDMI® port***
* Graphics specifications may vary between CPU types. Please refer to AMD CPU specifications.
** Supports max. 8K@60Hz as specified in DisplayPort 1.4.
*** Supports 4K@60Hz as specified in HDMI® 2.1.
 
The 7700X IGPU should support 3 displays at the same time, at least in Windows it should.
 
It probably could be a issue with the Linux VGA driver.

I presumed the above linus WiFi driver worked with your version of Linux.

0 Likes
shumifan16
Adept II

I  only use 2 displays at a time. The displays dont have a display port, so I use DP to HDMI adapter (short 50mm camble). HDMI works on its own. DP works on its own. VGA  works on its own. I cant find any BIOS settings that seem related. I tried a Nvidia gt650 graphics card, but that totally failed (works in my other computer). So I am not sure where to go from here. I am going back to my Maximus Hero Vii with 4790k processor which is , disappointingly, faster than the b650m-a with Ryzen 7 7700 (I mostly single thread) using developer IDE, browser and occasionally Sketchup for 3d printing. My Maximus motherboard died, so I got an Artek H81 mobo and used the old CPU, memory and case/psu. Does all I need, so I wasted ZAR15000.

0 Likes

It is a good chance that the problem is with your DP>HDMI adapters.

I would make sure they are all "Active" and supports the Resolution of your Monitors for best compatibility.

As an example only here is a page from Amazon showing UHD DP>HDMI adapter: 

Screenshot 2023-01-28 121445.png

Sadly, it is not only the display port that does not work, the hdmi port is also dead (no adapter).

shumifan16
Adept II

I have just installed Windows 10 (and hated it), but it did prove it is a driver problem on Linux as it runs dual screen quite happily on any 2 ports. Hope the Linux drivers are available soon.

did you delete your Linix OS or just made a Dual Boot PC with both Linux and Windows?

Yes, both AMD & Linux developers will need to upgrade their native AMD Drivers for the latest AMD GPU cards and APUs.

Well, at least, you verified that the multi-display issue is directly due to Linux VGA Drivers.


@elstaci wrote:

did you delete your Linix OS or just made a Dual Boot PC with both Linux and Windows?

Yes, both AMD & Linux developers will need to upgrade their native AMD Drivers for the latest AMD GPU cards and APUs.

Well, at least, you verified that the multi-display issue is directly due to Linux VGA Drivers.


I started fresh, installing Windows 10 and then Ubuntu 22.04.1.

As a by and by - my hate for Windows grew even more as I do NOT want to upgrade to Windows 11, but you only have 2 options:

1. Delay the 'upgrade' for 7 days

OR

2. Delay until a date NOT MORE THAN 45 DAYS in the future.

After hunting on the web I found an article that suggests using group policy to suppress the update to Windows 11, but, as the author noted, this might only work for a limited time. Unfortunately I have lost the url, but if you search for 'stop update to Windows 11', it should find it as that is what I searched for.

0 Likes

You can't really disable Windows update. You can disable Windows updating drivers but not Security updates and Options only for a limited time.

This link which I have bookmarked from Eleven Forums shows how to stop drivers from being updated via Windows Update:

One for Windows versions Pro and above and another method via Registry for Windows Home version: elevenforum- enable-or-disable-include-drivers-with-windows-updates-in-windows-11.2232/ 

The link showing how to disable Windows Update drivers using Group Policy would be the same place to see about disabling Windows Update in general if they have some setting for that.

0 Likes

I do not want to stop Windows 10 updates, I just want to block 'upgrading' to Windows 11, which seem to have a bad reputation on the web. The group policy settings still allow Windows 10 updates but limits the version of Windows that can be upgraded to.

I believe that Windows update asks you first if you want to upgrade to Windows 11.

One way to prevent Windows 11 from being upgraded is by making your PC  incompatible to Windows 11.

Found this EASEUS article on how to prevent Windows 11 Updates permanently. Not sure how accurate this info is though: https://www.easeus.com/knowledge-center/stop-windows-11-update.html

This fairly recent Ubackup.com article shows steps on how to prevent Windows 10 from upgrading to Windows 11: https://www.ubackup.com/articles/how-to-keep-windows-10-from-updating-to-windows-11.html

NOTE: I upgraded to Windows 11 and there are Pro's and Con's to the OS that i personally noticed.

But since I upgraded to Windows 11it has become more stable with each Windows updates.

Personally I don't like the way Windows Settings is programmed. I like the old Windows 7/10 Control Panel. Much easier to locate the settings you want.

The right click drop down menus are shortened so you need to do extra clicks to find the content shortcut you want.

Visually Windows 11 looks better than Windows 10 with more features and more security features especially in Security Settings than in Windows 10.

The easus solution stops updates on Windows 11.

The last suggestion on ubackup.com seems to be what I am after. It freezes updates at your selected version of Windows. As it is group policy, it is likely used by companies to keep their systems on the same version and therefore less likely to change.

shumifan16
Adept II

I normally will only install LTS(long term support) versions of Ubuntu, but I thought I would give Ubuntu 22.10 a try and see whether it supports the AMD Radeon graphics of the ryzen 7 7700. This looks like a success story, although installing from  USB DVD  drive is ridiculously  slow -it has been going for 2 hours before I saw the desktop, but at least it was on both screens. I just hope that will also work once it is installed. I have no verdict yet on the rest of the drivers-ethernet, wifi,audio etc. It might also fix a few GRUB problems, I am holding thumbs and anything else I can cross. But things are looking much more promising.

shumifan16
Adept II

Sadly the WiFi driver fails with index out of bounds. I am running kernel 5.19.0-21-generic so I went to the script and copied from 'kernel >= 5.18' the following:

<code>

## Build(for kernel >= 5.18)
```
#Turn off your Security Boot in BIOS

git clone https://github.com/HRex39/rtl8852be.git -b dev
cd rtl8852be
make -j8
sudo make install
sudo modprobe 8852be
</code>

It seemed to compile fine, but the modprobe came back with the following(dmesg):

1450.656584] ================================================================================
[ 1450.656585] ================================================================================
[ 1450.656586] UBSAN: array-index-out-of-bounds in /home/gerhard/rtl8852be/phl/phl_cmd_dispatcher.c:580:5
[ 1450.656587] index 16 is out of range for type 'u8 [16]'
[ 1450.656588] CPU: 8 PID: 14100 Comm: disp_eng_share_ Tainted: G W OE 5.19.0-21-generic #21-Ubuntu
[ 1450.656589] Hardware name: ASUS System Product Name/PRIME B650M-A WIFI, BIOS 0821 11/15/2022
[ 1450.656589] Call Trace:
[ 1450.656590] <TASK>
[ 1450.656590] show_stack+0x4e/0x61
[ 1450.656592] dump_stack_lvl+0x4a/0x6d
[ 1450.656594] dump_stack+0x10/0x18
[ 1450.656596] ubsan_epilogue+0x9/0x43
[ 1450.656598] __ubsan_handle_out_of_bounds.cold+0x42/0x47
[ 1450.656600] set_msg_custom_bitmap+0x1b1/0x1d2 [8852be]
[ 1450.656643] ? set_msg_bitmap+0xbf/0xc1 [8852be]
[ 1450.656686] dispr_send_msg+0x2f8/0x586 [8852be]
[ 1450.656730] phl_disp_eng_send_msg+0x7b/0x82 [8852be]
[ 1450.656773] _phl_cmd_scan_req_acquired+0x152/0x1e8 [8852be]
[ 1450.656818] register_cur_cmd_req+0x5b/0xce [8852be]
[ 1450.656861] dispr_process_token_req+0xe1/0x168 [8852be]
[ 1450.656904] _handle_token_op_info+0x82/0x163 [8852be]
[ 1450.656947] token_op_hanler+0x33/0xa0 [8852be]
[ 1450.656990] dispr_thread_loop_hdl+0x3d/0x26e [8852be]
[ 1450.657033] dispr_share_thread_loop_hdl+0xe/0x16 [8852be]
[ 1450.657076] share_thread_hdl+0x93/0x154 [8852be]
[ 1450.657119] ? phl_ps_hal_pwr_req+0x97/0x97 [8852be]
[ 1450.657162] kthread+0xe9/0x110
[ 1450.657164] ? kthread_complete_and_exit+0x20/0x20
[ 1450.657166] ret_from_fork+0x22/0x30
[ 1450.657168] </TASK>
[ 1450.657169] ================================================================================
[

 

Fortunately this is not a big problem as the NIC is recognized and works, so the WiFi is only important as I develop WiFi applications on the Espresif micro processors (ESP32) and will not be able to connect to them until I resolve the WiFi issue. But I can get to them from my tablet or phone, so it is not a show stopper.

 

0 Likes
shumifan16
Adept II

It seems all is fine. Ubuntu 22.10 solved the NIC and multiple display problem, but still needs the WiFi driver to be compiled. The grub problems persist with IO errors reported on my nvme drives while booting and undefined variables but no disk errors reported by fsck. Overall Ubuntu 22.10 is usable. I now run VirtualBox with Windows 10 as the guest OS and that works fine, however if you wish to run Sketchup-2017 you need to install a third party opengl3 driver in VirtualBox. VirtualBox only supports 2.1. Apparently VMWare supports opengl3 out of the box, but is a lot more user unfriendly.

I have not yet found a way to post the grub errors to report the bug(s).

0 Likes