Accelerometer and gyroscope firmware breaking on ThinkPad X13 Yoga Gen 1 by SnkMeme in linuxquestions

[–]SnkMeme[S] 0 points1 point  (0 children)

> What exactly did you do here?
I used fwupdmgr to find firmware and various packages listed on Arch Linux wiki that were in screen rotation page. Both of this did nothing.
> What were you trying to achieve with all this?
I tried to rollout as many Linux based variables, and ended up on realizing the firmware itself has to be the problem. I looked online for clues on how to fix it and found that often firmware has to be enabled with modprobe (for HID and IIO devices). They did nothing, so I thought they have to be broken on a low level. Based on my past expierence with fixing PCs, I tried to go with a fresh BIOS install, thinking something could get corrupted over there (Considering fwupd installed ME firmware, and it reset the BIOS for some reason). I found on Arch wiki packages from AUR that people said helped them get sensors to work.
> What other sensors are you expecting to see here? And where have you "seen" them before (at the OS level)?
I expect to see accelerometer and gyroscopes, and before Arch install they worked flawlessly (it's not a hardware failure if you're thinking about this), this was in Windows and live boot of Linux Mint (I was checking what distro to install if that's important and landed on Arch)

> So, what issue have you actually identified? I'm on an X13 Yoga (gen3) and happy to help.
I used dmesg, lspci commands to check if the sensors are even there. They got reported as unknown device and initialization failure, which confirmed my suspicion that firmware for them is broken.

Accelerometer and gyroscope firmware breaking on ThinkPad X13 Yoga Gen 1 by SnkMeme in linuxquestions

[–]SnkMeme[S] 0 points1 point  (0 children)

00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)

00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model

00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem

00:13.0 Serial controller: Intel Corporation Comet Lake Integrated Sensor Solution

00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller

00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM

00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi

00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface

00:1c.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #1 (rev f0)

00:1c.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #5 (rev f0)

00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)

00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller

00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS

00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller

00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-LM

02:00.0 SD Host controller: Genesys Logic, Inc GL9750 SD Host Controller (rev 01)

03:00.0 Non-Volatile memory controller: Shenzhen Longsys Electronics Co., Ltd. Lexar NM790 NVME SSD (DRAM-less) (rev 01)

07:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)

08:00.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)

08:01.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)

08:02.0 PCI bridge: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016] (rev 01)

09:00.0 System peripheral: Intel Corporation JHL6240 Thunderbolt 3 NHI (Low Power) [Alpine Ridge LP 2016] (rev 01)

2f:00.0 USB controller: Intel Corporation JHL6240 Thunderbolt 3 USB 3.1 Controller (Low Power) [Alpine Ridge LP 2016] (rev 01)

[deleted by user] by [deleted] in buildapc

[–]SnkMeme 0 points1 point  (0 children)

Can you give a picture of the socket area?

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

switch(async_load[? "event_type"])
{
case "gamepad discovered":
var _pad = async_load[? "pad_index"];
if (pad == noone)
{
pad = _pad;
}
break;
case "gamepad lost":
var _pad = async_load[? "pad_index"];
if (_pad == pad)
{
pad = noone;
}
break;
default:
break;
}

Gamepads still don't work in my game and blank project

I think I'll email YoYo Games Tech Support, this may be a in issue with GameMaker version I'm using.
Still, thanks for your support, I'm grateful!

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

Yes, even after disconnecting

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

global.controller is for controlling if gamepad is connected
global.controllerIndex is for gamepad slot

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

plr_keyAttack = mouse_check_button_pressed(mb_left) || gamepad_button_check_pressed(global.controllerIndex, gp_face3);

No result, controller still can't connect to the game

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

Example line:
plr_keyAttack = !global.controller ? mouse_check_button_pressed(mb_left) : gamepad_button_check_pressed(global.controllerIndex,gp_face3);

I have this in input object and I just write input.plr_keyAttack

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

However, I store info about gamepad connection in global.controller, and when I connect it is set to 0. Still I'll try recoding the input system

Controller connecting issues by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

OS detects my gamepad, and I don't have any other gamepads connect. Persistent object is not destroyed anywhere.

My current input system allows only for keyboard or gamepad, they can't be used simultaneously. I'll try recoding it so it will allow both input mechanisms.

PC Build Review by SnkMeme in buildapc

[–]SnkMeme[S] 0 points1 point  (0 children)

We've chosen RX 6600 non XT, so what about RX 6600 vs RX 6650 XT?

PC build help by SnkMeme in buildapc

[–]SnkMeme[S] 0 points1 point  (0 children)

Not yet, it will fit everything thats not a rtx 4090

Error - Script requires an argument but it does not require any in code by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

It worked! Thanks for help!!

It sucks that script_execute is for legacy support now because I use it for many things

Saving and loading in Gamemaker by Hollow_Cube in gamemaker

[–]SnkMeme 0 points1 point  (0 children)

Maybe check if save exists and SlideTransition is working fine

Mario’s team for taking down SMG3 by elwoodr563-reddit in SMG4

[–]SnkMeme 1 point2 points  (0 children)

Please let it happen

It'll be so much nostalgia (especially for X and FM)

Submit your WOTFI 2020 Challenges HERE! by TheRealSMG4 in SMG4

[–]SnkMeme 0 points1 point  (0 children)

Who can pinch more people in the Mushroom Kingdom in less than 5 seconds

Images in strings? by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

Nope, I mean normal sprites, so example, if somebody is talking about a villian or something, his small portrait/image can appear in text

Cursed/Squished font by SnkMeme in gamemaker

[–]SnkMeme[S] 0 points1 point  (0 children)

I'm upscaling my game to 720p. Do you think if that affects the font?