Recommended Posts

Valve cranks up Linux gaming, makes it faster than Windows

Valve's distaste for Windows 8 has led the company to take on an increasing interest in Linux, and the new Valve Linux blog shows that, with some work, the Source Engine actually runs faster on it than it does on Windows. The company used a testbed with an Intel i7 3930k, Nvidia GeForce GTX 680, and 32GB of RAM to pit Left 4 Dead 2 on Windows 7 against Ubuntu 12, and the results are rather interesting.

At first, Valve's Linux port of Left 4 Dead 2 ran at only 6 FPS on the i7 machine, but after tweaking the game to make effective use of the efficient characteristics of the Linux kernel and OpenGL, the Valve Linux team was able to eke out a much higher 315 FPS. Using the same machine running Windows 7 and Direct3D, the same game ran at 270.6 FPS, or roughly 14 percent slower.

After optimizing the Source Engine for the Linux platform, Valve wondered why OpenGL was outperforming Direct3D at a technical level. Their research found that, on the same hardware, there are "a few additional microseconds [of] overhead per batch in Direct3D which does not affect OpenGL," indicating that Direct3D may not be as efficient as Microsoft would like developers to believe. There are still challenges ahead for the Valve Linux team, however, as the state of Linux graphics card drivers is still a tumultuous affair. The team has yet to work with AMD and Nvidia, but collaboration with Intel's engineers took place just last month.

Source: The Verge

Even though gaming on linux would be nice, not every company feels the same way about linux developing just because there isn't moolah$$ to be made there, compared to windows.

Also, stupid question but hey.. If linux is "open" wouldn't cracking/pirating be easier?

Also, stupid question but hey.. If linux is "open" wouldn't cracking/pirating be easier?

not really... you CAN run non-opensource programs in linux. There are plenty and games are among them. Piracy in Windows is as easy as in Linux, it comes with the demand.

  • Like 1

This would be more interesting if they did this with a modern engine. But since this is valve we'll only get to see this "it's faster than windows" thing with the hideously outdated source engine.

Well, the more support Linux gets, the more support my Macs get. I'll take OpenGL games over DirectX any day! (see Quake 3).

This would be more interesting if they did this with a modern engine. But since this is valve we'll only get to see this "it's faster than windows" thing with the hideously outdated source engine.

What exactly is wrong with the Source engine out of curiosity? it still looks and performs great!

  • Like 2

If companies jump on board with this like Valve is hoping and port their games over, could OS X and Linux really be the next gaming platform? I'll switch when all my games are supported, and Windows 7 is at end of life.

No, there are people who will NEVER use anything but Windows, just look at any thread involving Linux or OS X, it always devolves to Windows fanboys bashing everything and anything not Windows, performance enhancements like mentioned here are of no concern to them.

Even though gaming on linux would be nice, not every company feels the same way about linux developing just because there isn't moolah$$ to be made there, compared to windows.

Also, stupid question but hey.. If linux is "open" wouldn't cracking/pirating be easier?

1. Companies should be looking linux as an opportunity to make money in the future. Sure windows has marketshare now, and is obviously the best for immediate profits, but linux has a lot of potential to make them money in the future. If more companies do what valve is doing, linux has a very real chance to take off. Its the only way to get past this chicken and egg scenerio of "We don't support linux because it doesn't have marketshare" and "Linux has low marketshare because companies don't support it"

2. I doubt linux would have any effect on the prevalence of piracy, windows games area already cracked day 1, and drm has proven to be ineffective in the first place. The real way to combat piracy is to provide a convenient service to your customers and make high quality games. If you don't treat customers like criminals, they will be more likely to buy the games.

Well, the more support Linux gets, the more support my Macs get. I'll take OpenGL games over DirectX any day! (see Quake 3).

What exactly is wrong with the Source engine out of curiosity? it still looks and performs great!

You aren't forced to buy new games because it's incompatible with older versions, while Source is constantly updated without the forced upgrade or forcing you to purchase your games all over again

source engine is pretty amazing... even amazing for the year that was created. it still looks pretty good and they can optimize it if they want to... but anyway, linux is capable of running unreal engine games for example, that's a most up-to-date base for comparing. osx is also capable of running such games and afterall, osx and linux are both derivated from the same thing, so they're more equal than it seems

I'd like to see what "thenetavenger" has to say about this. He always claims on the front pages that Direct3D is superior to OpenGL. I guess this goes to show he couldn't be more wrong.

Linux and OpenGL are more than capable at competing against Microsoft's Direct3D. In fact, from every test I've seen, Doom3 also runs faster using OpenGL too. Not only that, but developers can target a much broader set of platforms with OpenGL (Linux, OS X, Android, iOS, and more).

  • Like 1

I like some actual evidence of this. as all my experience shows that the linux kernel is not more efficient than the NT kernel(the NT kernel is newer tech with some stuff that the linux kernel should have had but doesn't). and OpenGL I've never on any system see perform better than D3D. I've seen it perform more stable with illegal meshes(basically handling more error before crashing and burning) but not outperforming.

Technically using Linux doesn't make it faster, OpenGL does.

It is good Valve are pushing Steam to Linux but i don't see many developers porting their games over to Linux, unless it is easy and cost effective for them.

It's Linux and the Linux OpenGL implementation that is faster.

Technically using Linux doesn't make it faster, OpenGL does.

It is good Valve are pushing Steam to Linux but i don't see many developers porting their games over to Linux, unless it is easy and cost effective for them.

Except the blog post specifically mentions that the Linux version ran faster than the Windows OpenGL version. They then improved the Windows OpenGL code and sped that up as well, but it's still not quite as fast as Linux .

After this work, Left 4 Dead 2 is running at 315 FPS on Linux. That the Linux version runs faster than the Windows version (270.6) seems a little counter-intuitive, given the greater amount of time we have spent on the Windows version. However, it does speak to the underlying efficiency of the kernel and OpenGL. Interestingly, in the process of working with hardware vendors we also sped up the OpenGL implementation on Windows. Left 4 Dead 2 is now running at 303.4 FPS with that configuration

Is the visual quality identical?

I have a sneaky suspicion that for more advanced engines, like Frostbite 2.0, D3D will win. I am all for linux gaming, but right now Windows dominates that.

it's not easy to tell.. i'm pretty sure that the game studio can "choose" in which API the game will be smoother.. depends on the work for each one upon the game dev...

In general, Direct3D is designed to virtualize 3D hardware interfaces. Direct3D frees the game programmer from accommodating the graphics hardware. OpenGL, on the other hand, is designed to be a 3D hardware-accelerated rendering system that may be emulated in software. These two APIs are fundamentally designed under two separate modes of thought.

As such, there are functional differences in how the two APIs work. Direct3D expects the application to manage hardware resources; OpenGL makes the implementation do it. This tradeoff for OpenGL decreases difficulty in developing for the API, while at the same time increasing the complexity of creating an implementation (or driver) that performs well. With Direct3D, the developer must manage hardware resources independently; however, the implementation is simpler, and developers have the flexibility to allocate resources in the most efficient way possible for their application.

Until about 2005, another functional difference between the APIs was the way they handled rendering to textures. The Direct3D method (SetRenderTarget()) is convenient, while prior versions of OpenGL required manipulating pixel buffers (P-buffers). This was cumbersome and risky: if the programmer's codepath was different from that anticipated by the driver maker, the code would have fallen back to software rendering, causing a substantial performance drop. However, widespread support for the "frame buffer objects" extension, which provided an OpenGL equivalent of the Direct3D method, successfully addressed this shortcoming, and the "render target" feature of OpenGL brought OpenGL up to par with Direct3D in this respect.

Outside of a few minor functional differences which have mostly been addressed over the years, the two APIs provide nearly the same level of function. Hardware and software makers generally respond rapidly to changes in DirectX, e.g. pixel processor and shader requirements in DirectX 9 to stream processors in DirectX 10, while new features in OpenGL are mainly implemented first by vendors and afterward retroactively applied to the standard.

http://en.wikipedia.org/wiki/Comparison_of_OpenGL_and_Direct3D

One gripe about OpenGL I have is the texture quality in games, they always seem to be more smudgy and unrealistic compared to its DirectX counterpart. Anyone remember the Rage megatexture fiasco. Actually everything from ID software after quake 3 looks horrid.

Well, the more support Linux gets, the more support my Macs get. I'll take OpenGL games over DirectX any day! (see Quake 3).

What exactly is wrong with the Source engine out of curiosity? it still looks and performs great!

Of course it performs great. It's something like 8 years old and relatively simplistic on the visuals front(from what i've seen) compared to games of other, more modern engines. It'd be kind of hard for it not to perform well on everything including your toaster.

Is the visual quality identical?

I have a sneaky suspicion that for more advanced engines, like Frostbite 2.0, D3D will win. I am all for linux gaming, but right now Windows dominates that.

OpenGL isn't any less powerful than D3D, its just that D3D is easier to develop for.

One gripe about OpenGL I have is the texture quality in games, they always seem to be more smudgy and unrealistic compared to its DirectX counterpart. Anyone remember the Rage megatexture fiasco. Actually everything from ID software after quake 3 looks horrid.

That's just because ID has been a joke lately, not because of opengl :rolleyes:

If companies jump on board with this like Valve is hoping and port their games over, could OS X and Linux really be the next gaming platform? I'll switch when all my games are supported, and Windows 7 is at end of life.

I don't think OSX and Linux will become the "next" gaming OSes, I just think that PC gaming will shift from Windows only to true multi platform (which is good for everyone...except MS)

One gripe about OpenGL I have is the texture quality in games, they always seem to be more smudgy and unrealistic compared to its DirectX counterpart. Anyone remember the Rage megatexture fiasco. Actually everything from ID software after quake 3 looks horrid.

If large companies like Valve get behind OpenGL, development will speed up and OpenGL will become more competitive with DirectX
This topic is now closed to further replies.
  • Posts

    • I work for a video production company in Australia. The camera operators shoot footage and then pass the SD card over to the editors. Much easier than handing over the entire camera. Plus, on a busy day you can hand off the SD card and then pop another in for the next shoot. Or, you might have used multiple SD cards because you need the extra space for a long shoot. I also use USB cables and wifi for transferring footage, but in many cases an SD card reader is the easiest method.
    • Microsoft Edge 149.0.4022.52 by Razvan Serea Microsoft Edge is a super fast and secure web browser from Microsoft. It works on almost any device, including PCs, iPhones and Androids. It keeps you safe online, protects your privacy, and lets you browse the web quickly. You can even use it on all your devices and keep your browsing history and favorites synced up. Built on the same technology as Chrome, Microsoft Edge has additional built-in features like Startup boost and Sleeping tabs, which boost your browsing experience with world class performance and speed that are optimized to work best with Windows. Microsoft Edge security and privacy features such as Microsoft Defender SmartScreen, Password Monitor, InPrivate search, and Kids Mode help keep you and your loved ones protected and secure online. Microsoft Edge has features to keep both you and your family protected. Enable content filters and access activity reports with your Microsoft Family Safety account and experience a kid-friendly web with Kids Mode. The new Microsoft Edge is now compatible with your favorite extensions, so it’s easy to personalize your browsing experience. Microsoft Edge 149.0.4022.52 changelog: Migration to improved V2 architecture for Workspaces. Workspaces, introduced in Edge in 2022, allows users to create durable sets of tabs that can be saved and shared with others. In order to improve reliability and performance of this feature, the following changes are being made: Migrating data for saved Workspaces from OneDrive/SharePoint to Edge Sync service Removing the collaboration/share functionality of this feature For organizations who have disabled Sync through policy, the existing v1 Workspace data will still be migrated to the new architecture. New v2 Workspaces created after migration won't sync across devices and will remain local to each device. This update occurs on a progressive rollout beginning in Edge Stable v145 and will continue rolling out in Edge v149. For more information, see Getting started with Microsoft Edge Workspaces. Feature Updates Passkey Sync for Enterprise Users. Microsoft Edge is introducing support for passkey synchronization for enterprise users, enabling secure, passwordless authentication across devices. Passkeys created in Edge can now be synced seamlessly, improving sign-in experience while maintaining strong security standards. Note: This is a controlled feature rollout. If you don't see this change, check back as we continue the rollout. Enterprise WebView2 runtime downgrade via DowngradeVersion policy. Administrators can temporarily roll back specific applications to a previous WebView2 Evergreen Runtime version (N-1 or N-2) using the new DowngradeVersion policy in msedgewebview2.admx. The Downgrade Version policy allows enterprises to mitigate critical regressions by specifying per-application exe-to-version mappings. The Edge Updater installs the target version side-by-side, and the WebView2 Loader redirects targeted apps accordingly. Downgrades auto-expire with each new WebView2 release: apps pinned to N-1 remain on the same version (now becoming N-2) and will auto-update in the next release, while apps pinned to N-2 will revert to the current Evergreen version. The policy applies only to enterprise-managed devices (domain-joined or MDM-enrolled). For more information, see Microsoft Edge WebView2 Policy Documentation | Microsoft Learn. Collections retirement. Collections has been removed in this update. Users can no longer access or use the feature. To keep saved content, users can export it, or move all pages to Favorites before updating to Microsoft Edge Stable 149. For more information, see Organize your ideas with Collections in Microsoft Edge - Microsoft Support. Modern, unified, and updated Look and Feel. Microsoft Edge has updated the Look and Feel to give customers a unified experience across all of Microsoft AI surfaces including Copilot and Bing. This changes multiple elements of the UX such as spacing, corners, fonts, default colors, etc. Clarify choices surrounding third-party cookie settings. Language under Settings > Privacy, search, and services > Cookies are clarified to better describe the choices users have in managing third-party cookies. Custom primary password retirement. Users are no longer able to create a new custom primary password in Edge Settings edge://settings/autofill/passwords/settings. Any users who are still using a custom primary password will be automatically migrated to device authentication. Additionally, the PrimaryPasswordSetting policy will no longer support the WithCustomPrimaryPassword option. For more information, see Keep your saved passwords private in Microsoft Edge | Microsoft Support. Unifying Copilot Chat policy controls. The Microsoft365CopilotChatIconEnabled policy is the standard for configuring Copilot Chat. Previously, this behavior was controlled by blocking the Copilot extension, either explicitly or by using the * wildcard via the ExtensionSettings or ExtensionInstallBlockList policies. Extension and sidebar policies no longer affect the appearance or functionality of Copilot Chat. Copilot address bar suggestions were also tied to extension policy settings. Starting in Microsoft Edge version 149, admins can use the CopilotAddressBarSuggestionsEnabled policy to manage this behavior. Intune MAM Protected Downloads. The protected downloads feature for Intune MAM is now available for BYOD (Bring Your Own Device) devices, which aren't managed by a tenant. Policy Updates / New policies CopilotAddressBarSuggestionsEnabled - Enable Copilot address bar suggestions CpuPerformanceTierOverride - Override for the CPU performance tier DataUrlInWebWorkerOpaqueOriginEnabled - Enable opaque origins for data URLs in Web Workers DefaultLocalFontsSetting - Default Local Fonts permission setting ForceForegroundPriorityForUrls - Force foreground priority for specific URLs LocalFontsAllowedForUrls - Allow Local Fonts permission on these sites LocalFontsBlockedForUrls - Block Local Fonts permission on these sites Deprecated policies WalletDonationEnabled - Wallet Donation Enabled (deprecated) EdgeWalletEtreeEnabled - Edge Wallet E-Tree Enabled (deprecated) Additional policy changes ForceForegroundPriorityForUrls - ForceForegroundPriorityForOrigins is renamed to ForceForegroundPriorityForUrls OnSecurityEventEnterpriseConnector - Add macOS platform support ProtectedContentIdentifiersAllowed - Remove macOS platform support Download: Microsoft Edge (64-bit) | 193.0 MB (Freeware) Download: Microsoft Edge (32-bit) | 170.0 MB Download: Microsoft Edge (ARM64) | 188.0 MB View: Microsoft Edge Website | Release History Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • User: "But is it good?" Microsoft: "Well, no. But it is less bad."
    • Media Player Classic - Home Cinema 2.7.2 by Razvan Serea Media Player Classic - Home Cinema (MPC-HC) is a free and open-source video and audio player for Windows. MPC-HC is based on the original Guliverkli project (which is no longer maintained) and contains many additional features and bug fixes. As the continuation of the original Media Player Classic, MPC-HC isn’t flashy but it works with nearly any media format. MPC-HC uses DXVA technology to pass decoding operations to your modern video card, enhancing your viewing experience. And MPC-HC supports both physical and software DVDs with menus, chapter navigation, and subtitles. Overview of features A lot of people seem to be unaware of some of the awesome features that have been added to MPC-HC in the past years. Here is a list of useful options and features that everyone should know about: Dark interface Menu > View > Dark Theme When using dark theme it is also possible to change the height of the seekbar and size of the toolbar buttons. Options > Advanced Video preview on the seekbar Options > Tweaks > Show preview on seek bar Adjust playback speed Menu > Play > Playback rate The buttons in the player that control playback rate take a 2x step by default. This can be customized to smaller values (like 10%): Options > Playback > Speed step Adjusting playback speed works best with the internal audio renderer. This also has automatic pitch correction. Options > Playback > Output > Audio Renderer MPC-HC can remember playback position, so you can resume from that point later Options > Player > History You can quickly seek through a video with Ctrl + Mouse Scrollwheel. You can jump to next/previous file in a folder by pressing PageUp/PageDown. You can perform automatic actions at end of file. For example to go to next file or close player. Options > Playback > After Playback (permanent setting) Menu > Play > After Playback (for current file only) A-B repeat - You can loop a segment of a video. Press [ and ] to set start and stop markers. You can rotate/flip/mirror/stretch/zoom the video Menu > View > Pan&Scan This is also easily done with hotkeys (see below). There are lots of keyboard hotkeys and mouse actions to control the player. They can be customized as well. Options > Player > Keys Tip: there is a search box above the table. You can stream videos directly from Youtube and many other video websites You can stream videos directly from Youtube and many other video websites Put yt-dlp.exe or youtube-dl.exe in the MPC-HC installation folder. Then you can open website URLs in the player: Menu > File > Open File/URL You can even download those videos: Menu > File > Save a copy Tip: to be able to download in best quality with yt-dlp/youtube-dl, it is recommended to also put ffmpeg.exe in the MPC-HC folder. Several YDL configuration options are found here: Options > Advanced This includes an option to specify the location of the .exe in case you don't want to put it in MPC-HC folder. Play HDR video This requires using madVR or MPC Video Renderer. After installation these renderers can be selected here: Options > Playback > Output Ability to search for and download subtitles, either automatically or manually (press D): Options > Subtitles > Misc Besides all these (new) features, there have also been many bugfixes and internal improvements in the player in the past years that give better performance and stability. It also has updated internal codecs. Support was added for CUE sheets, WebVTT subtitles, etc. Media Player Classic - Home Cinema 2.7.2 changelog: Updated LAV Filters to version 0.81-23-g6fadb Updated MPC Video Renderer to version 0.10.2.2540 Updated MediaInfo DLL to version 26.05 Updated MPC Audio Renderer Several crash fixes, bug fixes and small improvements. Download: MPC-HC 2.7.2 (x64) | Standalone | ~20.0 MB (Open Source) Download: MPC-HC 2.7.2 (x86) | Standalone Links: MPC-HC Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Very Popular
      s0nic69 earned a badge
      Very Popular
    • Collaborator
      Asgardi earned a badge
      Collaborator
    • Conversation Starter
      mobandz earned a badge
      Conversation Starter
    • Apprentice
      fernan99 went up a rank
      Apprentice
    • One Month Later
      nothanks earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      471
    2. 2
      PsYcHoKiLLa
      247
    3. 3
      Skyfrog
      79
    4. 4
      FloatingFatMan
      67
    5. 5
      Michael Scrip
      60
  • Tell a friend

    Love Neowin? Tell a friend!