GModCEFCodecFix icon indicating copy to clipboard operation
GModCEFCodecFix copied to clipboard

GModCEFCodecFix allows running as root with no warning (Steam Path Not Found)

Open DubstepBilly opened this issue 10 months ago • 5 comments
trafficstars

This is the first time I've had this issue so I'm a little stumped as to what the problem could be. But for whatever reason it refuses to see where steam is located, let alone gmod itself.

I've tried putting the fix exec into the steam folder, the Gmod folder, from downloads, and the desktop. Nothing is working now.

Any help would be greatly appreciated!

image image image image image image

This is my system info if it'll help:

System: Kernel: 6.8.0-51-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble Machine: Type: Laptop System: LENOVO product: 82QD v: IdeaPad 1 15IAU7 serial: Chassis: type: 10 v: IdeaPad 1 15IAU7 serial: Mobo: LENOVO model: LNVNB161216 v: SDK0T76473 WIN serial: part-nu: LENOVO_MT_82QD_BU_idea_FM_IdeaPad 1 15IAU7 uuid: UEFI: LENOVO v: JKCN42WW date: 09/06/2023 Battery: ID-1: BAT0 charge: 38.9 Wh (100.0%) condition: 38.9/42.0 Wh (92.6%) volts: 12.3 min: 11.2 model: SMP L21M3PF0 type: Li-poly serial: status: full cycles: 96 ID-2: hidpp_battery_0 charge: 49% condition: N/A volts: 3.8 min: N/A model: Logitech G Pro Wireless Gaming Mouse type: N/A serial: status: discharging CPU: Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64 type: MST AMCP smt: enabled arch: Alder Lake rev: 4 cache: L1: 928 KiB L2: 6.5 MiB L3: 12 MiB Speed (MHz): avg: 978 high: 1325 min/max: 400/4400:3300 cores: 1: 1300 2: 873 3: 1148 4: 400 5: 1044 6: 1111 7: 1325 8: 1025 9: 1085 10: 911 11: 400 12: 1118 bogomips: 59904 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel Alder Lake-UP3 GT2 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel arch: Gen-12.2 ports: active: HDMI-A-1,eDP-1 empty: DP-1 bus-ID: 00:02.0 chip-ID: 8086:4628 class-ID: 0300 Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2.3.1:8 chip-ID: 046d:085c class-ID: 0102 serial: Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-8:3 chip-ID: 13d3:540a class-ID: 0e02 Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22") s-diag: 1055mm (41.54") Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,right model: Sceptre F24 res: 1920x1080 dpi: 93 size: 526x296mm (20.71x11.65") diag: 604mm (23.8") modes: max: 1920x1080 min: 640x480 Monitor-2: eDP-1 pos: left model: AU Optronics 0x61ed res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: 1920x1080 API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris device: 1 drv: swrast gbm: drv: iris surfaceless: drv: iris x11: drv: iris inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: PPA glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (ADL GT2) device-ID: 8086:4628 API: Vulkan v: 1.3.275 layers: 7 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: N/A device-ID: 8086:4628 device: 1 type: cpu driver: N/A device-ID: 10005:0000 Audio: Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0403 Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2.3.1:8 chip-ID: 046d:085c class-ID: 0102 serial: API: ALSA v: k6.8.0-51-generic status: kernel-api Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin Network: Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network vendor: Lenovo driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:b852 class-ID: 0280 IF: wlp2s0 state: up mac: Device-2: ASIX AX88179 Gigabit Ethernet driver: cdc_ncm type: USB rev: 3.2 speed: 5 Gb/s lanes: 1 bus-ID: 2-1.3:3 chip-ID: 0b95:1790 class-ID: 0a00 serial: IF: enx6c1ff71385b1 state: up speed: 1000 Mbps duplex: half mac: Bluetooth: Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-10:7 chip-ID: 0bda:4853 class-ID: e001 serial: Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block: hardware: no software: yes address: Drives: Local Storage: total: 476.94 GiB used: 245.68 GiB (51.5%) ID-1: /dev/nvme0n1 vendor: solidgm model: SSDPFINW512GZL size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: C02C temp: 34.9 C scheme: GPT Partition: ID-1: / size: 467.89 GiB used: 245.67 GiB (52.5%) fs: ext4 dev: /dev/nvme0n1p2 ID-2: /boot/efi size: 511 MiB used: 10.3 MiB (2.0%) fs: vfat dev: /dev/nvme0n1p1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 227.2 MiB (11.1%) priority: -2 file: /swapfile USB: Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-2: 2-0:1 info: super-speed hub ports: 1 rev: 3.1 speed: 20 Gb/s lanes: 2 chip-ID: 1d6b:0003 class-ID: 0900 Hub-3: 2-1:2 info: Genesys Logic USB3.2 Hub ports: 4 rev: 3.2 speed: 5 Gb/s lanes: 1 chip-ID: 05e3:0625 class-ID: 0900 Device-1: 2-1.3:3 info: ASIX AX88179 Gigabit Ethernet type: communication,CDC-data driver: cdc_ncm interfaces: 2 rev: 3.2 speed: 5 Gb/s lanes: 1 power: 184mA chip-ID: 0b95:1790 class-ID: 0a00 serial: Hub-4: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-5: 3-2:2 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1 chip-ID: 05e3:0610 class-ID: 0900 Device-1: 3-2.1:4 info: SINO WEALTH Gaming KB type: keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 258a:0052 class-ID: 0300 Hub-6: 3-2.3:6 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 05e3:0608 class-ID: 0900 Device-1: 3-2.3.1:8 info: Logitech C922 Pro Stream Webcam type: video,audio driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 046d:085c class-ID: 0102 serial: Device-2: 3-8:3 info: IMC Networks Integrated Camera type: video driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 13d3:540a class-ID: 0e02 Device-3: 3-9:5 info: Logitech Lightspeed Receiver type: keyboard,mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 98mA chip-ID: 046d:c539 class-ID: 0300 Device-4: 3-10:7 info: Realtek Bluetooth Radio type: bluetooth driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 0bda:4853 class-ID: e001 serial: Hub-7: 4-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Sensors: System Temperatures: cpu: 35.0 C mobo: N/A Fan Speeds (rpm): N/A Repos: Packages: 2487 pm: dpkg pkgs: 2469 pm: flatpak pkgs: 9 pm: snap pkgs: 9 No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/dotnet-backports-noble.list 1: deb [signed-by=/etc/apt/keyrings/dotnet-backports-noble.gpg] https: //ppa.launchpadcontent.net/dotnet/backports/ubuntu noble main Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-noble.list 1: deb [signed-by=/etc/apt/keyrings/kisak-kisak-mesa-noble.gpg] https: //ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu noble main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http: //packages.linuxmint.com wilma main upstream import backport 2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse 3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse 4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse 5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse Active apt repos in: /etc/apt/sources.list.d/spotify.list 1: deb http: //repository.spotify.com stable non-free Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 1: deb [arch=amd64] https: //repo.vivaldi.com/stable/deb/ stable main Info: Memory: total: 8 GiB note: est. available: 7.48 GiB used: 4.12 GiB (55.1%) Processes: 357 Power: uptime: 16m states: freeze,mem suspend: s2idle wakeups: 0 hibernate: disabled Init: systemd v: 255 target: graphical (5) default: graphical Compilers: gcc: 13.3.0 Client: Cinnamon v: 6.2.9 inxi: 3.3.34

DubstepBilly avatar Dec 28 '24 08:12 DubstepBilly

The issue is to stop running the codec fix using sudo. Sudo elevates to another user and breaks the heuristics used to locate steam.

JohnPeel avatar Dec 28 '24 08:12 JohnPeel

@WinterPhoenix

The codec fix should probably throw a warning if euid is 1.

JohnPeel avatar Dec 28 '24 08:12 JohnPeel

@JohnPeel What would you say should be used to execute instead of sudo for future reference?

DubstepBilly avatar Dec 28 '24 08:12 DubstepBilly

You just run the codec fix directly without sudo. ./GModCEFCodexFix-Linux

JohnPeel avatar Dec 28 '24 08:12 JohnPeel

Just for future reference, you shouldn't be running anything with sudo unless the program you're running is trusted and requires it. Giving programs elevated permissions needlessly only puts your system's security at risk.

AkikoKumagara avatar Feb 10 '25 22:02 AkikoKumagara

The Rust rewrite of the tool now prevents this by default: https://github.com/solsticegamestudios/GModPatchTool/releases

You can still run the tool with root, should you choose, using the --run-as-root-with-security-risk argument, but obviously this is neither recommended nor even typically needed.

WinterPhoenix avatar Aug 11 '25 05:08 WinterPhoenix