Web lists-archives.com

No more Screen Rotation in Debian 9.5




After upgrading from Jessie to Stretch (stable), i can no longer rotate the screen from landscape to portrait. The same happens after a fresh install of 9.5 onto an empty disc.

I use an nvidia GeForce 9500 graphics adapter.

After changing the display orientation settings in the system settings, the mouse cursor moves vice versa, but the graphics output doesn't rotate, and key strokes and mouse clicks no longer show effect.

After hardware reset, I can no longer log on to the system. A log on screen appears, but the keyboard doesn't work.


With Jessie, rotation worked fine.


Linux version 4.9.0-7-amd64 (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.110-1 (2018-07-05)


Apperently, there is a difference in the "nouveau"-section of dmesg:


Stretch:

[ 8.602238] nouveau 0000:01:00.0: bios: M0203T not found
[ 8.602240] nouveau 0000:01:00.0: bios: M0203E not matched!
[ 8.602242] nouveau 0000:01:00.0: fb: 1024 MiB DDR2
[ 8.689095] [TTM] Zone kernel: Available graphics memory: 2024744 kiB
[ 8.689096] [TTM] Initializing pool allocator
[ 8.689101] [TTM] Initializing DMA pool allocator
[ 8.689122] nouveau 0000:01:00.0: DRM: VRAM: 1024 MiB
[ 8.689124] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[ 8.689127] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[ 8.689129] nouveau 0000:01:00.0: DRM: DCB version 4.0
[ 8.689131] nouveau 0000:01:00.0: DRM: DCB outp 00: 02000300 00000028
[ 8.689133] nouveau 0000:01:00.0: DRM: DCB outp 01: 04000302 00020030
[ 8.689134] nouveau 0000:01:00.0: DRM: DCB outp 02: 04011310 00000028
[ 8.689136] nouveau 0000:01:00.0: DRM: DCB outp 03: 02022332 00c200a0
[ 8.689138] nouveau 0000:01:00.0: DRM: DCB conn 00: 01000030
[ 8.689139] nouveau 0000:01:00.0: DRM: DCB conn 01: 00000100
[ 8.689140] nouveau 0000:01:00.0: DRM: DCB conn 02: 00020261
[ 8.696513] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 8.696514] [drm] Driver supports precise vblank timestamp query.
[ 8.957486] nouveau 0000:01:00.0: DRM: MM: using CRYPT for buffer copies
[ 9.027455] nouveau 0000:01:00.0: DRM: allocated 1280x1024 fb: 0x70000, bo ffff8b32d5599400
[ 9.027528] fbcon: nouveaufb (fb0) is primary device
[ 9.148754] Console: switching to colour frame buffer device 160x64
[ 9.150350] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[ 9.164019] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0

Jessie:

[    7.909231] nouveau  [ DEVICE][0000:01:00.0] BOOT0  : 0x096000c1
[    7.909235] nouveau  [  DEVICE][0000:01:00.0] Chipset: G96 (NV96)
[    7.909237] nouveau  [  DEVICE][0000:01:00.0] Family : NV50
[    7.909266] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[    7.957606] nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
[    7.957609] nouveau  [   VBIOS][0000:01:00.0] using image from PRAMIN
[    7.957699] nouveau  [   VBIOS][0000:01:00.0] BIT signature found
[    7.957702] nouveau  [   VBIOS][0000:01:00.0] version 62.94.3c.00.00
[    7.981298] nouveau 0000:01:00.0: irq 47 for MSI/MSI-X
[    7.981310] nouveau  [     PMC][0000:01:00.0] MSI interrupts enabled
[    7.982008] nouveau  [     PFB][0000:01:00.0] RAM type: DDR2
[    7.982011] nouveau  [     PFB][0000:01:00.0] RAM size: 1024 MiB
[    7.982013] nouveau  [     PFB][0000:01:00.0]    ZCOMP: 2048 tags

[    8.058036] nouveau  [ PTHERM][0000:01:00.0] FAN control: PWM
[    8.058058] nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
[    8.058090] nouveau  [  PTHERM][0000:01:00.0] internal sensor: yes
[    8.058126] nouveau  [     CLK][0000:01:00.0] 0f: core 550 MHz shader 1400 MHz memory 400 MHz [    8.058161] nouveau  [     CLK][0000:01:00.0] --: core 400 MHz shader 800 MHz memory 399 MHz
[    8.058855] [TTM] Zone  kernel: Available graphics memory: 2028674 kiB
[    8.058857] [TTM] Initializing pool allocator
[    8.058862] [TTM] Initializing DMA pool allocator
[    8.058879] nouveau  [     DRM] VRAM: 1024 MiB
[    8.058880] nouveau  [     DRM] GART: 1048576 MiB
[    8.058884] nouveau  [     DRM] TMDS table version 2.0
[    8.058886] nouveau  [     DRM] DCB version 4.0
[    8.058888] nouveau  [     DRM] DCB outp 00: 02000300 00000028
[    8.058890] nouveau  [     DRM] DCB outp 01: 04000302 00020030
[    8.058892] nouveau  [     DRM] DCB outp 02: 04011310 00000028
[    8.058894] nouveau  [     DRM] DCB outp 03: 02022332 00c200a0
[    8.058896] nouveau  [     DRM] DCB conn 00: 01000030
[    8.058898] nouveau  [     DRM] DCB conn 01: 00000100
[    8.058900] nouveau  [     DRM] DCB conn 02: 00020261
[    8.068476] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    8.068478] [drm] Driver supports precise vblank timestamp query.
[    8.071259] iTCO_vendor_support: vendor-support=0
[    8.071696] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    8.071725] iTCO_wdt: Found a ICH10 TCO device (Version=2, TCOBASE=0x0460)
[    8.073025] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    8.143448] EXT4-fs (sdf10): re-mounted. Opts: errors=remount-ro
[    8.251927] systemd-journald[177]: Received request to flush runtime journal from PID 1
[    8.327282] nouveau  [     DRM] MM: using CRYPT for buffer copies
[    8.404047] nouveau  [     DRM] allocated 1280x1024 fb: 0x70000, bo ffff88003689a000
[    8.404254] fbcon: nouveaufb (fb0) is primary device
[    8.404315] RPC: Registered named UNIX socket transport module.
[    8.404315] RPC: Registered udp transport module.
[    8.404316] RPC: Registered tcp transport module.
[    8.404316] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.407038] FS-Cache: Loaded
[    8.414014] FS-Cache: Netfs 'nfs' registered for caching
[    8.422148] Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
[    8.473417] Console: switching to colour frame buffer device 160x64
[    8.474887] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    8.474889] nouveau 0000:01:00.0: registered panic notifier
[    8.488028] [drm] Initialized nouveau 1.1.2 20120801 for 0000:01:00.0 on minor 0