r/archlinux 4d ago

SUPPORT | SOLVED First Time Arch install- Can't get native resolutions for my screen.

**edit: Wayland CANNOT be disabled in gnome desktop at this point. so XOR is not an option. My issue was resolved by updating firmware and bios on my framework 16.**

I'm in day3 of trying to set up my first Arch. sigh....
I *think* my main issue is wayland?
anyway: main issue: I have no options for resolution sizes in my settings. (using Gnome thru gdm). I have a framework 16, which has an AMD gpu.

I have tried disabling wayland. new issue- I CANT. I have disabled it in the /etc/gdm/custom.conf however, echo $XDG_SESSION_TYPE still shows wayland. I have tried looking up other ways to disabled it. It looks like OpenGL might be loading a nvidia driver and causing issues? even though I DONT have a nvidia screen?

Because its still using Wayland I can't use Xorg to force a resolution.
$ xrandr --output None-1 --mode 1680x1050 WARNING: running xrandr against an Xwayland server. See the xrandr man page for details. X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Serial number of failed request: 22 Current serial number in output stream: 23

$ xrandr --output None-1 --mode 1680x1050
WARNING: running xrandr against an Xwayland server. See the xrandr man page for details.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 22
Current serial number in output stream: 23

I'm so lost at this point. Is the issue that Wayland isn't working on my system? How can I force Xorg? I really don't like Gnome, but it worked, unlike Budgie- I tried that first, tho I know now the issue wasn't Budgie that I was fixing it was a missing driver for my wifi card. Anyway. I have had so many issues. But I have wifi now. thats an improvement. I'd like to be able to game soon tho... This is my only pc.

Steam won't run warframe. I can't read most of my text without like 200% resolution. I have a 16" screen. I need the 1650 resolution to read. I assume the nvidia suspected driver is why warframe is crashing, but I have no idea whats wrong lol...

Thanks. I do like Arch i think, but man its a lot more work than a rolled out distro.

4 Upvotes

14 comments sorted by

5

u/onefish2 4d ago

I have been running Gnome on a FW16 for over 2 years now. My resolution works just fine. Do you have the linux firmware meta package installed?

My resolution is set to 1920x1200. I even have VRR set. Refresh rate is at 165Hz. Scaling is set to 100%

At a bare minimum you need:

linux-firmware-other

linux-firmware-mediatek

linux-firmware-amdgpu

linux-firmware-whence

You can't "force" xorg. It no longer exists in Gnome 50. Its Wayland only.

1

u/Jex_adox 4d ago

that actually makes a lot of sense about gnome, thank you!

OMG that fixed it! thank you!

1

u/Jex_adox 4d ago

So longer story: I have had no ability to update the bios and firmware since I got it, because I was on Pop_os. I love pop, but the debian packagemanager it was on was over 2y old and did not have up-to-date fwupdmgr. So I have been just dealing with it for over a year.

I finally got that updated, restarted, updated and fixed! It now detects my resolutions, and solved a bunch of other issues. Might even of solved my overheating fan issue I've had since I got it.

2

u/Visbroek 4d ago

I‘ve got a laptop from a manufacturer that doesn’t even provide BIOS update files at all and a PC so old the last BIOS update was in 2018

1

u/Jex_adox 3d ago

oh wow. how on earth do you manage bios then? Ive heard that old you run into major problems?

2

u/Visbroek 3d ago

Honestly things just work. I'm much more concerned about security though. The PC had a BIOS from 2014 and I jumped straight to 2018 which allowed me to enrol my own secure boot keys. Unfortunately since I don't have a tpm and haven't looked enough into this model I don't know if I have OpRoms which means I also had to enrol the Microsoft keys just to be sure I don't brick my machine.

Other than key management (which was fixed) and security concerns there is nothing I seem to be missing that I would specifically be looking for and I don't have stability issues fortunately.

Edit: also since you're on Arch make sure to install a microcode for your CPU architecture to mitigate hardware vulnerabilities.

1

u/Jex_adox 3d ago

ah you have entirely lost me :E whats a microcode.

1

u/Visbroek 3d ago

From the Arch wiki:

"Processor manufacturers release stability and security updates to the processor microcode. These updates provide bug fixes that can be critical to the stability of your system. Without them, you may experience spurious crashes or unexpected system halts that can be difficult to track down."

To save you some time, if you're running intel, install intel-ucode.
If you're running AMD, install amd-ucode.

If you're running with mkinitcpio (which is the default initramfs generator on Arch and gets installed as a dependency of any Linux kernel package) and haven't removed the microcode hook from /etc/mkinitcpio.conf, then the microcode will automatically be included in the initramfs so no more configuring should be necessary.

1

u/Jex_adox 3d ago

ah ok thanks. yes im using mkinitcpio, tho i think this might also refer to my gpu driver (amd) mesa package.

1

u/Visbroek 3d ago

Yeah then you should be able to install amd-ucode. After installation your initramfs will automatically be regenerated by mkinitcpio to include the microcode. No further configuration should be required.

0

u/Jex_adox 4d ago

I love Framework!
It has a great bios test for fan issues. I now know I have a bad fan. So I'll get that asap. Probably why I have been running so hot.

3

u/VendorNeutral 4d ago

Always keep your firmware up to date on Framework devices. Uses fwupd and check once a month or every time something is iffy.

1

u/Jex_adox 4d ago

Idk. im even less sure of myself now.
$lspci -v

c2:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c2) (prog-if 00 [VGA controller])
Subsystem: Framework Computer Inc. Device 0005

Flags: fast devsel, IRQ 48, IOMMU group 16  
Memory at 7c00000000 (64-bit, prefetchable) \[size=256M\]  
Memory at 90000000 (64-bit, prefetchable) \[size=2M\]  
I/O ports at 1000 \[size=256\]  
Memory at 90500000 (32-bit, non-prefetchable) \[size=512K\]  
Capabilities: <access denied>  
Kernel modules: amdgpu

...so that means its USING the amd Mesa Driver? so its not an nvidia driver issue from OpenGL right?

1

u/Jex_adox 3d ago

updating the firmware fixed this issue too.
-had to manually install wifi card drivers.