Skip to content

u/matrixdan

In this archive from Jul 2016 to Mar 2018

0
posts
20
comments
0
media
27
score

For me it's much easier than developing on windows for an example. As c++ coder it's more straight and simplier for me ro install library or missing tool system-wide with package manager rather then downloading .exe/.dmg on windows/macos. Also I like the set of tools: grep, wc, cat... On windows they are missing and the terminal is pure crap (hate it), on macos I miss some options that are not described in posix man and only present in linux: sort -h for an example, there is no -h flag on mac os x. When I'm trying to configure network on mac os x I miss some tools. I think it's harder to debug some app that uses network than on linux. When I'm trying to configure network on windows... Well, this is impossible.

2 points

Does anybody knows bags that can be used as inner bags for camera inside a backpack for example? So I have a backpack for hiking/backpacking with all that camping stuff like saws, pots etc. and I want lightweight bag that I can put in the backpack and not worry about my camera gear while I'm on the route.

1 points

I Have tmaron 24-70 with my canon 5d. I feel that I have some problems with the lens but I'm too lazy to bring my tripod with me and get some test images. So I'm not quite sure if this a problem of shaky hands, image stabilizer or an optics itself. It can be a focus issue too. The issue is only noticeable on the infinity on the wide angle. So I'm not quite happy with my lens. Last photos I shoot was taken from a tripod with image stabilizer off and on a really small apertures like f/11. The quality is ok in that conditions. I have tried to figure out which lens to buy instead of a tamron. Canon 24-70 f/2.8 seems to have not so good image quality as tamron. Canon 24-70 f/2.8 mkII cost to much. Maybe 24-70 f/4 is is an option. If you will to buy a tamron - pay attention to image quality and try several copies, if you get good one - the image quality should be awesome. Maybe it's good choice to wait for any news from a new tamron 24-70 g2 owners.

1 points

Nope I don't. Maybe for some of the usecases...

Anyway, I starting my vm with this script and gpu passthrough works just fine with that gpu card. I've tried zotac nvidia gt 430, but didn't succeed. After first use of that gpu (no matter if it was fbdev, xorg or win7 from vm) I was unable to use it in vm. Maybe ovmf would help, I don't know. Here is the script

set -x

KVM_DIR=/var/lib/libvirt
IMAGE=win7.qcow2
CD=Windows7Ultimate.iso
NAME=win7
PORT=5914
RAM=5000
IFACE=win7
MONITOR=unix:$(pwd)/win7-mon,server,nowait

qemu-system-x86_64 -enable-kvm -m $RAM -cpu host -smp 7,cores=7 \
    -boot d -cdrom $KVM_DIR/boot/$CD -drive file=/dev/silver/virt-win,if=virtio,format=raw,cache=writeback \
    -drive file=/dev/silver/virt-photo,if=virtio,format=raw,cache=writeback \ 
    -name $NAME -nodefaults -no-user-config -chardev pty,id=charserial0 \
    -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 \ 
    -device vfio-pci,host=05:00.0,id=hostdev0,bus=pci.0,addr=0x2,multifunction=on,x-vga=on,romfile=/home/m0x35/Downloads/Palit.HD4650.1024.080923.rom \
    -usbdevice host:$(./get_kbd.sh) -usbdevice host:$(./get_mouse.sh) -vga none -monitor $MONITOR \
    -netdev tap,id=$IFACE,ifname=$IFACE -device virtio-net-pci,netdev=$IFACE;

pci device (in this case video card) is bound to vfio-pci kernel module.

1 points

Hm. And why do you need an ovmf?

In my case I've just

  1. Installed win7 (booted with seabios) without passing through any device and without any virtio devices
  2. Installed virtio drivers
  3. Booted with passthrough device
  4. Installed driver for device
  5. ???
  6. Profit.

Also my win7 image also can't be booted with uefi. There are special win7 images for booting with uefi.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.