Asus TUF Gaming AX6000 support

I use a gaming script and my games run

If not, it's a lot of trouble, you can share your configured game script that you are using, I watched your YouTube videos and the bullet impacts are recorded very well. Regards :slightly_smiling_face:

my basic connexion is very good simply i think is very important

i don't use sqm just scriptof my friend who my helped to create this script in the past god plan

That is the QOS Cake setup process I’ve been waiting for the last 5 yesrs. Excellent documrntdion and thanks for your work!

1 Like

Hi guys,

currently running r23630-842932a63d 231213 (from December as far as I remember).

Did some configuration, extra packages, etc. and so far that works great.

I tried a couple times already to switch to snapshot builds with a preselected list of packages, see here. That's basically the base list from the December release plus things I installed myself and removed some (2 or 3) that weren't available. Also upgraded to libmbedtls13 since libmbedtls12 is no longer available.

So, flashing was no problem and works fine. Browsing using Firefox etc. also works fine, however I get 100% connection timeouts when running Steam or battle.net or even Reddit. This happens with Adblock disabled as well.

Any idea what the problem could be? Thanks!

The problem is that you are using too old snapshot, some of the early builds. It also might not be fully compatible with the updated packages.

The current build from today is SNAPSHOT (r25595-5305dbbe9f). I would recommend installing it from Luci.

But before that, read this whole message first!

First do config backup from Luci. Then do backup the list of packages and reinstall them. The easiest way to do it that I know of is this script:

Do the following before doing the sysupgrade (and do it from the terminal):

wget https://raw.githubusercontent.com/richb-hanover/OpenWrtScripts/main/opkgscript.sh
chmod +x opkgscript.sh
./opkgscript.sh -v write

It will save a file with your current packages and it will “survive” the sysupgrade.

Then install latest snapshot for your router from the Firmware Selector:
https://firmware-selector.openwrt.org/
Make sure you selected appropriate options during the upgrade in Luci to keep your config files on the persistent partition.

Pay attention that after upgrading to the latest snapshot, your router will not have Luci installed. So make sure before that you have an access to ssh.

You install Luci with:

opkg update
opkg install luci luci-ssl wget

Then re-download the same opkgscript.sh from above, but this time run this command:

./opkgscript.sh install

It takes a lot of time to finish installing all your packages. A notice here: you always need to run opkg update before that!

Now you have the latest snapshot up and running. I had some issues with accessing Luci on a snapshot from couple of days ago, so if you are experiencing any problems with Lua scripts like I did, just check out a few posts before this one - you will find an easy solution there, and that is reinstalling a few packages.

There’s an alternative to using opkgscript.sh, and that is to manually install packages from your list of packages, so use that one if it’s easier for you.

Now you need to install and set up SQM cake properly. In order to be able to handle 1Gbps internet connection on SQM cake, do not forget to enable packet steering, soft offloading, and do NOT use hardware offloading, since it’s incompatible with SQM. Do not forget to install package “irqbalance” for proper CPU load balancing.

For instructions how to do that, scroll back 100+ posts, or use search option to search this thread for keywords “sqm” and “cake”. There was a long discussion there, with a lot of details. You will learn a lot of new things about making your connection very responsive and hard to lag (no buffer bloat).

Installing latest snapshot and reinstalling packages will take you no more than 10 minutes. You can do it every week or so, since it will take a few minutes only. Setting up SQM will take you a little bit longer than that.

You will now have a rock solid router that is capable of handling wifi 6, 2 x 2.5GbE and gigabit SQM cake. This router is a dream machine that has all the features you need from a router integrated into one small and silent package. :slight_smile:

Timeouts will be a thing of past. Enjoy your router!

Thanks a lot for the suggestions!
I flashed with a vanilla snapshot today, but still ran into the same problem. The thing is, the actual problem was pointed out in the syslog, I just didn't see it. There was a dead symlink in "/etc/nftables.d":

lrwxrwxrwx    1 root     root            27 Jan  1  1970 99-xray.nft -> /usr/share/xray/include.nft

With that thing removed, everything seems to be working now.

23.05.3 version will be released soon. This is where it will already be fixed.

2 Likes

Hello all,

I've bought this router this week and installed the latest snapshot on Tuesday.
OpenWRT is great and I am learning more and more every day.

I'm testing SQM and my results are not great compared to what I've seen in this thread.
These are my speed test results from the router without SQM:

Download: 616.19 Mbps
  Latency: [in msec, 21 pings, 0.00% packet loss]
      Min:  27.007
    10pct:  46.887
   Median: 119.075
      Avg: 151.101
    90pct: 212.646
      Max: 436.224
 CPU Load: [in % busy (avg +/- std dev), 19 samples]
     cpu0:   7.7 +/-  3.8
     cpu1:  11.8 +/-  6.1
     cpu2:   6.5 +/-  2.6
     cpu3:  17.2 +/-  5.6
 Overhead: [in % used of total CPU available]
  netperf:   2.8
.......................
   Upload:  61.65 Mbps
  Latency: [in msec, 22 pings, 0.00% packet loss]
      Min:  14.079
    10pct:  16.559
   Median:  27.966
      Avg:  54.946
    90pct:  35.213
      Max: 619.210
 CPU Load: [in % busy (avg +/- std dev), 21 samples]
     cpu0:   2.6 +/-  1.1
     cpu1:   3.7 +/-  1.7
     cpu2:   2.8 +/-  1.8
     cpu3:   2.6 +/-  1.4
 Overhead: [in % used of total CPU available]
  netperf:   0.3

If I enable SQM, with 600.000 and 60.000 as dl and up, piece of cake, link layer as None (with similar results with Ethernet) with irqbalance, packet steering, soft offloading, NOT hardware offloading as recommended this is what I get:

 Download: 468.74 Mbps
  Latency: [in msec, 21 pings, 0.00% packet loss]
      Min:  11.417
    10pct:  11.494
   Median:  15.720
      Avg:  69.202
    90pct: 123.370
      Max: 256.532
 CPU Load: [in % busy (avg +/- std dev), 19 samples]
     cpu0:  26.2 +/-  4.2
     cpu1:  48.3 +/-  4.8
     cpu2:  24.9 +/-  3.9
     cpu3:  47.3 +/-  6.1
 Overhead: [in % used of total CPU available]
  netperf:  11.6
.....................
   Upload:  56.94 Mbps
  Latency: [in msec, 21 pings, 0.00% packet loss]
      Min:   9.202
    10pct:   9.336
   Median:  12.064
      Avg:  11.853
    90pct:  14.033
      Max:  15.285
 CPU Load: [in % busy (avg +/- std dev), 19 samples]
     cpu0:   7.1 +/-  3.2
     cpu1:   4.9 +/-  2.3
     cpu2:   6.5 +/-  3.6
     cpu3:   4.2 +/-  2.6
 Overhead: [in % used of total CPU available]
  netperf:   0.3

CPU doesn't seem saturated but the DL speed seem quite low. Any suggestion on what should I look into to get better speeds?

AFAIK software offloading should be disabled as well: https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm#overview

The wiki is out of date as far as I can tell. SW offloading should work with SQM (there might be some edge cases that don't get shaped with it, but you should still see a drastic drop in bufferbloat).

1 Like

Test version of OpenWRT 24 with kernel v6.6 (snapshot)
https://drive.google.com/drive/folders/1ZeTgmZXvYspx5X45ZDTfpdQzu8IQKyod
(only for testing)

2 Likes

TUF AX6000 is available as release in 23.05.3
https://downloads.openwrt.org/releases/23.05.3/targets/mediatek/filogic/

Is there any evidence that the packet corruption bug has been fixed?

Hi Everyone, I have lost wifi connection on TUF-AX6000 after trying to do attended sysupgrade. It got bricked, I managed to bring back with ASUS firmware restoration tool, but since then wifi only works with ASUS stock firmware, and not OpenWrt.
In kernel log I see mt798x-wmac 18000000.wifi: eeprom load fail, use default bin

[   10.210781] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
[   10.218599] UBIFS (ubi0:7): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.228494] UBIFS (ubi0:7): FS size: 163926016 bytes (156 MiB, 1291 LEBs), max 1303 LEBs, journal size 8253440 bytes (7 MiB, 65 LEBs)
....
[   11.836039] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174648a
[   11.836039] 
[   12.159838] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174725
[   12.308340] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[   12.455965] mt798x-wmac 18000000.wifi: eeprom load fail, use default bin
[   22.099477] PPP generic driver version 2.4.2
[   22.104434] NET: Registered PF_PPPOX protocol family
[   22.111621] kmodloader: done loading kernel modules from /etc/modules.d/*

Version: OpenWrt 23.05.3 (r23809-234f1a2efa)

Seems to be similar to Asus TUF AX4200 support - #145 by Funnyland where calibration data on flash got lost. Maybe someone could share a backup so I could try to reflash it?
BogdanZag had also similar issue in December with TUF-AX6000.
Regenerating wireless file with wifi config command gives wireless config with both radio0 and radio1 being 5ghz, but even after enabling neither ssid is visible.

From wireless config

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi'
        option channel '36'
        option band '5g'
        option htmode 'HE80'
....
config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi+1'
        option channel '36'
        option band '5g'
        option htmode 'HE80'

...

Any hint would be appreciated, thanks in advance!

How did you manage to do this?
I already tried to do this using the reset button and the stock bootloader refused to restore the stock firmware.

Its a pain in the ass to start but after many tries Youll get the hang of it.

@feneri25
I had a similar problem with wifi on a build i use on other machines and there had to be a patch added.
Open the sysupgrade.bin file with 7zip and search in the bigger file if there is such a patch.
Take the path from the logs.

1 Like

I can't fully recall, it was about a month ago and I was waiting for a stable release to see if it would work better. I was looking into the eeprom loading failure in kernel now.
I was following the steps outlined here https://www.asus.com/support/faq/1000814/. I think maybe the led was not blinking as described, but the tool on Windows 11 found the router after multiple trials and applied the stock firmware.

This is what I did to upgrade from last week's snapshot to 23.05.3 and I didn't have problems, also keeping the configuration.

1 Like

BTW I have a question here, I tried to look into wiki page about this device, the WiFi chip 7976D should be 3T3R? But why can it run in 4T4R?? Am I reading wrong thing?