ctl+alt+F does not leave full screen

Bug #483251 reported by Jason E
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Unassigned
qemu-kvm (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: qemu-kvm

'lsb_release -rd' reports
9.10

'apt-cache policy qemu-kvm' reports
qemu-kvm:
  Installed: 0.11.0-0ubuntu6.3
  Candidate: 0.11.0-0ubuntu6.3
  Version table:
 *** 0.11.0-0ubuntu6.3 0
        500 http://us.archive.ubuntu.com karmic-updates/main Packages
        100 /var/lib/dpkg/status
     0.11.0-0ubuntu6 0
        500 http://us.archive.ubuntu.com karmic/main Packages

the host machine is a dell latitude d630 running the nvidia module.
the guest machine is a slackware 11 OS running kernel 2.6.26.3

qemu -is started via script './qemu-js wlan0' and script is:

#!/bin/bash
# Starts up QEmu with various options

# Variables
#SOUND="-soundhw es1370"
#MEMORY="-m 512"
MEMORY="-m 384"
TIME="-localtime"
IMGPATH="/opt/storage"
IMG="$IMGPATH/js_vm.img"
#HDC="-hdc /dev/sr0"
HDC=""
if [[ -z "$1" || "$1" == *help* || "$1" == "/h" || "$1" == "-h" ]];
then
echo Start-up js vm$'\n'Usage:$'\n'qemu-js NIC$'\n'Where NIC is the NIC that has current internet$'\n'IE: wlan0 eth0;
exit 0
fi

sudo iptables -t nat -A POSTROUTING -o $1 -j MASQUERADE

#previous net setting before karmic.
#NET="-net nic -net tap"
NET="-net nic,model=ne2k_pci -net tap,script=./qemu-ifup2,downscript=./qemu-ifdown2"

# QEmu start
#sudo qemu -no-kqemu ${TIME} ${MEMORY} ${IMG} ${NET} ${HDC}&
sudo qemu ${TIME} ${MEMORY} ${IMG} ${NET} ${HDC}&
sleep 3
sudo ifconfig tap0 10.254.254.1 netmask 255.255.255.0 up
sudo /usr/sbin/dnsmasq --interface=tap0 -2=tap0 --except-interface=lo --bind-interfaces --user=nobody --domain=themanjay.local --pid-file=/var/run/vmnet_dnsmasq.pid

exit 0

./qemu-ifup2 contains

#!/bin/bash
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
exit 0

once virtual machine is up and running hitting the maximize button on the title bar of qemu maximizes the window.
hitting ctl+alt+F makes window pixel per pixel but not full screen (smaller) and leaves the last scaled image in the background.
hitting the maximize button on the title bar again sends it to full screen.
hitting ctl+alt+F does not return to windowed mode.

Mathias Gug (mathiaz)
Changed in qemu-kvm (Ubuntu):
importance: Undecided → Low
summary: - ctl+alt+F does not leave full screen in kubuntu karmic
+ ctl+alt+F does not leave full screen
Changed in qemu-kvm (Ubuntu):
status: New → Confirmed
importance: Low → Medium
Changed in qemu:
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

This appears to be fixed in qemu-kvm 0.12.3 for me.

I'm able to ctrl-alt-F over and over, ad nauseum, in and out of full screen mode.

:-Dustin

Changed in qemu-kvm (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Marking the Ubuntu task fix-released. Please re-open that task if you can reproduce this on Lucid.

I'm leaving the upstream task as 'confirmed' because Ingo Molnar reported this problem on the qemu mailing list just a few days ago. Someone should check this against upstream qemu and update that status accordingly.

Revision history for this message
vansteen (gvsteen) wrote :

I had to "dpkg -i" some lucid packages, after manually removing some karmic stuff. After some trial-and-error this seems to work. It would have been handier though if the Karmic packages were updated automatically. I do not know whether this is possible.

Revision history for this message
Anthony Liguori (anthony-codemonkey) wrote :

We use SDL fullscreen mode which currently implements the behavior you're describing.

Changed in qemu:
status: Confirmed → Invalid
Revision history for this message
6Kirk Bates (kirk-bates) wrote :

For me - the issue turned out to be related to an NVIDIA BIOS setting. I travel a fair bit so care about battery life and as might be expected when travelling only have the laptop screen as the monitor: so I selected Integrated Graphics. This causes the bad behaviour, in as much that, when I change the BIOS setting to Discrete Graphics - which is faster and I suspect my more desk bound colleagues would choose out of choice - it works just fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.