Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 12357 ideas, 58479 comments, 1187050 votes

Idea #11037: Avoid useless reboots with driver installs



up
131
down
Written by markg85 the 11 Jul 08 at 18:08. Category: Hardware support.
Related to: Nothing/Others. Status: New
Description
Hey,

Why do i need to restart my pc to get the nvidia driver working?

insmod nvidia and a X restart should be enough right!

So with that knowledge again: Why do i need a restart?
It's not modifying the base kernel which is about the only thing that requires a restart on linux and you can only get it that far if you install a new kernel or compile a new one.

My suggestion:
Kick out the restart demand and just restart X.

Edit//
If you vote this idea down tell me why because i can't think of a reason where a reboot would be better then my suggestion.
Tags: (none)

Attachments


Duplicates


Comments
Eldmannen wrote on the 11 Jul 08 at 19:02
I agree.
Ubuntu is not Windows. We should not need to restart.

tomplast2 wrote on the 11 Jul 08 at 20:54
Only when the kernel has been upgraded a reboot is necessary. +1

Auzy wrote on the 12 Jul 08 at 10:21
Actually, even windows doesn't need to restart anymore (Vista SP1 has lots of mechanisms in place that greatly reduce the need, and even allow patches to be inserted into the running kernel).

So we are behind, because I don't think we can swap video card drivers whilst still in X (windows can)


+1

christopher_lees wrote on the 12 Jul 08 at 10:51
Have you tried installing a new graphics card driver and then just restarting X?

I did, and it didn't work (continuous X crashes).

Who cares if you need to restart in this instance? A graphics card driver is something you only rarely install, and never install onto a high-uptime server.

Auzy wrote on the 12 Jul 08 at 11:03
Who cares about flashy graphics. We should be avoiding restarts, at ALL costs if possible.

Auzy wrote on the 12 Jul 08 at 12:16
(btw, for those who didn't catch that, I was basically referring to how compiz is mostly being used for appearence, rather then usability reasons these days for instance). My point is, just because we can work around something, doesn't mean we should.

Vadim P. wrote on the 12 Jul 08 at 13:13
If you know that, then feel free to log out and that's it.

However the difference between rebooting, and logging out after updated would be confusing to some updates. There's no issue in rebooting after a few updates.

Eldmannen wrote on the 12 Jul 08 at 14:18
- Who cares if you need to restart in this instance? A graphics card driver is something you only rarely install, and never install onto a high-uptime server.

christopher_lees,
We shouldn't be behind Windows. We should be ahead.

Vadim P. wrote on the 12 Jul 08 at 15:05
You already are, you don't need to reboot after every upgrade or an installation of a program. This is good enough.

Eldmannen wrote on the 12 Jul 08 at 18:07
Vadim P,
In Windows you don't have to reboot after every upgrade or installation of program either. It is true however that XP needs to reboot much more often than Ubuntu.
But supposedly Vista is better when it comes to this.

Vadim P. wrote on the 12 Jul 08 at 20:56
Well great, so we're all good then. Vista's individual qualities don't matter much when the OS is suffering from bad publicity and adoption.

cyphax wrote on the 14 Jul 08 at 11:45
Actually, I don't care whether the whole system needs to reboot, or just X. I lose all my opened programs in either case, I wish THAT were changed so that X can reinitialize without closing all open programs (IM, browser, email). Starting all those back up costs more time than a simple reboot. So just allowing for X to restart doesn't add too much and doesn't make it convenient as far as I'm concerned, only slightly less inconvenient.

MighMoS wrote on the 18 Jul 08 at 23:13
Logging out and back in is much quicker than turning everything off and reloading it all. Also, everything is still in your RAM cached (if you have enough), so while you do loose your open files, you get back in VERY quickly.

"You need to restart your session" should be another option to restarting your computer.

Auzy wrote on the 19 Jul 08 at 01:37
I wouldn't say vista is suffering from adoption problems that much vadim (don't believe everything you read in digg, it may be suffering with the technical geek crowd, but most of the planet is not geek, and I honestly know more people using it full time, then ubuntu unfortunately).


But even adoption issues should be irrelevent. We should be competing with other OS's on all features, no matter how popular they are.

Because at the end of the day, if they can do it, we should be able to too. And if Microsoft markets Windows 7 right, they could market it as "not needing reboots", etc.

notyetroot wrote on the 15 Aug 08 at 20:06
Kexec() reboot/KSplice?

Auzy wrote on the 16 Aug 08 at 00:16
ksplice only works for very minor patches notyetroot (although, vista has that built in now), which only affect the code, but doesn't change the data structures (stuff like security patches).


Kexec would help, but not fix the problem fully. Our main problem is that, I might be wrong, but X11 I think still needs to be restarted to change drivers (anything else can be inserted into the kernel without a restart). Windows doesn't at this time, so we need to get on top of this. That will also allow users to test the drivers for 10secs, before rebooting X, and discovering they cant get back in


Post your comment