public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Jones <chrisjones@spin.net.au>
To: linux-kernel@vger.kernel.org
Cc: Cruz Julian Bishop <cruzjbishop@gmail.com>
Subject: Re: Gaming and the kernel
Date: Sat, 04 Aug 2012 10:25:03 +1000	[thread overview]
Message-ID: <501C6BDF.9090803@spin.net.au> (raw)
In-Reply-To: <501C545C.40601@gmail.com>

On 04/08/12 08:44, Cruz Julian Bishop wrote:
> On 04/08/12 08:12, Chris Jones wrote:
>> There's a lot of attention at the moment focused toward Linux and the 
>> future of gaming support on the platform. And it got me thinking, is 
>> there any particular improvements that are planned to improve the 
>> kernel from better support for gaming?
>>
>>
>> Regards
>>
> Hi Chris,
>
> The biggest problem I can see at the moment is supporting dual-GPU 
> setups in unusual ways.
>
> For example, NVIDIA Optimus uses an Intel Core i* processor and 
> integrated Intel 3/4000 graphics,
> but also has a NVIDIA GeForge GT *M graphics card. However, this card 
> cannot be accessed
> directly, and all instructions effectively pass through the Intel 
> graphics system.
>
> I'm not entirely sure how that works, but it's what I've managed to 
> gather from some tinkering.
> It's being worked on at the moment (RandR 1.(5? 6? 7?) and DMA-BUF 
> PRIME) - Which is good,
> since the majority of laptops that I have seen being sold in my area 
> either use NVIDIA
> Optimus or some other similar system if they cost under $1000 or so.
>
> Until these are implemented, there is no way for the kernel to access 
> the dedicated graphics
> card on these systems. There is, however, a project (Bumblebee) that 
> seems to be doing
> a good job performance-wise, but doesn't support automatic switching 
> to the dedicated
> graphics card.
>
>
>
> On another note, not kernel based, Wine has actually managed to run
> Grand Theft Auto: San Andreas faster on Ubuntu 12.04 than the default 
> Windows 7
> installation on this laptop. Valve has also committed to developing 
> games on Linux
> (starting with Ubuntu) with frame rates that, so far, have been higher 
> than on Windows.
>
> I guess we'll just have to wait and see what happens. There are a 
> couple of things (some
> of which are major, but thankfully not impossible)

It just seems to me that Valve is pressing ahead with games for Linux 
and no doubt there will be another influx of games and companies to 
follow not far behind if Valve make it a running success. And good luck 
to them. But on the other hand, it seems that kernel development is not 
quite up to scratch yet when it comes to full support for hardware 
graphics. And bring drivers in to the mix. Albeit, I do understand that 
graphics drivers should be handled and worked on by AMD and NVIDIA etc.

It's hard to describe what I mean. Basically, to the outside world via 
media, it is presented as "Valve is taking gaming to Linux. Wow, Linux 
is now capable of gaming!" That's all fine and everything. But we need 
to ensure that the kernel and all other aspects of code under our 
control is up to the task of handling a massive dump of games for Linux. 
Otherwise, it's going to backfire on us and Linux overall. It's moving 
very quickly.


Regards

-- 
         Chris Jones @ kernel.devproject@gmail.com
also on oracle.kerneldev@gmail.com and netbsd.kerneldev@gmail.com

Ubuntu 12.04 (PC)|Android (Smartphone)|Windows 7 (Laptop)|Windows XP (Gaming)
Linux kernel developer|Solaris kernel developer|BSD kernel developer|Lead Developer of SDL|Lead Developer of Nest Linux|Gamer and Emulator nut|Web Services|Digital Imaging Services
Controllers: Rapier V2 Gaming mouse|Logitech Precision|PS3 controller|XB360 controller|Logitech Attack 3 j/stick
Emulators: Fusion|Gens|ZSNES|Project64|PCSX-R|Stella|WinVICE|WinUAE|DOSBox


  parent reply	other threads:[~2012-08-04  0:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03 22:12 Gaming and the kernel Chris Jones
2012-08-03 22:46 ` Cruz Julian Bishop
     [not found] ` <501C545C.40601@gmail.com>
2012-08-04  0:25   ` Chris Jones [this message]
2012-08-04  0:32     ` david
2012-08-04  0:51       ` Chris Jones
2012-08-04  4:12         ` valdis.kletnieks
2012-08-04  4:49           ` Mike Galbraith
2012-08-04  5:38             ` Mike Galbraith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501C6BDF.9090803@spin.net.au \
    --to=chrisjones@spin.net.au \
    --cc=cruzjbishop@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox