Which is the current method to reset rpm-ostree kargs to default settings?
There doesn’t seem to be any right now: Gitlab
Personally I would just use sudo rpm-ostree kargs --editor
and modify by hand if there’s many arguments I want to edit/remove.
Yeah. Would you share your current command line and the device you are using?
In particular I am interested in gpu_sched.sched_policy=0. Is it still the default?
I don’t have it in my default parameters, both on my Intel-only laptop and AMD-only desktop. But running modinfo gpu_sched
gives
filename: /lib/modules/6.9.8-202.fsync.fc40.x86_64/kernel/drivers/gpu/drm/scheduler/gpu-sched.ko.xz
license: GPL and additional rights
description: DRM GPU scheduler
depends:
retpoline: Y
intree: Y
name: gpu_sched
vermagic: 6.9.8-202.fsync.fc40.x86_64 SMP preempt mod_unload
sig_id: PKCS#7
signer: Fedora kernel signing key
sig_key: 6C:ED:8F:CF:2D:60:2B:90:3E:7B:D8:82:69:99:48:83:E5:EE:0E:24
sig_hashalgo: sha256
signature: 8C:2B:5B:8B:EA:1E:FB:BC:84:16:19:9B:B7:9D:CB:48:6F:34:E9:1F:
FC:ED:49:F5:1B:5A:56:D9:EE:1E:FF:2E:23:AE:FA:0B:3D:6E:CD:B6:
2E:12:F9:F8:E0:F1:01:09:AE:09:FF:8A:9C:73:29:2B:F6:A9:B5:41:
5F:AE:51:39:E5:D5:52:51:55:D8:D0:2B:1C:15:11:68:54:A8:F1:93:
46:17:7C:CA:D7:8A:95:94:E2:70:C4:3A:24:1D:E6:5E:38:7D:7B:59:
0C:49:A2:A9:A2:F2:37:5E:C3:F0:AB:49:7C:08:39:65:F2:40:B2:83:
2D:62:47:C1:B8:DD:75:95:39:B8:53:72:B8:49:08:63:58:BB:74:0B:
39:BD:39:8E:25:1F:15:15:41:9A:64:B7:53:79:29:32:56:46:0D:0D:
9B:85:DB:21:82:C6:D9:AC:44:35:5E:C4:9B:47:FE:2C:54:5B:1E:5D:
EB:48:C7:09:88:88:7D:A6:FD:2B:2D:36:C0:AF:67:BA:68:DC:FC:8B:
E8:8E:12:60:E1:42:76:C9:E1:AE:C9:82:B7:B4:06:7D:12:96:5A:93:
DB:31:39:E5:41:48:20:92:86:42:38:3F:18:AB:A6:E2:25:1D:66:4B:
B3:F6:5F:27:60:3B:5D:A7:7C:F6:13:81:54:67:38:CA:AE:01:96:62:
4C:FF:08:76:62:B1:BD:CD:2F:F1:DF:01:74:F5:6C:5D:55:08:90:25:
61:49:D4:30:0F:A5:58:A3:8C:10:C8:2B:DE:FC:AB:F4:F2:DB:F0:C9:
FE:6A:E2:3D:08:2F:5E:D2:3B:CD:11:69:F9:A4:F4:66:E3:DB:3D:6F:
3B:B8:7D:6C:EF:63:75:6D:9E:67:91:98:F0:35:DF:C8:68:BE:75:C6:
14:DD:3A:21:40:D9:4B:B2:48:95:56:22:54:09:D4:F4:06:C8:23:EA:
CB:AB:B7:F5:5D:AA:17:CB:D0:10:33:8C:55:DD:E7:06:57:27:8E:6A:
F7:49:C0:88:5C:70:38:00:F8:99:C5:FD:73:D3:A5:D3:F9:9B:2A:A9:
BF:A8:9C:FD:90:EB:94:E3:3C:43:27:02:49:94:43:A3:6B:63:43:E5:
C7:F9:EA:06:A9:BB:B3:ED:E9:12:DF:F1:5A:CD:0B:34:FE:6B:36:35:
92:E1:1B:A1:A4:E8:96:C3:96:EE:54:A6:8E:6D:F1:22:99:DF:A2:7F:
0C:DC:2D:6B:4B:87:E7:0B:4B:B1:3B:A7:0B:02:37:A1:38:BF:69:BA:
3B:6F:B8:53:63:C6:F1:62:87:24:78:B4:6A:B8:3B:E4:83:A7:E2:71:
A7:4E:7C:24:40:23:CA:FD:87:79:4D:5E
parm: sched_policy:Specify the scheduling policy for entities on a run-queue, 0 = Round Robin, 1 = FIFO (default). (int)
so I would assume sched_policy=1
is the default now.
In my understanding if you remove any parameter modifications they will be restored to default though, so in theory just removing them from within the editor should be enough.
Thanks for the reply. It is my understanding that it resets the whole command line to default but I wanted to be sure. I’ll try to reinstall it soon. Would you take time to share your kernel command line if you can?
Desktop (ext4 filesystem):
rhgb quiet root=UUID=********-****-****-****-************ rw page_alloc.shuffle=1 hid_apple.fnmode=0
page_alloc.shuffle=
and hid_apple.fnmode=
were manually added.
Laptop (btrfs filesystem):
rhgb quiet root=UUID=********-****-****-****-************ rootflags=subvol=root rw sysrq_always_enabled=1 thinkpad_acpi.fan_control=1 hid_apple.fnmode=0
sysrq_always_enabled=
, thinkpad_acpi.fan_control=
, and hid_apple.fnmode=0
were manually added.