Browse Source

Add detect video driver by cmdline param.

develop
Mike Hiretsky 11 years ago
parent
commit
902e98577f
  1. 3
      pym/cl_fill.py

3
pym/cl_fill.py

@ -446,6 +446,9 @@ class fillVars(varsShare):
os.listdir(xorg_modules_dir)))
else:
list_avialable_drivers = []
videoVal = self.getValueFromCmdLine("calculate",4)
if videoVal in list_avialable_drivers + ["auto"]:
return videoVal
if display and list_avialable_drivers:
reDriver = re.compile('|'.join(map(lambda x: "%s_drv.so"%x,
list_avialable_drivers)))

Loading…
Cancel
Save