News for hackers. Stuff that matters.
Re:Intel Announces Retirement of CEO Pat Gelsinger by vinyl7 on Monday December 02, 2024 @03:35PM (#42300123)
Composiors are generally switching to being gpu accelerated, not to mention apps will do their own gpu accelerated UIs just because the OS ui systems are all junk at the moment
Re:Intel Announces Retirement of CEO Pat Gelsinger by sitkack on Monday December 02, 2024 @04:00PM (#42300327)
We are at the perfect moment to re-embrace software rasterizers because CPU manufacturers are starting to add HBM and v-cache.

An 8K 32bpp framebuffer is ... omg 126MB for a single copy. I was going to argue that a software rasterizer running on vcache would be doable, but not for 8k.

For 4k, with 32MB per display buffer, it could be possible but heavy compositing will require going out to main memory. 1440p would be even better at only 15MB per display buffer.

For 1440p at 144Hz and 2TB/s (vcache max), best case is an overdraw of 984 frames/frame

Re:Intel Announces Retirement of CEO Pat Gelsinger by PaulHoule on Monday December 02, 2024 @04:21PM (#42300540)
Does 4k matter?

I was doing a11y work for an application a few months back and got interested into the question of desktop screen sizes. I see all these ads for 4k and bigger monitors but they don't show up here

https://gs.statcounter.com/screen-resolution-stats/desktop/w...

And on the steam hardware survey I am seeing a little more than 5% with a big screen.

Myself I am swimming in old monitors and TV to the point where I am going to start putting Pepper's ghost machines in my windows. I think I want to buy a new TV, but I get a free old TV. I pick up monitors that are in the hallway and people are tripping on them and I take them home. Hypothetically I want a state-of-the-art monitor with HDR and wide gamut and all that but the way things are going I might never buy a TV or monitor again.

Re:Intel Announces Retirement of CEO Pat Gelsinger by Rychard on Monday December 02, 2024 @06:29PM (#42301504)
All the browsers on my machine report my resolution as 1080p despite using 4k. I assume this is because I run at 200% scaling (I believe this is relatively common among anyone using a 4k resolution)

If the above-linked website uses data reported by the browser, I wonder how this scenario might be taken into consideration (or even if such a thing is possible)

Re:Intel Announces Retirement of CEO Pat Gelsinger by adzm on Monday December 02, 2024 @11:50PM (#42303156)
A pixel is defined as 1/96th of an inch in the web world so it is dependent on your dpi/scaling. There is a window.devicePixelRatio that JavaScript can use to get actual pixels.
Re:Intel Announces Retirement of CEO Pat Gelsinger by foobarian on Monday December 02, 2024 @07:40PM (#42301947)
Remember the days when you would be in danger of your apartment being burglarized and thieves would take your TV or receiver or CD player etc.? Nowadays that's called junk removal and you pay for it! How times have changed...
Re:Intel Announces Retirement of CEO Pat Gelsinger by selimthegrim on Monday December 02, 2024 @05:40PM (#42301123)
Curious to hear more about the a11y work.
Re:Intel Announces Retirement of CEO Pat Gelsinger by PaulHoule on Monday December 02, 2024 @08:57PM (#42302307)
Run of the mill.

A complex desktop web form with several pages, lots of combo boxes, repeating fields, etc. I cleaned up the WCAG AA issues and even the S, but the AAA requirement for click targets was out of scope but had me thinking that I wanted to make labels (say on a dropdown menu bar) as big as I reasonably could and that in turn got me thinking about how much space I had to work with on different resolution screens so I looked up those stats and tried to see what would fit in which constraints.

Re:Intel Announces Retirement of CEO Pat Gelsinger by majewsky on Tuesday December 03, 2024 @11:30AM (#42307993)
> Does 4k matter?

The PC I'm typing this on has two 27in 4k screens. I'm sitting so that I look at them from about 75cm away (that's 2.5 feet in weird units).

I archive most of my video files in 720p, because I genuinely don't see that big of a difference between even 720p and 1080p. It is definitely visible, but usually, it does not add much to the experience, considering that most videos today are produced to be watchable on smartphones and tablets just as much as cinema screens or huge TVs. I only make an exception here for "cinematic" content that was intended for the very big screen. That does not necessarily mean movies, but also certain YouTube videos, like "Timelapse of the Future": https://youtube.com/watch?v=uD4izuDMUQA - This one hits differently for me in 4K vs. just 1080p. Having to watch this in just 720p would be tragic, because its cinematography relies on 4K's ability to resolve very fine lines.

So why would I make a point to have both my screens be 4K? Because where else do you look at fine lines a lot? You're looking at it right now: Text. For any occupation that requires reading a lot of text (like programming!), 4K absolutely makes a difference. Even if I don't decrease the font size to get more text on screen at once, just having the outlines of the glyphs be sharper reduces eye strain in my experience.

Re:Intel Announces Retirement of CEO Pat Gelsinger by UltraSane on Tuesday December 03, 2024 @05:23PM (#42312261)
A unit based on the average size of the human foot is not "weird".
Re:Intel Announces Retirement of CEO Pat Gelsinger by stolsvik on Tuesday December 03, 2024 @06:52PM (#42313037)
Correct. It is insane. Bonkers. Absurd. How the hell can you live with that-stupid.
Re:Intel Announces Retirement of CEO Pat Gelsinger by UltraSane on Tuesday December 03, 2024 @08:51PM (#42313768)
No. It is in fact completely normal and has been repeated many times in human history. A unit based on an arbitrary fraction of the distance from the north pole to the equator is quite a bit more odd when you think about it.
Re:Intel Announces Retirement of CEO Pat Gelsinger by atq2119 on Monday December 02, 2024 @03:56PM (#42300293)
And by "are generally switching" you're really trying to say "generally switched a decade ago".
Re:Intel Announces Retirement of CEO Pat Gelsinger by PaulHoule on Monday December 02, 2024 @04:22PM (#42300543)
'cept for Linux.
Re:Intel Announces Retirement of CEO Pat Gelsinger by amaranth on Monday December 02, 2024 @04:56PM (#42300846)
GNOME 3 had a hardware accelerated compositor on release in 2011.
Re:Intel Announces Retirement of CEO Pat Gelsinger by Lammy on Monday December 02, 2024 @07:03PM (#42301743)
Ubuntu came with Compiz by default in 2007: https://arstechnica.com/information-technology/2007/11/ubunt...

“Ubuntu 7.10 is the first version of Ubuntu that ships with Compiz Fusion enabled by default on supported hardware. Compiz Fusion, which combines Compiz with certain components developed by the Beryl community, is a compositing window manager that adds a wide range of visual effects to Ubuntu's desktop environment. The default settings for Compiz enable basic effects—like window shadows and fading menus—that are subtle and unobtrusive. For more elaborate Compiz features, like wobbling windows, users can select the Extra option on the Visual Effects tab of the Appearance Preferences dialog.”

Re:Intel Announces Retirement of CEO Pat Gelsinger by johnisgood on Tuesday December 03, 2024 @04:43AM (#42304489)
I remember Beryl, those were fun times.
Re:Intel Announces Retirement of CEO Pat Gelsinger by BoxOfRain on Tuesday December 03, 2024 @06:52AM (#42305193)
Different desktop but KDE still has the wobbly windows as an option, I enabled them out of nostalgia recently.
Re:Intel Announces Retirement of CEO Pat Gelsinger by amaranth on Tuesday December 03, 2024 @07:49AM (#42305565)
Yeah, I worked on that but I didn't think that would count since it was a distro, not a desktop environment. In that case Novell shipped compiz in 2006 so even earlier.
Re:Intel Announces Retirement of CEO Pat Gelsinger by 7e on Monday December 02, 2024 @07:11PM (#42301789)
macOS had one in 2000. Windows shortly thereafter.
Re:Intel Announces Retirement of CEO Pat Gelsinger by kijiki on Monday December 02, 2024 @09:39PM (#42302615)
What?

MacOS in 2000 was still old MacOS, with no compositing at all. The NeXT derived version of MacOS was still in beta, and I tried it back then, it was very rough. Even once OSX shipped in 2001, it was still software composited. Quartz Extreme implemented GPU compositing in 10.2, which shipped in 2002.

Windows finally got a composited desktop in Vista, released in 2007. It was GPU accelerated from day one.