Just because I wouldn't use Arch on my production servers doesn't mean it has no value in a VM environment. I run Arch on my personal servers because it's what I'm most familiar with and I don't have anything mission critical running. It's also easier and cleaner to play around with latest versions of things on Arch.
Are you dual booting with Windows? Do you have Windows configured to use UTC hardware time? If not, switching between Windows and Arch will cause them to fight over who gets control of the hardware clock and it will appear to keep jumping timezones.
Move all the photons. In unoccupied cells, they leave a little bit of their color in a light buffer.
This is actually much more akin to volumetric ray marching in 3D than photon mapping. That's what's giving you the god rays, which you wouldn't get with straight photon mapping.
When you say the GPU version is realtime... what kind of realtime? Framerate? Hardware?
What kind of router do you have? Many consumer routers have pretty small connection state tables, which work fine if you're just browsing the tubes, but torrenting can fill up the tables really fast with a ton of open connections. When that happens nothing can open a new connection until a slot in the table frees up, so web browsing and anything else that doesn't maintain a persistent connection has serious problems.
We ran into that situation a couple years ago when I lived in a house with 5 engineering students. We ended up replacing our Linksys with an ancient PC running Linux to do the routing and it worked wonders.
Desktop environments are basically what you traditionally think of as the graphical interface to your computer, along with all the associated programs that you think of as "part of the OS". Things like your graphical file manager, calculator, basic text editor... things like that.
A window manager is subset of a desktop environment, specifically the part which handles drawing multiple windows on the screen at once, moving them around, keeping them organized, etc.
I do most of my work in, and am fairly comfortable with, the command line. Because of that I don't actually run a desktop environment, just a window manager. Unless you are fairly comfortable with the command line, though, you might want a full desktop environment. As en4bz mentioned, Xfce is a good lightweight choice for something like the Pi.
As far as Pacman goes, this wiki article may be helpful to you coming from Ubuntu/Mint until you get comfortable with Pacman's syntax.
Oh, also... I don't think you need the -cu options to fdisk that the wiki article uses. The version that ships with Arch ARM uses those by default I believe.
So, I should clarify. Main memory and the memory of any peripherals connected to the system don't inherently share the same address space unless the OS or a driver intentionally maps a chunk their address space into main memory's address space.
Speaking specifically for video cards, the OS or video driver may indeed map a chunk of VRAM into the system's address space, but it doesn't inherently happen. It's something that the OS or a driver has to explicitly do.
Take a look at CUDA or OpenCL programming, where you don't have a display driver between you and the graphics hardware. You have to explicitly allocate memory on the card, hang on to these pointers into device memory (and be very careful not to dereference them on the host, because the address spaces are different) and explicitly memcpy between the host and the device. It was only very recently that NVIDIA added driver support for CUDA to explicitly memory map device memory into main memory's address space, their so-called "unified addressing".
My point is that it doesn't inherently happen on its own. If it does occur, it's because the driver or OS explicitly set up the memory map between the two address spaces, not because they are all inherently part of the same address space. The answer to this question could vary based on what the OS or driver stack is doing.
LÖVE is an awesome framework for building 2D games. I've used it for multiple game jams and have been very surprised at how easy and quick it is to get great looking stuff going.
I generally agree, but if you've done any game programming before it's going to be immediately obvious what t and dt are, just like if you've done any general programming before it's immediately obvious what i is in a for loop.
It might not happen frequently with vectors but the larger your data type is the more likely it is to happen. Consider a multiplying two 4x4 matrices of 16 floats each. Depending on how well you make use of complex or vector instructions there are still a lot of non-atomic machine ops that need to happen and data that needs to be touched for the multiply to be considered "complete".
Worst case scenario, this could cause incredibly weird bugs or crashes that would be near impossible to diagnose. What if in the middle of updating your matrix in the sim thread, the renderer yanks the matrix and then goes to render something with it? That matrix isn't finished being updated, so it could it could be singular (i.e. non-invertible). Yikes!
I use Arch on Linode. Works great!
I have been using Krita with my Cintiq. It's a really fantastic piece of software.
Same thing happened to me. Fixed the the same way others have mentioned. Add this to your ~/.Xresources:
No idea what caused it.
I don't fault DigitalOcean at all. They have to do what's best for their bottom line.
It does mean I'm staying on Linode, though, where I can have Arch VMs (among other reasons).
Just because I wouldn't use Arch on my production servers doesn't mean it has no value in a VM environment. I run Arch on my personal servers because it's what I'm most familiar with and I don't have anything mission critical running. It's also easier and cleaner to play around with latest versions of things on Arch.
This is why they're salaried. So the company doesn't have to pay overtime.
Are you dual booting with Windows? Do you have Windows configured to use UTC hardware time? If not, switching between Windows and Arch will cause them to fight over who gets control of the hardware clock and it will appear to keep jumping timezones.
https://wiki.archlinux.org/index.php/Timezone#UTC_in_Windows
No worries! There are elements of photon mapping in there as well. :)
This is actually much more akin to volumetric ray marching in 3D than photon mapping. That's what's giving you the god rays, which you wouldn't get with straight photon mapping.
When you say the GPU version is realtime... what kind of realtime? Framerate? Hardware?
Neat effect, I like it!
Make sure to grab the errata for that book. There are a lot of errors.
If this kind of stuff interests you, Physically Based Rendering is a must-read.
What kind of router do you have? Many consumer routers have pretty small connection state tables, which work fine if you're just browsing the tubes, but torrenting can fill up the tables really fast with a ton of open connections. When that happens nothing can open a new connection until a slot in the table frees up, so web browsing and anything else that doesn't maintain a persistent connection has serious problems.
We ran into that situation a couple years ago when I lived in a house with 5 engineering students. We ended up replacing our Linksys with an ancient PC running Linux to do the routing and it worked wonders.
No problem!
Desktop environments are basically what you traditionally think of as the graphical interface to your computer, along with all the associated programs that you think of as "part of the OS". Things like your graphical file manager, calculator, basic text editor... things like that.
A window manager is subset of a desktop environment, specifically the part which handles drawing multiple windows on the screen at once, moving them around, keeping them organized, etc.
I do most of my work in, and am fairly comfortable with, the command line. Because of that I don't actually run a desktop environment, just a window manager. Unless you are fairly comfortable with the command line, though, you might want a full desktop environment. As en4bz mentioned, Xfce is a good lightweight choice for something like the Pi.
As far as Pacman goes, this wiki article may be helpful to you coming from Ubuntu/Mint until you get comfortable with Pacman's syntax.
Oh, also... I don't think you need the
-cuoptions tofdiskthat the wiki article uses. The version that ships with Arch ARM uses those by default I believe.So, I should clarify. Main memory and the memory of any peripherals connected to the system don't inherently share the same address space unless the OS or a driver intentionally maps a chunk their address space into main memory's address space.
Speaking specifically for video cards, the OS or video driver may indeed map a chunk of VRAM into the system's address space, but it doesn't inherently happen. It's something that the OS or a driver has to explicitly do.
Take a look at CUDA or OpenCL programming, where you don't have a display driver between you and the graphics hardware. You have to explicitly allocate memory on the card, hang on to these pointers into device memory (and be very careful not to dereference them on the host, because the address spaces are different) and explicitly memcpy between the host and the device. It was only very recently that NVIDIA added driver support for CUDA to explicitly memory map device memory into main memory's address space, their so-called "unified addressing".
My point is that it doesn't inherently happen on its own. If it does occur, it's because the driver or OS explicitly set up the memory map between the two address spaces, not because they are all inherently part of the same address space. The answer to this question could vary based on what the OS or driver stack is doing.
I didn't split mine, I just grew the root partition to take up the rest of the SD card. You need to leave the boot partition where it is. Here's some more info:
http://elinux.org/RPi_Resize_Flash_Partitions#Manually_resizing_the_SD_card_on_Raspberry_Pi
It doesn't...
If you used an SD card larger than 2 GB you may also want to resize the partitions and file system to take advantage of the extra space.
Been using Arch for my home server for about a year now. Everything has worked great.
Used for:
LÖVE is an awesome framework for building 2D games. I've used it for multiple game jams and have been very surprised at how easy and quick it is to get great looking stuff going.
Great tips, thanks.
ROAM
I generally agree, but if you've done any game programming before it's going to be immediately obvious what
tanddtare, just like if you've done any general programming before it's immediately obvious whatiis in a for loop.It might not happen frequently with vectors but the larger your data type is the more likely it is to happen. Consider a multiplying two 4x4 matrices of 16 floats each. Depending on how well you make use of complex or vector instructions there are still a lot of non-atomic machine ops that need to happen and data that needs to be touched for the multiply to be considered "complete".
Worst case scenario, this could cause incredibly weird bugs or crashes that would be near impossible to diagnose. What if in the middle of updating your matrix in the sim thread, the renderer yanks the matrix and then goes to render something with it? That matrix isn't finished being updated, so it could it could be singular (i.e. non-invertible). Yikes!