lp://staging/ubuntu/precise-updates/nvidia-prime
- Get this branch:
- bzr branch lp://staging/ubuntu/precise-updates/nvidia-prime
Branch merges
Related bugs
Bug #1259237: Hybrid graphics enablement in 12.04.4 | Medium | In Progress | |
Bug #1262068: nvidia-prime should support gdm also | Medium | Triaged |
Related blueprints
Branch information
Recent revisions
- 5. By Alberto Milone
-
[ Daniel Dadap ]
* prime-xconfig:
- Format the BusID string correctly (LP: #1282796).
The BusID string created by prime-xconfig had several problems:
1) It was missing the bus type "PCI", as recommended by
xorg.conf( 5).
2) Values were written in hexadecimal, as reported by lspci,
instead of decimal, as expected by the server. (See the
comment at the top of xf86ParsePciBusString( ).)
3) The PCI domain was not specified.
Giving the BusID string in the wrong format could cause the X
server to fail to parse the BusID, or to parse numbers in the
wrong base. On systems with more than one PCI domain, `lspci -n`
output would include the domain number, which is omitted by
default on systems with only one PCI domain. nv_get_id()
expects the bus number to be the first field, which would not be
correct when `lspci -n` reports the domain, as it does on
systems with multiple domains.
Fix these issues by always reporting the domain with `lspci -Dn`
and using it in the BusID string, prepending "PCI:" to the
BusID string, and printing all numeric values in decimal. - 4. By Alberto Milone
-
* debian/control:
- Add alternative dependency on gdm and kdm.
* debian/preinst.in:
- Set the lightdm configuration bits only if lightdm is the
default display manager (LP: #1262068).
* debian/postrm.in, debian/rules:
- Avoid calling dpkg-architecture (LP: #1264611).
* prime-xconfig:
- Format hexadecimal parameters properly (LP: #1252667). - 3. By Alberto Milone
-
* New upstream release:
- Add support for power management (LP: #1259237).
* debian/control:
- Depend on upstart, bbswitch, lsb-release, lightdm >= 1.2.3-0ubuntu2.4,
screen-resolution- extra (>= 0.14ubuntu2.1).
- Build only for i386 and amd64. - 2. By Alberto Milone
-
* debian/preinst.in:
- Remove leftover in the test condition. This was
causing the lightdm.conf file to be rewritten
every time. This is a serious problem on the
different Ubuntu flavours (LP: #1224098).
* debian/postinst.in:
- Apparently the printf command treats string values
with leading zeros as octal. Work around this by
removing any leading zeros (LP: #1219650).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/ubuntu/saucy/nvidia-prime