Cirrus Logic Gd 5446 Driver Linux

Posted on
Cirrus Logic Gd 5446 Driver Linux 8,6/10 896 votes
Posted by2 years ago
Archived

Xorg Cirrus graphics driver in KVM guest. Cirrus Logic GD 5446 (prog-if 00 [VGA controller]). The Linux kernel help about CONFIG_DRM_CIRRUS_QEMU say to use.

Linux

Having trouble getting Linux guests to work

I'm not sure why as I know I've been able to use virt-manager in the past for some of the distro's I'm trying, if anyone could perhaps help figure this out it'd be appreciated.

I have tried a similar XML config to my Windows VM tweaked for Linux, as well as a default XML config. Oddly regardless of my disk types for I/O of install media or virtual drive to install to, the graphics used with VNC display seems to be the cause of snail pace performance. QXL refuses to work(error might have been about my QEMU package not supporting it, host is Manjaro/Arch). Cirrus is the only reliable one for getting native expected performance, not sure why. I have been working with the Q35 chipset(and I think that might be necessary for GPU passthrough with OVMF?), perhaps this is the cause.

Driver

My host OS has resumed from a suspend, tsc as the clock source becomes unstable and the default clock source is changed to hpet, not sure what the default is for VMs created with virt-manager/libvirt, I know that hpet was disabled via XML config for my Windows VM initially which caused massive stuttering/lag when my host OS used that instead of tsc.

My host OS might have updated it's kernel and other packages since last boot, I suppose there is a chance that may be another cause that rebooting my system could correct.

None of the Manjaro(latest or some older iso's I have) seem to be able to boot their live media(either via sata or scsi(virtio) mounted iso, or USB disk). They get started and I see a bunch of lines in the terminal which if I'm not mistaken is progress/status of the boot process from systemd. It tends to get stuck on TLP or Plymouth, 30 mins+ waiting and no dice. I know I have had this working in VitualBox and with virt-manager on another machine in the past(minus passthrough, though even without the GPU attached it has the same problem.)

KDE Neon

I've tried an old iso of KDE Neon I had around, this booted in and I was able to install it to disk. However when trying to boot the installed OS from the disk it'd be ignored regardless of sata or scsi(virtio), I'd get dropped to UEFI/OVMF shell or if the livemedia was still enabled for boot it'd load into that.

I've tried KaOS and this actually works fine, it's just rather lacking in packages missing out on synergy and qemu-guest-agent which I'd really like to have going, can make do without synergy with USB redirection for my mouse/keyboard receiver(unplugging and replugging back into the port to return to guest). SPICE isn't an option right now as my host(Manjaro/Arch) doesn't provide it with qemu by default for some reason.

Antergos

Antergos installer seems buggy, gives me an unhelpful error number to report of none when trying to get a package list to download at the start of installation(after going through the setup wizard). This was with the minimal install iso(500ish MB).

ApricityOS(another Arch derivative) booted and installed fine, could boot OS from disk via the window VNC but when removing that and booting with only my GPU passed through and nvidia non-free drivers installed it gets stuck with the screen showing only Loading Linux linux.. Loading initial ramdisk ...

Logic
Fedora 25

Fedora booted/installed fine, on the nvidia GPU(live media) though while I can use the mouse it's not visible where the cursor is unless something like a button highlights on mouse over, the cursor visual is stuck on the top left.On installed drive boot with GPU passthrough it loaded slower(seems only fast with Cirrus). It finished booting but gave a full screen error on white bg and centered text 'Oh no! Something has gone wrong.'. Not sure if the driver install and update instructions for Fedora I got from here is the cause. I guess that rules out Fedora as well.

I have Ubuntu downloading, considering how Fedora is fairly VM friendly hopefully it works. If no luck with that, perhaps openSUSE..

EDIT: Just switched back to my Linux VM config that was similar to the Windows one, Fedora booted from the installed disk properly this time. I guess the NVIDIA workaround is required for Linux too? Perhaps it wouldn't boot because of that and nouveau being blacklisted. Neon boots on nvidia GPU too now as does apricity. Definitely seems like the boot problems were due to missing workaround. Manjaro still having trouble booting those install media for some reason.

84% Upvoted

Cirrus Logic Gd 5446

Posted by2 years ago
Archived

Having trouble getting Linux guests to work

I'm not sure why as I know I've been able to use virt-manager in the past for some of the distro's I'm trying, if anyone could perhaps help figure this out it'd be appreciated.

I have tried a similar XML config to my Windows VM tweaked for Linux, as well as a default XML config. Oddly regardless of my disk types for I/O of install media or virtual drive to install to, the graphics used with VNC display seems to be the cause of snail pace performance. QXL refuses to work(error might have been about my QEMU package not supporting it, host is Manjaro/Arch). Cirrus is the only reliable one for getting native expected performance, not sure why. I have been working with the Q35 chipset(and I think that might be necessary for GPU passthrough with OVMF?), perhaps this is the cause.

My host OS has resumed from a suspend, tsc as the clock source becomes unstable and the default clock source is changed to hpet, not sure what the default is for VMs created with virt-manager/libvirt, I know that hpet was disabled via XML config for my Windows VM initially which caused massive stuttering/lag when my host OS used that instead of tsc.

My host OS might have updated it's kernel and other packages since last boot, I suppose there is a chance that may be another cause that rebooting my system could correct.

None of the Manjaro(latest or some older iso's I have) seem to be able to boot their live media(either via sata or scsi(virtio) mounted iso, or USB disk). They get started and I see a bunch of lines in the terminal which if I'm not mistaken is progress/status of the boot process from systemd. It tends to get stuck on TLP or Plymouth, 30 mins+ waiting and no dice. I know I have had this working in VitualBox and with virt-manager on another machine in the past(minus passthrough, though even without the GPU attached it has the same problem.) Cs 1.6 zombie gun xp mod download.

KDE Neon

I've tried an old iso of KDE Neon I had around, this booted in and I was able to install it to disk. However when trying to boot the installed OS from the disk it'd be ignored regardless of sata or scsi(virtio), I'd get dropped to UEFI/OVMF shell or if the livemedia was still enabled for boot it'd load into that.

I've tried KaOS and this actually works fine, it's just rather lacking in packages missing out on synergy and qemu-guest-agent which I'd really like to have going, can make do without synergy with USB redirection for my mouse/keyboard receiver(unplugging and replugging back into the port to return to guest). SPICE isn't an option right now as my host(Manjaro/Arch) doesn't provide it with qemu by default for some reason.

Antergos

Antergos installer seems buggy, gives me an unhelpful error number to report of none when trying to get a package list to download at the start of installation(after going through the setup wizard). This was with the minimal install iso(500ish MB).

ApricityOS(another Arch derivative) booted and installed fine, could boot OS from disk via the window VNC but when removing that and booting with only my GPU passed through and nvidia non-free drivers installed it gets stuck with the screen showing only Loading Linux linux.. Loading initial ramdisk ...

Fedora 25

Cirrus Logic Gd 5446 Driver Linux Version

Fedora booted/installed fine, on the nvidia GPU(live media) though while I can use the mouse it's not visible where the cursor is unless something like a button highlights on mouse over, the cursor visual is stuck on the top left.On installed drive boot with GPU passthrough it loaded slower(seems only fast with Cirrus). It finished booting but gave a full screen error on white bg and centered text 'Oh no! Something has gone wrong.'. Not sure if the driver install and update instructions for Fedora I got from here is the cause. I guess that rules out Fedora as well.

Cirrus Logic Audio Driver

I have Ubuntu downloading, considering how Fedora is fairly VM friendly hopefully it works. If no luck with that, perhaps openSUSE..

EDIT: Just switched back to my Linux VM config that was similar to the Windows one, Fedora booted from the installed disk properly this time. I guess the NVIDIA workaround is required for Linux too? Perhaps it wouldn't boot because of that and nouveau being blacklisted. Neon boots on nvidia GPU too now as does apricity. Definitely seems like the boot problems were due to missing workaround. Manjaro still having trouble booting those install media for some reason.

84% Upvoted