MicroOS: Need to Install Firmware File on Kernel Command Line

I am trying to use XWayland in a KVM guest but it always comes up as 1024x768. My ideal rez would be 1920x900. (16:7.5)

So I tried to use the resolution option for <video> in the KVM .xml file for the guest, but it doesn’t work.

I then resorted to trying to use KMS in the guest. I can not put firmware files in the usual place as it’s immutable, so I tried adding to the kernel line:
drm_kms_helper.edid_firmware=…/…/…/home/bill/src/1680x900.bin

… continued boot, but the same old resolution.

KWin uses Wayland and subsequent KDE processes use X. Wayland only responds to EDID and nothing else to set resolution.

Does anyone know which writeable directories are available to the kernel at boot?

Have you used cvt and xandr to force the video mode like this:

llrainey@VM1:~> /usr/bin/cvt 1680 900
# 1680x900 59.94 Hz (CVT) hsync: 55.98 kHz; pclk: 124.50 MHz
Modeline "1680x900_60.00"  124.50  1680 1776 1952 2224  900 903 913 934 -hsync +vsync
llrainey@VM1:~>D=`/usr/bin/xrandr --verbose | head -2 | tail -1 | awk '{print $1}'`
llrainey@VM1:~>/usr/bin/xrandr --newmode "1680x900_60.00"  124.50  1680 1776 1952 2224  900 903 913 934 -hsync +vsync
llrainey@VM1:~>/usr/bin/xrandr --addmode $D 1680x900_60.00
llrainey@VM1:~>/usr/bin/xrandr -s 1680x900
llrainey@VM1:~> 

This is how I get around VirtualBox’s wrong video issues. The variable D is to get the name of the video this time - you may have to do it differently. Virtual1 is my display for VM1.

llrainey@VM1:~> /usr/bin/xrandr --verbose | head -2 | tail -1 
Virtual1 connected primary 1752x980+0+0 (0x3bc) normal (normal left inverted right x axis y axis) 0mm x 0mm
llrainey@VM1:~> 

My guess is that you should be configuring the Compositor, is not likely an XWayland configuration.

Assuming you’re running the Weston Compositor (You have to verify what you’re running, KDE has been experimenting with some of its own compositors recently), the following has an example Weston configuration file which both configures XWayland support and defines the default display resolution.

https://wiki.archlinux.org/index.php/Weston#Configuration

If you’re using some other Compositor, of course you’ll have to look at that documentation.

TSU

I do not know what this option does, but adding video=1920x900 kernel option works in QEMU with gtk UI + virgl both with X11 and Wayland in guest.

OP is using Wayland.

Wow - xrand is there but does nothing so for all intents and purposes xrandr is not supported = Another good reason to stay on X11 - Ubuntu has it right no Wayland period.

X11 was developed by MIT and DEC in the early 1980’s - I had all the X books - Only MIT and DEC could get the terms Client and Server backwards.

The Corvus Concept was the first Unix computer that the the main screen was X and not a dumb terminal. I had one of them - I think it had 512KB of RAM and a 10MB hard drive. I upgraded mine to a Motorola 68010 - It cost half as much as my house back then. It was weird as it had 4 Apple 2 bus slots for peripherals. I had a Z80 emulator on it and could run CP/M programs and it emulated an Adds Viewpoint CRT for CP/M. It ran CP/M as if it were a 24 mhz Z80.

It was a common IT joke to say that X was the largest Virus ever programmed. When it was released 90% of all Unix computers did not have enough memory to run it. Here is what everyone saw in the 1980’s:

Official Notice

Post Immediately

X

Dangerous Virus!

First, a little history. The X window system escaped from Project Athena at MIT where it was being held in isolation. When notified, MIT stated piblicly that “MIT assumes no resonsibility…”. This is a very disturbing statement. It then infiltrated Digital Equipment Corporation, where it has since corrupted the technical judgement of this organization.
After sabotaging Digital Equipment Corporation, a sinister X consortium was created to find a way to use X as part of a plan to dominate and control interactive window systems. X windows is sometimes distributed by this secret consortium free of charge to unsuspecting victims. The destructive cost of X cannot even be guessed.
X is truly obese - whether it’s mutilating your hard disk or actively infesting your system, you can be sure it’s up to no good. Innocent users need to be protected from this dangerous virus. Even as you read this, the X source distribution and the executable environment is being maintained on hundreds of computers, maybe even your own.
Digital Equipment Corporation is already shipping machines that carry this dreaded infestation. It must be destroyed.
This is what happens when software with good intentions goes bad. It victimizes innocent users by distorting their perception of what is and what is not good software. This malignant window system must be destroyed.
Ultimately DEC and MIT must be held accountable for this heinous software crime, brought to justice, and made to pay for a software cleanup. Until DEC and MIT answer to these charges, they both should be assumed to be protecting dangerous software criminals.
Don’t be fooled! Just say no to X.

X-Windows: …A mistake carried out to perfection. X-Windows: …Dissatisfaction guaranteed. X-Windows: …Don’t get frustrated without it. X-Windows: …Even your dog won’t like it. X-Windows: …Flaky and built to stay that way. X-Windows: …Complex nonsolutions to simple nonproblems. X-Windows: …Flawed beyond belief. X-Windows: …Form follows malfunction. X-Windows: …Garbage at your fingertips. X-Windows: …Ignorance is our most important resource. X-Windows: …It could be worse, but it’ll take time. X-Windows: …It could happen to you. X-Windows: …Japan’s secret weapon. X-Windows: …Let it get in your way. X-Windows: …Live the nightmare. X-Windows: …More than enough rope. X-Windows: …Never had it, never will. X-Windows: …No hardware is safe. X-Windows: …Power tools for power fools. X-Windows: …Putting new limits on productivity. X-Windows: …Simplicity made complex. X-Windows: …The cutting edge of obsolescence. X-Windows: …The art of incompetence. X-Windows: …The defacto substandard. X-Windows: …The first fully modular software disaster. X-Windows: …The joke that kills. X-Windows: …The problem for your problem. X-Windows: …There’s got to be a better way. X-Windows: …Warn your friends about it. X-Windows: …You’d better sit down. X-Windows: …You’ll envy the dead.