[Bug 1870736] Re: [nvidia] Screen scaling 125% gives 200%

2020-05-05 Thread James Joseph
Also affected by this bug, running vanilla 20.04 with Nvidia standard
drivers

Nvidia version: 440.64


When turning on fractional scaling it defaults to 200% and zooms in on the 
screen and I can't change it down to 125% or 150% at all.

My work around for now is just to use 1440p rather then 4k resolution.
Would be great to have this fixed in the future but it's not massively
impairing me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870736

Title:
  [nvidia] Screen scaling 125% gives 200%

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1870736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1443776] [NEW] nvidia-331-uvm 331.113-0ubuntu0.0.4: nvidia-331-uvm kernel module failed to build. Get a error message on login and randomly when using laptop.

2015-04-13 Thread James Joseph
Public bug reported:

It's probably happened since the update but ever since the update I've
gotten an error message that will ask to report the problem or cancel.
This happens without fail on every log in,   It also happens randomly at
times when doing things.


1)OS: 
Description:Ubuntu 14.04.2 LTS
Release:14.04


2)Nvidia package:  
nvidia-331-uvm:
  Installed: 331.113-0ubuntu0.0.4
  Candidate: 331.113-0ubuntu0.0.4
  Version table:
 *** 331.113-0ubuntu0.0.4 0
500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/restricted 
amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 
Packages
100 /var/lib/dpkg/status
 331.38-0ubuntu7 0
500 http://gb.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 
Packages

3) Expected to log in without error messages
4) Log in with error messages asking me to send a report.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-331-uvm 331.113-0ubuntu0.0.4
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: amd64
DKMSBuildLog:
 DKMS make.log for nvidia-331-uvm-331.113 for kernel 3.13.0-49-generic (x86_64)
 Fri Apr 10 07:19:52 BST 2015
 Makefile:216: /var/lib/dkms/nvidia-331/331.113/build/nvidia-modules-common.mk: 
No such file or directory
 make: *** No rule to make target 
`/var/lib/dkms/nvidia-331/331.113/build/nvidia-modules-common.mk'. Stop.
DKMSKernelVersion: 3.13.0-49-generic
Date: Fri Apr 10 07:20:04 2015
InstallationDate: Installed on 2014-04-21 (357 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageVersion: 331.113-0ubuntu0.0.4
SourcePackage: nvidia-graphics-drivers-331
Title: nvidia-331-uvm 331.113-0ubuntu0.0.4: nvidia-331-uvm kernel module failed 
to build
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nvidia-graphics-drivers-331 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package third-party-packages trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443776

Title:
  nvidia-331-uvm 331.113-0ubuntu0.0.4: nvidia-331-uvm kernel module
  failed to build.  Get a error message on login and randomly when using
  laptop.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1443776/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 312756] Re: MASTER: support graphics card hot switch

2011-02-10 Thread James Joseph
I'm using a Dell XPS 17  Just trying to get even the intergrated
graphics card is a mission and a half if there's anything I can do to
help get it sorted so that it works for everyone let me know, here's my
attached dsl file and

Using Ubuntu 10.10 Maverick

2.6.35-25-generic-pae #44-Ubuntu SMP Fri Jan 21 19:01:46 UTC 2011 i686
GNU/Linux


lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor 
Integrated Graphics Controller [8086:0046] (rev 18) (prog-if 00 [VGA 
controller])
02:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0dd3] 
(rev a1) (prog-if 00 [VGA controller])

I posted in the mailing list my results which can be seen there, lets
see if we can get this sorted!

** Attachment added: "dsl file"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/312756/+attachment/1842664/+files/DSDT.dsl

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/312756

Title:
  MASTER: support graphics card hot switch

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 2063322] [NEW] ite-cir driver failed to load due to a regression in linux kernel 6.5+ serial driver change

2024-04-24 Thread James Joseph
Public bug reported:

[Impact]

From Kernel 6.5 and above, the serial driver now claims multiple UART
ports by default, when the previous behaviour was it would only claim 1.
Due to this the ite-cir driver can no longer load because the port it
would assign itself is now being used in memory by the 16550/8250
driver.  We have found a workaround by disabling the serial driver from
consuming more than 1 port.  Below is the steps we went to troubleshoot,
investigate and the solution we’ve found.  This is a regression from 6.4
behaviour.

When installing 24.04 I noticed that the /dev/lirc0 device was not
loaded on the system which is what is created when the driver is loaded.
After reviewing the driver we use on 20.04 I then searched the kernel
logs and found that the ite-cir driver failed to load due to error -16.

```
2024-04-19T13:44:51.873060+00:00 host kernel: rc rc0: ITE8708 CIR transceiver 
as /devices/pnp0/00:03/rc/rc0
2024-04-19T13:44:51.873062+00:00 host kernel: rc rc0: lirc_dev: driver ite-cir 
registered at minor = 0, raw IR receiver, raw IR transmitter
2024-04-19T13:44:51.873070+00:00 host kernel: input: ITE8708 CIR transceiver as 
/devices/pnp0/00:03/rc/rc0/input6
2024-04-19T13:44:51.873072+00:00 host kernel: i2c i2c-2: 2/2 memory slots 
populated (from DMI)
2024-04-19T13:44:51.873076+00:00 host kernel: i2c i2c-2: Successfully 
instantiated SPD at 0x50
2024-04-19T13:44:51.873078+00:00 host kernel: ite-cir: probe of 00:03 failed 
with error -16
```

I reviewed kernel error message and this error is due to the
device/resource is busy or in use.  My colleague and I reviewed the ite-
cir driver source code and noticed the driver initialisation succeeds up
until L1404
https://github.com/torvalds/linux/blob/master/drivers/media/rc/ite-
cir.c#L1404 where it attempts to request_region, if it fails to do this
it will unregister the device.

The request region allocates a place in memory for the device to use, we
believe it’s using the ioport.h’s request region function
https://github.com/torvalds/linux/blob/master/include/linux/ioport.h#L278

When we added some debug lines to ite-cir we noticed that the memory
reference it is trying to allocate is 02f8-02ff. We checked the ioports
on 24.04 and noticed that the serial driver was taking up this reference
in memory when in 20.04 (The OS we currently use) and 23.04 it would
not.

Ubuntu 24.04 ioports

```
user@host:~$ sudo cat /proc/ioports
-0cf7 : PCI Bus :00
  02f8-02ff : serial
  03f8-03ff : serial
```

Ubuntu 20.04 ioports memory allocation

```
user@host:~$ sudo cat /proc/ioports
-0cf7 : PCI Bus :00
  02f8-02ff : ite-cir
  03f8-03ff : serial
```

When we investigated any changes that might cause this, we came with two
potential commits that were released in 6.5 that might have caused this
issue:

* 
https://github.com/torvalds/linux/commit/9d86719f8769244dc99b8cb6091c41eae3fd684f
* 
https://github.com/torvalds/linux/commit/84a9582fd203063cd4d301204971ff2cd8327f1a

The serial changes allow 16550/8250 driver to consume as many serial
ports as they require initializing the driver, originally they only used
1.  Due to this we noticed that when we checked the serial ports in use
by the device that 8250 was consuming the place in memory that ite-cir
should.

Ubuntu 24.04

```
user@host:~$ sudo setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 8250, Port: 0x02f8, IRQ: 3
```

Ubuntu 20.04

```
user@host:~$ sudo setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
```
[Regression]
We believe that the regression started from 6.5 kernel onwards based on the 
commit changes that were done to the serial driver that shipped to those 
kernels.  23.04 that uses 6.2 works as expected and shows no issues with using 
the serial port for IR while 23.10 that uses 6.5 and 24.04 that uses 6.8 does 
not load the ite-cir driver.

[Reproducible steps]

* Use Ubuntu 23.10 + or use Kernel 6.5+
* Use IR hardware that requires the ite-cir driver to be loaded
* Attempt to load ite-cir driver on boot of OS
* Check /var/log/kern.log for ite-cir driver failure

[Fix]

The requested solution would be to either:

* Set the serial driver to no longer consume more than 1 serial port
* Have the serial driver check what memory reference ite-cir driver needs to 
load, ignore that reference and then consume another point in memory instead.

We have found a workaround where we set the /etc/default/grub config to
make the 8250 use only 1 UART port, this allows ite-cir to consume the
port in memory like it use to, enabling us to use the driver again

/etc/default/grub

```
GRUB_CMDLINE_LINUX_DEFAULT="8250.nr_uarts=1"
```
The alternative fix is to have a startup script that will remove 8250 from 
using /dev/ttyS1 and then remove and re-add the ite-cir driver

```
#!/bin/bash

setserial /dev/ttyS1 uart none
modprobe -r ite-cir

```

[Diagnostic information]

version

```
Linux vers

[Bug 2063322] Re: ite-cir driver failed to load due to a regression in linux kernel 6.5+ serial driver change

2024-04-26 Thread James Joseph
** Tags added: noble

** Tags added: mantic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063322

Title:
  ite-cir driver failed to load due to a regression in linux kernel 6.5+
  serial driver change

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063322/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063322] Re: ite-cir driver failed to load due to a regression in linux kernel 6.5+ serial driver change

2024-05-16 Thread James Joseph
Added kernel package team to review the bug as there hasn't been any
visibility from this yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063322

Title:
  ite-cir driver failed to load due to a regression in linux kernel 6.5+
  serial driver change

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063322/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2085347] Re: Xrdp and xorgxrdp have been compiled at different versions in Oracular

2025-03-09 Thread James Joseph Wartell
I created a file at:

/etc/apt/sources.list.d/noble.sources.list

with the contents:


deb http://ports.ubuntu.com/ubuntu-ports noble main restricted universe 
multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe 
multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted 
universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted 
universe multiverse

Then ran:

sudo apt-get update
sudo apt-get install xrdp=0.9.24-4
sudo apt-get install xorgxrdp=1:0.9.19-1
sudo rm /etc/apt/sources.list.d/noble.sources.list 

I don't know why people have to make others muddle through the details.
Hopefully this saves someone some time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085347

Title:
  Xrdp and xorgxrdp have been compiled at different versions in Oracular

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xrdp/+bug/2085347/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs