Opened 13 years ago
Closed 2 years ago
#8395 closed enhancement (fixed)
Automatic Vesa graphics fallback
Reported by: | jonas.kirilla | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Drivers/Graphics | Version: | R1/Development |
Keywords: | Cc: | waddlesplash | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Have a graphics driver realize (before crashing) that it has failed setting up the hardware, have it abort and fall back to vesa, letting the vesa driver have a shot.
Is it possible and worthwhile?
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 11 years ago
Actually, if the accelerant fails to load (even returning cleanly), the app_server crashes. (the radeon_hd accelerant did this if I returned on an error)
comment:3 by , 4 years ago
Milestone: | R1 → Unscheduled |
---|
comment:5 by , 2 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Yes. Problems with fallback are now with individual drivers and not app_server. At least radeon_hd falls back correctly in some cases.
Note:
See TracTickets
for help on using tickets.
Depends on what you mean by "before crashing". Generally the drivers already do error check initialization and don't publish a node in /dev/graphics if they fail, (as a result of which the vesa driver will obviously be selected). If you mean the scenario where they crash the app_server, then I don't realistically see how, since most of the time those forms of crashes are just a case of the same pointer/memory errors that result in every day app segfaults, which aren't realistically detectable in all cases, and should simply be fixed in the driver in question.
The other scenario is where things lock up while doing the initialization, which is also often not really detectable/avoidable if it's a consequence of the graphics hardware itself corrupting something rather than a fault in the driver, except by determining that's the issue and blacklisting or doing a quirks workaround for that piece of hardware after the fact, as is already done in various cases (not just graphics).