I upgraded from 20.04LTS to 22.04LTS (i kind of regret it now as have had a lot of compatibility problems that have taken time to resolve). I thought I got the video problem resolved..
System is HP 6300 with Built in Graphics of Display Port and RGB. Under 20.04 I was running two monitors- Display Port->HDMI and VGA->HDMI with a conversion dongle. It worked well except that each time I booted I needed to run a script to change the VGA monitor resolution.
After upgrade to 22.04, the script did not work giving a monitor not found error. I discovered that the VGA-1, which was in the script was now XWAYLAND1 so I changed the script and kept getting XRANDR errors.
So I decided to get a low level graphics card (GeForce GT 730) to support HDMI natively. Updated with the current driver from the NVIDIA site, but...
I dicovered that with the video card installed the system would boot, display the Ubuntu logo, then go blank. If I removed the new video card, I had a high resolution display on the Disdplay Port, and low resolution on the VGA which I could not change.
I disabled WAYLAND and voila, everything worked. I have rebooted a couple of times, but after today's reboot all I get is one display. From xrandr (below) it appears to only see the GeForce card.
This is what xrandr shows:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+ 59.94 50.00 60.05 60.00 50.04
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1400x1050 59.98
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
This what lshw -c video shows:
description: VGA compatible controller
product: GK208B [GeForce GT 730]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:30 memory:f6000000-f6ffffff memory:e8000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c00
So it looks like it is not recognizing the builtin graphics drivers.
Any suggestions as to resolution would be appreciated.
Thanks,
Paul